##// END OF EJS Templates
repo-strip: rename file to adjust same naming as other views....
repo-strip: rename file to adjust same naming as other views. - removed NotAnonymous becuase it's already protected by admin permissions.

File last commit:

r1282:90601d74 default
r1723:6dac428a default
Show More
bookmarks_data.mako
33 lines | 1.0 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## DATA TABLE RE USABLE ELEMENTS FOR BOOKMARKS
## usage:
## <%namespace name="bookmarks" file="/bookmarks/bookmarks_data.mako"/>
## bookmarks.<func_name>(arg,arg2)
<%def name="compare(commit_id)">
<input class="compare-radio-button" type="radio" name="compare_source" value="${commit_id}"/>
<input class="compare-radio-button" type="radio" name="compare_target" value="${commit_id}"/>
</%def>
<%def name="name(name, files_url)">
<span class="tag booktag" title="${_('Bookmark %s') % (name,)}">
<a href="${files_url}">
<i class="icon-bookmark"></i>
${name}
</a>
</span>
</%def>
<%def name="date(date)">
${h.age_component(date)}
</%def>
<%def name="author(author)">
<span class="tooltip" title="${author}">${h.link_to_user(author)}</span>
</%def>
<%def name="commit(message, commit_id, commit_idx)">
<div>
<pre><a title="${message}" href="${h.url('files_home',repo_name=c.repo_name,revision=commit_id)}">r${commit_idx}:${h.short_id(commit_id)}</a></pre>
</div>
</%def>