changeset 6945:3c683f04f4d7

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.
author domruf <dominikruf@gmail.com>
date Wed, 11 Oct 2017 22:49:53 +0200
parents 17dea2319028
children f1acd7c28157
files kallithea/templates/changelog/changelog_table.html
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/changelog/changelog_table.html	Wed Oct 04 19:48:02 2017 +0200
+++ b/kallithea/templates/changelog/changelog_table.html	Wed Oct 11 22:49:53 2017 +0200
@@ -78,6 +78,16 @@
                   <i class="icon-comment-discussion"></i>
                 </a>
               %endif
+              %for book in cs.bookmarks:
+                <span class="booktag" title="${_('Bookmark %s') % book}">
+                  ${h.link_to(book,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))}
+                </span>
+              %endfor
+              %for tag in cs.tags:
+                <span class="tagtag" title="${_('Tag %s') % tag}">
+                  ${h.link_to(tag,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))}
+                </span>
+              %endfor
               %if cs.bumped:
                 <span class="bumpedtag" title="Bumped">
                   Bumped
@@ -103,16 +113,6 @@
                   ${cs.phase}
                 </span>
               %endif
-              %for book in cs.bookmarks:
-                <span class="booktag" title="${_('Bookmark %s') % book}">
-                  ${h.link_to(book,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))}
-                </span>
-              %endfor
-              %for tag in cs.tags:
-                <span class="tagtag" title="${_('Tag %s') % tag}">
-                  ${h.link_to(tag,h.url('changeset_home',repo_name=repo_name,revision=cs.raw_id))}
-                </span>
-              %endfor
               %if show_branch and cs.branch:
                 <span class="branchtag" title="${_('Branch %s' % cs.branch)}">
                   ${h.link_to(cs.branch,h.url('changelog_home',repo_name=repo_name,branch=cs.branch))}