changeset 32071:1cf0b651fa70 stable

hgweb: change text of followlines links to "older / newer" DAG directions "descending" / "ascending" arguably do not make much sense in the web interface where changes are usually listed by "dates".
author Denis Laxalde <denis.laxalde@logilab.fr>
date Mon, 24 Apr 2017 10:48:07 +0200
parents a298f5c61b34
children 05cdd5678c6b
files mercurial/templates/static/followlines.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/static/followlines.js	Mon Apr 24 10:32:15 2017 +0200
+++ b/mercurial/templates/static/followlines.js	Mon Apr 24 10:48:07 2017 +0200
@@ -213,7 +213,7 @@
         var aAsc = document.createElement('a');
         var url = targetUri + '?patch=&linerange=' + fromline + ':' + toline;
         aAsc.setAttribute('href', url);
-        aAsc.textContent = 'ascending';
+        aAsc.textContent = 'older';
         aDiv.appendChild(aAsc);
 
         if (!isHead) {
@@ -222,7 +222,7 @@
             //     link to "descending" followlines
             var aDesc = document.createElement('a');
             aDesc.setAttribute('href', url + '&descend=');
-            aDesc.textContent = 'descending';
+            aDesc.textContent = 'newer';
             aDiv.appendChild(aDesc);
         }