From 74d2a5df5ca7ee4b6497a6e7609491d72cdbb309 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 3 Nov 2011 17:18:13 -0500 Subject: Refactor more package signoff stuff This sets up some shared utility code for use in a later package signoff email report command. Signed-off-by: Dan McGee --- templates/packages/signoff_cell.html | 4 ++-- templates/packages/signoffs.html | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/templates/packages/signoff_cell.html b/templates/packages/signoff_cell.html index fce5d551..87216193 100644 --- a/templates/packages/signoff_cell.html +++ b/templates/packages/signoff_cell.html @@ -5,8 +5,8 @@ {% if group.user_signed_off %}
Revoke Signoff
+ title="Revoke signoff {{ group.pkgbase }} for {{ group.arch }}">Revoke Signoff {% else %}
Signoff
+ title="Signoff {{ group.pkgbase }} for {{ group.arch }}">Signoff {% endif %} diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 4a2f6c99..8d57a8c5 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -34,6 +34,7 @@

Filter Displayed Signoffs

Package Base/Version Arch Target Repo + Packager # of Packages Last Updated Approved @@ -42,18 +43,17 @@

Filter Displayed Signoffs

{% for group in signoff_groups %} - {% with group.package as pkg %} - - {% pkg_details_link pkg %} {{ pkg.full_version }} - {{ pkg.arch.name }} + + {% pkg_details_link group.package %} {{ group.version }} + {{ group.arch.name }} {{ group.target_repo }} + {{ group.packager|default:"Unknown" }} {{ group.packages|length }} - {{ pkg.last_update|date }} + {{ group.last_update|date }} {{ group.approved|yesno|capfirst }} {% include "packages/signoff_cell.html" %} - {% endwith %} {% endfor %} -- cgit v1.2.3-54-g00ecf