hgweb: show a message when there are no more entries in the list
authorAlexander Plavin <alexander@plav.in>
Fri, 06 Sep 2013 13:30:58 +0400
changeset 19754 c35e8805cf53
parent 19753 2c9645c0a582
child 19755 00b9f6aab761
hgweb: show a message when there are no more entries in the list
mercurial/templates/static/mercurial.js
--- a/mercurial/templates/static/mercurial.js	Thu Sep 19 09:45:00 2013 -0700
+++ b/mercurial/templates/static/mercurial.js	Fri Sep 06 13:30:58 2013 +0400
@@ -368,6 +368,11 @@
             updateInitiated = true;
 
             if (!nextHash) {
+                var message = {
+                    class: 'scroll-loading-info',
+                    text: 'No more entries'
+                };
+                appendFormatHTML(container, messageFormat, message);
                 return;
             }