summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorreed%reedloden.com <>2009-11-16 17:33:10 +0100
committerreed%reedloden.com <>2009-11-16 17:33:10 +0100
commitc8b25c75fc1538500ac5c899ba60f9c114d7194b (patch)
tree7f5aabc0322432e7e22456fff68a6a5ce6bbbec7 /template/en/default/attachment
parenteba41431743328f1b37aa6edfb9a5dd49aa791b8 (diff)
downloadbugzilla-c8b25c75fc1538500ac5c899ba60f9c114d7194b.tar.gz
bugzilla-c8b25c75fc1538500ac5c899ba60f9c114d7194b.tar.xz
Bug 528872 - "Attachments in attachments table should have CSS classes to help with styling" [p=reed r=LpSolit a=LpSolit]
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/list.html.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index bd597e48b..6453b4e68 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -65,7 +65,11 @@ function toggle_display(link) {
[% IF attachment.isobsolete %]
[% obsolete_attachments = obsolete_attachments + 1 %]
[% END %]
- <tr class="[% "bz_private" IF attachment.isprivate %]
+ <tr class="[% "bz_contenttype_" _ attachment.contenttype
+ FILTER css_class_quote UNLESS attachment.isurl %]
+ [% " bz_patch" IF attachment.ispatch %]
+ [% " bz_url" IF attachment.isurl %]
+ [% " bz_private" IF attachment.isprivate %]
[% " bz_tr_obsolete bz_default_hidden"
IF attachment.isobsolete %]">
<td valign="top">