changeset 5720:494989b0ce72

summary: add tooltip and link to status change icons (same as on changelog page) This change makes the changeset list on the summary page more similar to the one on the changeset list. It adds the same tooltip ("Changeset status") to the changeset status change icons that is already found on the changelog page. It also adds a link to the first comment (as in the changelog page).
author Angel Ezquerra <angel.ezquerra@gmail.com>
date Sun, 21 Feb 2016 10:43:53 +0100
parents bbd307ce70c0
children b1bec568c0a2
files kallithea/templates/changelog/changelog_summary_data.html
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/changelog/changelog_summary_data.html	Mon Feb 08 17:42:59 2016 +0100
+++ b/kallithea/templates/changelog/changelog_summary_data.html	Sun Feb 21 10:43:53 2016 +0100
@@ -21,7 +21,9 @@
                     <i class="icon-circle changeset-status-${c.statuses.get(cs.raw_id)[0]}"></i>
                   </a>
                 %else:
-                  <i class="icon-circle changeset-status-${c.statuses.get(cs.raw_id)[0]}"></i>
+                  <a class="tooltip" title="${_('Changeset status: %s') % c.statuses.get(cs.raw_id)[1]}" href="${c.comments[cs.raw_id][0].url()}">
+                    <i class="icon-circle changeset-status-${c.statuses.get(cs.raw_id)[0]}"></i>
+                  </a>
                 %endif
                 </span>
               %endif