##// END OF EJS Templates
quick filter will update repo count
marcink -
r1201:7d2c1672 beta
parent child Browse files
Show More
@@ -32,7 +32,7 b''
32 32 id="q_filter" size="15" type="text" name="filter"
33 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 36 </h5>
37 37 %if c.rhodecode_user.username != 'default':
38 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 175 E.on(q_filter,'keyup',function(e){
General Comments 0
You need to be logged in to leave comments. Login now