diff options
author | David Lawrence <dkl@mozilla.com> | 2016-10-03 19:17:25 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-10-03 19:17:25 +0200 |
commit | 0770f155408549cfb402693eb8b702576b0c62ff (patch) | |
tree | fb2e724e66c4bcd61de5dace5df4fc7afcf0a9f1 /extensions/BMO/template/en | |
parent | e1dc4f608ffdf3bb2fb14f3846d6a1363c9eab92 (diff) | |
download | bugzilla-0770f155408549cfb402693eb8b702576b0c62ff.tar.gz bugzilla-0770f155408549cfb402693eb8b702576b0c62ff.tar.xz |
Bug 1305861 - Error today in creating legal bugs from the Project Review form
Diffstat (limited to 'extensions/BMO/template/en')
-rw-r--r-- | extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl index 5ca47bc5a..670bd42ea 100644 --- a/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl @@ -24,7 +24,7 @@ [% inline_style = BLOCK %] .field_label { width: 170px; - padding-top: 10px; + margin-top: 10px; } label.required:before { content: "* "; @@ -54,6 +54,17 @@ label.required:before { [% PROCESS 'bug/create/user-message.html.tmpl' no_bug_guidelines = 1, no_guided_bug_link = 1 %] +[% + hide_components = [ + 'Firefox Distribution or Other Partner Agreement', + 'Independent Contractor Agreement', + 'Name Clearance (Trademark Search)', + 'NDA', + 'Search', + 'Vendor/Services' + ] +%] + <h2>Mozilla Legal</h2> <p>All submissions, and information provided in response to this request, are confidential and @@ -88,6 +99,7 @@ label.required:before { <option value="">Select One</option> [%- FOREACH c = product.components %] [% NEXT IF NOT c.is_active %] + [% NEXT IF hide_components.contains(c.name) %] <option value="[% c.name FILTER html %]" [% ' selected="selected"' IF c.name == "General" %]> [% c.name FILTER html -%] |