%def name="refs_counters(branches, closed_branches, tags, bookmarks)"> ${_ungettext( '%(num)s Branch','%(num)s Branches', len(branches)) % {'num': len(branches)}} %if closed_branches: ${_ungettext( '%(num)s Closed Branch', '%(num)s Closed Branches', len(closed_branches)) % {'num': len(closed_branches)}} %endif ${_ungettext( '%(num)s Tag', '%(num)s Tags', len(tags)) % {'num': len(tags)}} %if bookmarks: ${_ungettext( '%(num)s Bookmark', '%(num)s Bookmarks', len(bookmarks)) % {'num': len(bookmarks)}} %endif %def> <%def name="summary_detail(breadcrumbs_links, show_downloads=True)"> <% summary = lambda n:{False:'summary-short'}.get(n) %>
%def> <%def name="summary_stats(gravatar_function)"> %def>