##// END OF EJS Templates
hgweb: change text of followlines links to "older / newer"...
Denis Laxalde -
r32071:1cf0b651 stable
parent child Browse files
Show More
@@ -213,7 +213,7 b" document.addEventListener('DOMContentLoa"
213 var aAsc = document.createElement('a');
213 var aAsc = document.createElement('a');
214 var url = targetUri + '?patch=&linerange=' + fromline + ':' + toline;
214 var url = targetUri + '?patch=&linerange=' + fromline + ':' + toline;
215 aAsc.setAttribute('href', url);
215 aAsc.setAttribute('href', url);
216 aAsc.textContent = 'ascending';
216 aAsc.textContent = 'older';
217 aDiv.appendChild(aAsc);
217 aDiv.appendChild(aAsc);
218
218
219 if (!isHead) {
219 if (!isHead) {
@@ -222,7 +222,7 b" document.addEventListener('DOMContentLoa"
222 // link to "descending" followlines
222 // link to "descending" followlines
223 var aDesc = document.createElement('a');
223 var aDesc = document.createElement('a');
224 aDesc.setAttribute('href', url + '&descend=');
224 aDesc.setAttribute('href', url + '&descend=');
225 aDesc.textContent = 'descending';
225 aDesc.textContent = 'newer';
226 aDiv.appendChild(aDesc);
226 aDiv.appendChild(aDesc);
227 }
227 }
228
228
General Comments 0
You need to be logged in to leave comments. Login now