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".
--- 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);
}