changeset 10277:17c6d5eab25d stable

templates: do not add "ago" twice After 1d75c683ada1, "ago" is added by the ago template filter.
author Martin Geisler <mg@lazybytes.net>
date Sat, 23 Jan 2010 16:54:53 +0100
parents 3a1f29b63b9f
children 6134adc1c431 1c4ab236ebcb
files templates/coal/map templates/gitweb/graph.tmpl templates/monoblue/graph.tmpl templates/paper/graph.tmpl templates/spartan/graph.tmpl templates/spartan/map tests/test-hgweb-commands.out tests/test-hgweb-empty.out
diffstat 8 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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}">&nbsp;&darr;{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) {