diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-23 18:14:02 -0400 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-23 18:14:02 -0400 |
commit | 8c5d6e253a72c941574165d2a9e147099ec7fb46 (patch) | |
tree | 90e1f286c7ad677e24ae757c3565eac5171db77c /template | |
parent | 9a63ac0764abca55f1b61a4c0719315002c02ac0 (diff) | |
download | bugs-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar bugs-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.gz bugs-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.bz2 bugs-8c5d6e253a72c941574165d2a9e147099ec7fb46.tar.xz bugs-8c5d6e253a72c941574165d2a9e147099ec7fb46.zip |
Bug 771107 - List of attachments in attachment details screen does not distinguish obsolete attachments
r=glob, a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 13 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 1 |
2 files changed, 10 insertions, 4 deletions
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 2062e6d6c..67dcabd75 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -303,10 +303,17 @@ <div id="attachment_list"> Attachments on [% "$terms.bug ${attachment.bug_id}" FILTER bug_link(attachment.bug_id) FILTER none %]: [% FOREACH a = attachments %] - [% IF a == attachment.id %] - [%+ a %] + [% IF a.isobsolete %] + <span class="bz_obsolete"> + [% END %] + [% IF a.id == attachment.id %] + [%+ a.id FILTER html %] [% ELSE %] - <a href="attachment.cgi?id=[% a %]&action=edit">[% a %]</a> + <a href="attachment.cgi?id=[% a.id FILTER uri %]&action=edit" + title="[% a.description FILTER html %]">[% a.id FILTER html %]</a> + [% END %] + [% IF a.isobsolete %] + </span> [% END %] [% " |" UNLESS loop.last() %] [% END %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index e3cfec8a2..5401772ea 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -304,7 +304,6 @@ 'attachment/edit.html.tmpl' => [ 'attachment.id', 'attachment.bug_id', - 'a', 'editable_or_hide', ], |