# HG changeset patch # User domruf # Date 2017-10-11 22:49:53 # Node ID 3c683f04f4d75e2bf023555148fa4313f8452a8f # Parent 17dea231902833effe91c66e5f4b311160287831 changelog: bring the right-aligned tags in a least to most common order The goal is, to more often, have equal tags being display like a column, without giving each tag its own table cell, which would waste a lot of space. So move tags and branch, which come in singles move in front of phase, unstable, etc. which most of the time come in groups. diff --git a/kallithea/templates/changelog/changelog_table.html b/kallithea/templates/changelog/changelog_table.html --- a/kallithea/templates/changelog/changelog_table.html +++ b/kallithea/templates/changelog/changelog_table.html @@ -78,6 +78,16 @@ %endif + %for book in cs.bookmarks: + + ${h.link_to(book,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))} + + %endfor + %for tag in cs.tags: + + ${h.link_to(tag,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))} + + %endfor %if cs.bumped: Bumped @@ -103,16 +113,6 @@ ${cs.phase} %endif - %for book in cs.bookmarks: - - ${h.link_to(book,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))} - - %endfor - %for tag in cs.tags: - - ${h.link_to(tag,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))} - - %endfor %if show_branch and cs.branch: ${h.link_to(cs.branch,h.url('changelog_home',repo_name=repo_name,branch=cs.branch))}