##// END OF EJS Templates
debug: add example of calling context
debug: add example of calling context

File last commit:

r4026:ed756817 default
r4870:35250e06 default
Show More
branches_data.mako
34 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## DATA TABLE RE USABLE ELEMENTS FOR BRANCHES
## usage:
## <%namespace name="branch" file="/branches/branches_data.mako"/>
## branch.<func_name>(arg,arg2)
hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI
r4026 <%namespace name="base" file="/base/base.mako"/>
templating: use .mako as extensions for template files.
r1282
<%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>
refs: refactored references code to remove any pylons elements....
r1898 <%def name="name(name, files_url, closed)">
hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI
r4026 <span class="tag branchtag">
templating: use .mako as extensions for template files.
r1282 <a href="${files_url}"><i class="icon-code-fork"></i>${name}
refs: refactored references code to remove any pylons elements....
r1898 %if closed:
templating: use .mako as extensions for template files.
r1282 [closed]
%endif
</a>
</span>
</%def>
<%def name="date(date)">
${h.age_component(date)}
</%def>
<%def name="author(author)">
hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI
r4026 ${base.gravatar_with_user(author, tooltip=True)}
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="commit(message, commit_id, commit_idx)">
<div>
files: ported repository files controllers to pyramid views.
r1927 <pre><a title="${h.tooltip(message)}" href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit_id)}">r${commit_idx}:${h.short_id(commit_id)}</a></pre>
templating: use .mako as extensions for template files.
r1282 </div>
</%def>