##// END OF EJS Templates
ui: fixed pr count on repo settings
marcink -
r3569:9cb54b7f new-ui
parent child Browse files
Show More
@@ -257,10 +257,13 b''
257 %if c.rhodecode_db_repo.repo_type in ['git','hg']:
257 %if c.rhodecode_db_repo.repo_type in ['git','hg']:
258 <li class="${is_active('showpullrequest')}">
258 <li class="${is_active('showpullrequest')}">
259 <a class="menulink" href="${h.route_path('pullrequest_show_all', repo_name=c.repo_name)}" title="${h.tooltip(_('Show Pull Requests for %s') % c.repo_name)}">
259 <a class="menulink" href="${h.route_path('pullrequest_show_all', repo_name=c.repo_name)}" title="${h.tooltip(_('Show Pull Requests for %s') % c.repo_name)}">
260 %if c.repository_pull_requests:
260 <div class="menulabel">
261 <span class="pr_notifications">${c.repository_pull_requests}</span>
261 %if c.repository_pull_requests == 1:
262 ${c.repository_pull_requests} ${_('Pull Request')}
263 %else:
264 ${c.repository_pull_requests} ${_('Pull Requests')}
262 %endif
265 %endif
263 <div class="menulabel">${_('Pull Requests')}</div>
266 </div>
264 </a>
267 </a>
265 </li>
268 </li>
266 %endif
269 %endif
General Comments 0
You need to be logged in to leave comments. Login now