# HG changeset patch # User Marcin Kuzminski # Date 1301823859 -7200 # Node ID 7d2c16725be6006022365ef554b4b7eff11a6ca3 # Parent 3ecaa17d9dea7f6cb6cca5feb9ccbc1cf9a4b212 quick filter will update repo count diff -r 3ecaa17d9dea -r 7d2c16725be6 rhodecode/templates/index.html --- a/rhodecode/templates/index.html Sat Apr 02 21:29:50 2011 +0200 +++ b/rhodecode/templates/index.html Sun Apr 03 11:44:19 2011 +0200 @@ -32,7 +32,7 @@ id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> - ${_('Dashboard - %s repositories' % c.repo_cnt)} + ${_('Dashboard')} - ${c.repo_cnt} ${_('repositories')} %if c.rhodecode_user.username != 'default': %if h.HasPermissionAny('hg.admin','hg.create.repository')(): @@ -168,6 +168,8 @@ } } } + // set new count into dashboard + YUD.get('repo_count').innerHTML = nodes.length - obsolete.length; } E.on(q_filter,'keyup',function(e){