From: Kohei Yoshino Date: Tue, 23 Apr 2019 21:44:51 +0000 (-0400) Subject: Bug 1345750 - "Depends on" and "Blocks" bug lists should still show list of bug links... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32fefb0e73c76e416c0902a19002d41cfafc0239;p=thirdparty%2Fbugzilla.git Bug 1345750 - "Depends on" and "Blocks" bug lists should still show list of bug links in edit mode --- diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl index 2fc6476e0..6353b4a76 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -98,6 +98,7 @@ END; [%~ " indent" IF no_label && !no_indent %] [%~ " inline" IF inline %] [%~ " contains-buttons" IF use_buttons ~%] + [%~ " bug-list" IF field_type == constants.FIELD_TYPE_BUG_LIST ~%] [%~ " edit-hide" IF hide_on_edit %] [%~ " edit-show" IF hide_on_view && !hide_on_edit %]" [% IF name %] id="field-[% name FILTER html %]"[% END %] diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index 5cf514065..28e1013e9 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -229,6 +229,12 @@ a.activity-ref { vertical-align: middle; } +/* Show dependencies and regressions while editing */ +.module .field.bug-list .value[style="display: none;"], +.module .field.bug-list .value[style="display: none;"] + .value.edit { + display: block !important; +} + .field-button { float: right; margin-left: 8px;