зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
0d2b704ff6
Коммит
a333815d62
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче