# HG changeset patch # User Denis Laxalde # Date 1493023687 -7200 # Node ID 1cf0b651fa70f9f373f697b5766663338e87ef76 # Parent a298f5c61b34237579205d9ece9855e998446ab6 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". diff -r a298f5c61b34 -r 1cf0b651fa70 mercurial/templates/static/followlines.js --- 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); }