Commits

Marcin Kuzminski  committed 3bb99e3

fix issue #458 wrong count when no repos are present

  • Participants
  • Parent commits d2a528b

Comments (0)

Files changed (1)

File rhodecode/templates/index_base.html

         </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;
       }