##// END OF EJS Templates
commits: allow tag commit translation to be skipped for faster commit fetching in big chunks.
commits: allow tag commit translation to be skipped for faster commit fetching in big chunks.

File last commit:

r1927:e6df2b71 default
r3468:7bc93053 default
Show More
base.mako
28 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%def name="refs(commit)">
%if commit.merge:
<span class="mergetag tag">
<i class="icon-merge">${_('merge')}</i>
</span>
%endif
%if h.is_hg(c.rhodecode_repo):
%for book in commit.bookmarks:
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="booktag tag" title="${h.tooltip(_('Bookmark %s') % book)}">
files: ported repository files controllers to pyramid views.
r1927 <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit.raw_id,_query=dict(at=book))}"><i class="icon-bookmark"></i>${h.shorter(book)}</a>
templating: use .mako as extensions for template files.
r1282 </span>
%endfor
%endif
%for tag in commit.tags:
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="tagtag tag" title="${h.tooltip(_('Tag %s') % tag)}">
files: ported repository files controllers to pyramid views.
r1927 <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit.raw_id,_query=dict(at=tag))}"><i class="icon-tag"></i>${tag}</a>
templating: use .mako as extensions for template files.
r1282 </span>
%endfor
%if commit.branch:
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="branchtag tag" title="${h.tooltip(_('Branch %s') % commit.branch)}">
files: ported repository files controllers to pyramid views.
r1927 <a href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit.raw_id,_query=dict(at=commit.branch))}"><i class="icon-code-fork"></i>${h.shorter(commit.branch)}</a>
templating: use .mako as extensions for template files.
r1282 </span>
%endif
</%def>