changeset 19754:c35e8805cf53

hgweb: show a message when there are no more entries in the list
author Alexander Plavin <alexander@plav.in>
date Fri, 06 Sep 2013 13:30:58 +0400
parents 2c9645c0a582
children 00b9f6aab761
files mercurial/templates/static/mercurial.js
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
             }