##// END OF EJS Templates
scm: change ._get_content() to .raw_bytes attribute to file nodes to...
scm: change ._get_content() to .raw_bytes attribute to file nodes to allow getting raw bytes instead of text content of a file and added .md5 and .is_binary attributes to file nodes

File last commit:

r1:854a839a default
r501:274fedc6 default
Show More
base.html
28 lines | 1011 B | text/html | HtmlLexer
project: added all source files and assets
r1 <%def name="refs(commit)">
%if commit.merge:
<span class="mergetag tag">
${_('merge')}
</span>
%endif
%if h.is_hg(c.rhodecode_repo):
%for book in commit.bookmarks:
<span class="booktag tag" title="${_('Bookmark %s') % book}">
<a href="${h.url('files_home',repo_name=c.repo_name,revision=commit.raw_id)}"><i class="icon-bookmark"></i>${h.shorter(book)}</a>
</span>
%endfor
%endif
%for tag in commit.tags:
<span class="tagtag tag" title="${_('Tag %s') % tag}">
<a href="${h.url('files_home',repo_name=c.repo_name,revision=commit.raw_id)}"><i class="icon-tag"></i>${tag}</a>
</span>
%endfor
%if commit.branch:
<span class="branchtag tag" title="${_('Branch %s') % commit.branch}">
<a href="${h.url('files_home',repo_name=c.repo_name,revision=commit.raw_id)}"><i class="icon-code-fork"></i>${h.shorter(commit.branch)}</a>
</span>
%endif
</%def>