templates: do not add "ago" twice
After 1d75c683ada1, "ago" is added by the ago template filter.
--- a/templates/coal/map Fri Jan 22 17:13:55 2010 +0100
+++ b/templates/coal/map Sat Jan 23 16:54:53 2010 +0100
@@ -176,7 +176,7 @@
<td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|age} ago</td>
+ <td class="age">{lastchange|age}</td>
<td class="indexlinks">{archives%indexarchiveentry}</td>
</tr>\n'
indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>'
--- a/templates/gitweb/graph.tmpl Fri Jan 22 17:13:55 2010 +0100
+++ b/templates/gitweb/graph.tmpl Sat Jan 23 16:54:53 2010 +0100
@@ -63,7 +63,7 @@
var revlink = '<li style="_STYLE"><span class="desc">';
revlink += '<a class="list" href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID"><b>_DESC</b></a>';
revlink += '</span> _TAGS';
-revlink += '<span class="info">_DATE ago, by _USER</span></li>';
+revlink += '<span class="info">_DATE, by _USER</span></li>';
graph.vertex = function(x, y, color, parity, cur) {
--- a/templates/monoblue/graph.tmpl Fri Jan 22 17:13:55 2010 +0100
+++ b/templates/monoblue/graph.tmpl Sat Jan 23 16:54:53 2010 +0100
@@ -60,7 +60,7 @@
var revlink = '<li style="_STYLE"><span class="desc">';
revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
- revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
+ revlink += '</span>_TAGS<span class="info">_DATE, by _USER</span></li>';
graph.vertex = function(x, y, color, parity, cur) {
--- a/templates/paper/graph.tmpl Fri Jan 22 17:13:55 2010 +0100
+++ b/templates/paper/graph.tmpl Sat Jan 23 16:54:53 2010 +0100
@@ -71,7 +71,7 @@
var revlink = '<li style="_STYLE"><span class="desc">';
revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
-revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
+revlink += '</span>_TAGS<span class="info">_DATE, by _USER</span></li>';
graph.vertex = function(x, y, color, parity, cur) {
--- a/templates/spartan/graph.tmpl Fri Jan 22 17:13:55 2010 +0100
+++ b/templates/spartan/graph.tmpl Sat Jan 23 16:54:53 2010 +0100
@@ -55,7 +55,7 @@
var revlink = '<li style="_STYLE"><span class="desc">';
revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
-revlink += '</span><span class="info">_DATE ago, by _USER</span></li>';
+revlink += '</span><span class="info">_DATE, by _USER</span></li>';
graph.vertex = function(x, y, color, parity, cur) {
--- a/templates/spartan/map Fri Jan 22 17:13:55 2010 +0100
+++ b/templates/spartan/map Sat Jan 23 16:54:53 2010 +0100
@@ -163,7 +163,7 @@
<td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|age} ago</td>
+ <td class="age">{lastchange|age}</td>
<td class="indexlinks">
<a href="{url}rss-log">RSS</a>
<a href="{url}atom-log">Atom</a>
--- a/tests/test-hgweb-commands.out Fri Jan 22 17:13:55 2010 +0100
+++ b/tests/test-hgweb-commands.out Sat Jan 23 16:54:53 2010 +0100
@@ -781,7 +781,7 @@
var revlink = '<li style="_STYLE"><span class="desc">';
revlink += '<a class="list" href="/rev/_NODEID?style=gitweb" title="_NODEID"><b>_DESC</b></a>';
revlink += '</span> _TAGS';
-revlink += '<span class="info">_DATE ago, by _USER</span></li>';
+revlink += '<span class="info">_DATE, by _USER</span></li>';
graph.vertex = function(x, y, color, parity, cur) {
--- a/tests/test-hgweb-empty.out Fri Jan 22 17:13:55 2010 +0100
+++ b/tests/test-hgweb-empty.out Sat Jan 23 16:54:53 2010 +0100
@@ -217,7 +217,7 @@
var revlink = '<li style="_STYLE"><span class="desc">';
revlink += '<a href="/rev/_NODEID" title="_NODEID">_DESC</a>';
-revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
+revlink += '</span>_TAGS<span class="info">_DATE, by _USER</span></li>';
graph.vertex = function(x, y, color, parity, cur) {