diff options
author | Byron Jones <glob@mozilla.com> | 2015-10-19 16:25:15 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-10-19 16:25:15 +0200 |
commit | 0ce40b991790cd7695f289b27237b8f2751e5f9b (patch) | |
tree | 20adb737898b112b2896cf899ee2237ecbcb0cf4 /extensions/BugModal | |
parent | a0fcc8ff20fe57bf442402ba227954ffb33a2175 (diff) | |
download | bugzilla-0ce40b991790cd7695f289b27237b8f2751e5f9b.tar.gz bugzilla-0ce40b991790cd7695f289b27237b8f2751e5f9b.tar.xz |
Bug 1146780 - treat github and mozreview attachments as patches
Diffstat (limited to 'extensions/BugModal')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl | 2 | ||||
-rw-r--r-- | extensions/BugModal/web/bug_modal.css | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl index ca47047fc..f9d219497 100644 --- a/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/attachments.html.tmpl @@ -23,7 +23,7 @@ <tr class=" [%~ " bz_private" IF attachment.isprivate %] [%~ " attach-obsolete" IF attachment.isobsolete %] - [%~ " attach-patch" IF attachment.ispatch %] + [%~ " attach-patch" IF attachment.can_review %] " [% IF attachment.isobsolete %]style="display:none"[% END %]> <td class="attach-desc-td"> <div class="attach-desc"> diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index 2f869b453..cb16c8fd7 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -427,7 +427,7 @@ input[type="number"] { text-decoration: line-through; } -#attachments .attach-desc-td { +#attachments .attach-patch .attach-desc-td { background: #ffc; background-image: linear-gradient(to right, #ffc, #fff); } |