Skip to content

Commit f77c208

Browse files
committed
Bug 1269912 - Duplicate whiteboard and keyword fields in advanced traditional show_bug.cgi
1 parent 87063bd commit f77c208

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

template/en/default/bug/edit.html.tmpl

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
<tr>
348348
[% INCLUDE "bug/field-label.html.tmpl"
349349
field = bug_fields.status_whiteboard
350-
editable = 1
350+
editable = bug.check_can_change_field("status_whiteboard", 0, 1)
351351
accesskey = "w"
352352
desc_url = "https://wiki.mozilla.org/BMO/Whiteboard"
353353
%]
@@ -594,28 +594,6 @@
594594
[% END %]
595595
</td>
596596
</tr>
597-
598-
[% IF Param('usestatuswhiteboard') %]
599-
<tr id="field_tablerow_status_whiteboard">
600-
[% INCLUDE "bug/field-label.html.tmpl"
601-
field = bug_fields.status_whiteboard
602-
editable = bug.check_can_change_field("status_whiteboard", 0, 1)
603-
accesskey = "w"
604-
%]
605-
[% INCLUDE input inputname = "status_whiteboard" size = 40 %]
606-
</tr>
607-
[% END %]
608-
609-
[% IF use_keywords %]
610-
<tr id="field_tablerow_keywords">
611-
[% INCLUDE bug/field.html.tmpl
612-
bug = bug, field = bug_fields.keywords, value = bug.keywords
613-
editable = bug.check_can_change_field("keywords", 0, 1),
614-
desc_url = "describekeywords.cgi", possible_values = active_keywords
615-
%]
616-
</tr>
617-
[% END %]
618-
619597
[% END %]
620598

621599
[%############################################################################%]

0 commit comments

Comments
 (0)