Changeset - 3bb99e3e0e44
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-06-14 02:15:57
marcin@python-works.com
fix issue #458 wrong count when no repos are present
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/index_base.html
Show inline comments
 
@@ -119,7 +119,7 @@
 
        </div>
 
    </div>
 
    <script>
 
      YUD.get('repo_count').innerHTML = ${cnt+1};
 
      YUD.get('repo_count').innerHTML = ${cnt+1 if cnt else 0};
 
      var func = function(node){
 
          return node.parentNode.parentNode.parentNode.parentNode;
 
      }
0 comments (0 inline, 0 general)