mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Fix for bug 98147: disables "View All Attachments" link if there are no attachments to view.
Patch by Vlad Dascalu <jocuri@softhome.net>. Thanks Vlad! r=myk, a=myk
This commit is contained in:
parent
74e4dbf9c7
commit
10aab2f0cd
@ -1,4 +1,5 @@
|
||||
|
||||
.bz_private { color: darkred ; background : #f3eeee ; }
|
||||
.bz_disabled { color: #a0a0a0 ; }
|
||||
|
||||
table#flags th, table#flags td { vertical-align: baseline; text-align: left; }
|
||||
|
@ -85,9 +85,15 @@
|
||||
<td colspan="[% show_attachment_flags ? 4 : 3 %]">
|
||||
<a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
|
||||
</td>
|
||||
<td colspan="1">
|
||||
<a href="attachment.cgi?bugid=[% bugid %]&action=viewall">View All</a>
|
||||
</td>
|
||||
[% IF attachments.size %]
|
||||
<td>
|
||||
<a href="attachment.cgi?bugid=[% bugid %]&action=viewall">View All</a>
|
||||
</td>
|
||||
[% ELSE %]
|
||||
<td class="bz_disabled">
|
||||
View All
|
||||
</td>
|
||||
[% END %]
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
Loading…
Reference in New Issue
Block a user