## DATA TABLE RE USABLE ELEMENTS FOR BRANCHES ## usage: ## <%namespace name="branch" file="/branches/branches_data.html"/> ## branch.(arg,arg2) <%def name="compare(commit_id)"> <%def name="name(name, files_url)"> ${name} %if name in c.closed_branches: [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)}