]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1628592 - Always display Severity field (#1549)
authordklawren <dklawren@users.noreply.github.com>
Fri, 10 Apr 2020 21:25:42 +0000 (17:25 -0400)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 21:25:42 +0000 (14:25 -0700)
extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
extensions/BugModal/web/bug_modal.css

index cc2aeca376da0276d570f9912aa646c779518e6a..aa90993027cce01cbdac007020af290466c08f2d 100644 (file)
   sub.push(bug.product _ " :: " _ bug.component);
   sub.push(bug.bug_type);
   sub.push(bug.priority) IF bug.priority != "--";
-  sub.push(bug.bug_severity) IF bug.bug_severity != "normal";
 %]
 [% WRAPPER bug_modal/module.html.tmpl
   title = "Categories"
           aria_label = bug_fields.bug_severity.description
           inline = 1
           label = "Severity"
-          hide_on_view = bug.bug_severity == "normal"
           help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#bug_severity"
       %]
       [% UNLESS cf_hidden_in_product('cf_rank', bug.product, bug.component, bug) %]
index 2fadf4f0103ef43b3df4f9b89254b472fdc1cccc..8cb059e1b360faa3ce5b05398d9258b31b1844cc 100644 (file)
@@ -301,10 +301,6 @@ input[type="number"] {
   display: flex;
 }
 
-#field-bug_severity[style="display:none"] {
-  display: none !important; /* Override `inline` */
-}
-
 #field-resolution {
   padding: 0;
 }