[PATCH 4 of 9 V2] hgweb: show a message when there are no more entries in the list
Alexander Plavin
alexander at plav.in
Sat Aug 17 17:33:09 CDT 2013
# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1376754663 -14400
# Sat Aug 17 19:51:03 2013 +0400
# Node ID e80fe9b70c6fcf6a5d2bd540782574b723d56806
# Parent a646de4ac36ab29a648e26b9b302821da91955e6
hgweb: show a message when there are no more entries in the list
diff -r a646de4ac36a -r e80fe9b70c6f mercurial/templates/static/mercurial.js
--- a/mercurial/templates/static/mercurial.js Sat Aug 17 22:43:14 2013 +0400
+++ b/mercurial/templates/static/mercurial.js Sat Aug 17 19:51:03 2013 +0400
@@ -369,6 +369,11 @@
container.lastElementChild.classList.add('scroll-separator');
if (!nextHash) {
+ var message = {
+ class: 'scroll-loading-info',
+ text: 'No more entries'
+ };
+ appendFormatHTML(container, messageFormat, message);
return;
}
More information about the Mercurial-devel
mailing list