# HG changeset patch # User Denis Laxalde # Date 2017-04-24 08:48:07 # 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 --git a/mercurial/templates/static/followlines.js b/mercurial/templates/static/followlines.js --- a/mercurial/templates/static/followlines.js +++ b/mercurial/templates/static/followlines.js @@ -213,7 +213,7 @@ document.addEventListener('DOMContentLoa 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 @@ document.addEventListener('DOMContentLoa // link to "descending" followlines var aDesc = document.createElement('a'); aDesc.setAttribute('href', url + '&descend='); - aDesc.textContent = 'descending'; + aDesc.textContent = 'newer'; aDiv.appendChild(aDesc); }