# HG changeset patch
# User Angel Ezquerra <[email protected]>
# Date 1456047833 -3600
# Sun Feb 21 10:43:53 2016 +0100
# Branch stable
# Node ID 1b8fa58fddda34e218c31f61bc571a342f7e96fc
# Parent 511aa91947fe31ae4b123a483fac7f2fb1408af2
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).
diff --git a/kallithea/templates/changelog/changelog_summary_data.html
b/kallithea/templates/changelog/changelog_summary_data.html
--- a/kallithea/templates/changelog/changelog_summary_data.html
+++ b/kallithea/templates/changelog/changelog_summary_data.html
@@ -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
# HG changeset patch
# User Angel Ezquerra <[email protected]>
# Date 1456047833 -3600
# Sun Feb 21 10:43:53 2016 +0100
# Branch stable
# Node ID 1b8fa58fddda34e218c31f61bc571a342f7e96fc
# Parent 511aa91947fe31ae4b123a483fac7f2fb1408af2
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).
diff --git a/kallithea/templates/changelog/changelog_summary_data.html b/kallithea/templates/changelog/changelog_summary_data.html
--- a/kallithea/templates/changelog/changelog_summary_data.html
+++ b/kallithea/templates/changelog/changelog_summary_data.html
@@ -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
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general