Show More
@@ -32,7 +32,7 b'' | |||||
32 | id="q_filter" size="15" type="text" name="filter" |
|
32 | id="q_filter" size="15" type="text" name="filter" | |
33 | value="${_('quick filter...')}"/> |
|
33 | value="${_('quick filter...')}"/> | |
34 |
|
34 | |||
35 | ${_('Dashboard - %s repositories' % c.repo_cnt)} |
|
35 | ${_('Dashboard')} - <span id="repo_count">${c.repo_cnt}</span> ${_('repositories')} | |
36 | </h5> |
|
36 | </h5> | |
37 | %if c.rhodecode_user.username != 'default': |
|
37 | %if c.rhodecode_user.username != 'default': | |
38 | %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
|
38 | %if h.HasPermissionAny('hg.admin','hg.create.repository')(): | |
@@ -168,6 +168,8 b'' | |||||
168 | } |
|
168 | } | |
169 | } |
|
169 | } | |
170 | } |
|
170 | } | |
|
171 | // set new count into dashboard | |||
|
172 | YUD.get('repo_count').innerHTML = nodes.length - obsolete.length; | |||
171 | } |
|
173 | } | |
172 |
|
174 | |||
173 | E.on(q_filter,'keyup',function(e){ |
|
175 | E.on(q_filter,'keyup',function(e){ |
General Comments 0
You need to be logged in to leave comments.
Login now