diff options
author | friendica <info@friendica.com> | 2014-09-20 16:34:48 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-20 16:34:48 -0700 |
commit | 22e6e691ca46a49db65a304dc2133b7ee15febc4 (patch) | |
tree | e40cf0704fd1cb2a16d723dd1bbb2bc49166106d /view | |
parent | 44cb423f21b6a34a138e7ffd2814fdd08788cfbe (diff) | |
download | volse-hubzilla-22e6e691ca46a49db65a304dc2133b7ee15febc4.tar.gz volse-hubzilla-22e6e691ca46a49db65a304dc2133b7ee15febc4.tar.bz2 volse-hubzilla-22e6e691ca46a49db65a304dc2133b7ee15febc4.zip |
Navbar notifications: don't show "nothing new here" unless we've checked and there's nothing. Until we know for sure, display "Loading...".
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 2 | ||||
-rwxr-xr-x | view/tpl/js_strings.tpl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 086ef3196..7bbd49c1b 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -743,7 +743,7 @@ function updateConvItems(mode,data) { if(data.notify.length==0){ - $("#nav-" + notifyType + "-menu").html(notifications_empty); + $("#nav-" + notifyType + "-menu").html(aStr[nothingnew]); } else { $("#nav-" + notifyType + "-menu").html(notifications_all + notifications_mark); diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl index 515e3107f..eb78c669f 100755 --- a/view/tpl/js_strings.tpl +++ b/view/tpl/js_strings.tpl @@ -15,6 +15,7 @@ 'passhint' : "{{$passhint}}", 'permschange' : "{{$permschange}}", 'closeAll' : "{{$closeAll}}", + 'nothingnew' : "{{$nothingnew}}", 't01' : "{{$t01}}", 't02' : "{{$t02}}", |