Skip to content

Commit

Permalink
Bug 1870044 - Red star next to the Type field when viewing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoshino authored Dec 15, 2023
1 parent 12e13a3 commit a450cc1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ END;
>
[% IF label.defined && !no_label %]
<div class="name">
[%~ IF required && !view_only %]
<span class="required_star" aria-label="Required Field">*</span>
[%# Single-select fields, such as Product or Type, are already selected on the show_bug page,
# so it doesn’t make sense to show an asterisk even if it’s a required field. %]
[%~ IF required && (mode != "show" || field_type != constants.FIELD_TYPE_SINGLE_SELECT) %]
<span class="required_star edit-show" style="display:none" aria-label="Required Field">*</span>
[% " " %]
[% END %]
[%~ IF help.defined %]
Expand Down

0 comments on commit a450cc1

Please sign in to comment.