## DATA TABLE RE USABLE ELEMENTS FOR BRANCHES ## usage: ## <%namespace name="branch" file="/branches/branches_data.mako"/> ## branch.(arg,arg2) <%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)"> ${h.link_to_user(author)} <%def name="commit(message, commit_id, commit_idx)">
r${commit_idx}:${h.short_id(commit_id)}