## DATA TABLE RE USABLE ELEMENTS FOR BRANCHES ## usage: ## <%namespace name="branch" file="/branches/branches_data.mako"/> ## branch.(arg,arg2) <%namespace name="base" file="/base/base.mako"/> <%def name="compare(commit_id)"> <%def name="name(name, files_url, closed)"> ${name} %if closed: [closed] %endif <%def name="date(date)"> ${h.age_component(date)} <%def name="author(author)"> ${base.gravatar_with_user(author, tooltip=True)} <%def name="commit(message, commit_id, commit_idx)">
r${commit_idx}:${h.short_id(commit_id)}