##// END OF EJS Templates
pull-requests: updated versioning support....
pull-requests: updated versioning support. - each pr version connects invalidated comments to it - in version list we show number of comments made on each version - show all outdated comments even for deleted files - linkify outdated comments to first one - added auto-collapse of commit range if they are more than 5 - styling changes, wide mode improvements

File last commit:

r1:854a839a default
r1268:7eb711c7 default
Show More
branches_data.html
33 lines | 1.1 KiB | text/html | HtmlLexer
## DATA TABLE RE USABLE ELEMENTS FOR BRANCHES
## usage:
## <%namespace name="branch" file="/branches/branches_data.html"/>
## branch.<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 branchtag" title="${_('Branch %s') % (name,)}">
<a href="${files_url}"><i class="icon-code-fork"></i>${name}
%if name in c.closed_branches:
[closed]
%endif
</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>