aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-09-30 11:06:40 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-30 11:35:54 +0200
commit8b675c5aa0cd4b9f4353c129385c69cdde35b714 (patch)
tree79a4b68312d0cfffe42da4d95784049aa24ba803 /template
parentattachment/list: Display attachment filename (diff)
downloadbugzilla-8b675c5aa0cd4b9f4353c129385c69cdde35b714.tar.gz
bugzilla-8b675c5aa0cd4b9f4353c129385c69cdde35b714.tar.bz2
bugzilla-8b675c5aa0cd4b9f4353c129385c69cdde35b714.zip
Try hiding 'version' fieldgentoo-5.0.4.4
Bug: https://bugs.gentoo.org/620048 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/create/create.html.tmpl17
-rw-r--r--template/en/default/bug/edit.html.tmpl7
-rw-r--r--template/en/default/bug/field-help.none.tmpl4
-rw-r--r--template/en/default/bug/process/verify-new-product.html.tmpl13
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl7
5 files changed, 2 insertions, 46 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 3e25e9c29..e7f2b2aed 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -82,6 +82,8 @@ TUI_hide_default('attachment_text_field');
onsubmit="return validateEnterBug(this)">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
+<input type="hidden" name="version"
+ value="[% default.version FILTER html %]">
<table>
<tbody>
@@ -184,21 +186,6 @@ TUI_hide_default('attachment_text_field');
</tr>
<tr>
- [% INCLUDE "bug/field-label.html.tmpl"
- field = bug_fields.version editable = 1 rowspan = 4
- %]
- <td rowspan="4">
- <select name="version" id="version" size="5" aria-required="true"
- class="required">
- [%- FOREACH v = version %]
- [% NEXT IF NOT v.is_active %]
- <option value="[% v.name FILTER html %]"
- [% ' selected="selected"' IF v.name == default.version %]>[% v.name FILTER html -%]
- </option>
- [%- END %]
- </select>
- </td>
-
[% INCLUDE bug/field.html.tmpl
bug = default, field = bug_fields.bug_severity, editable = 1,
value = default.bug_severity %]
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 29387b301..dcadb89d1 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -260,13 +260,6 @@
editable = bug.check_can_change_field('component', 0, 1)
%]
</tr>
- <tr>
- [% INCLUDE "bug/field-label.html.tmpl"
- field = bug_fields.version
- editable = bug.check_can_change_field('version', 0, 1) %]
-
- [% PROCESS select selname => "version" %]
- </tr>
[%############%]
[%# PLATFORM #%]
[%############%]
diff --git a/template/en/default/bug/field-help.none.tmpl b/template/en/default/bug/field-help.none.tmpl
index 2b6096547..af6c6ac96 100644
--- a/template/en/default/bug/field-help.none.tmpl
+++ b/template/en/default/bug/field-help.none.tmpl
@@ -152,10 +152,6 @@ target_milestone =>
"The $vars.field_descs.target_milestone field is used to define when the"
_ " engineer the $terms.bug is assigned to expects to fix it.",
-version =>
- "The version field defines the version of the software the"
- _ " $terms.bug was found in.",
-
votes =>
"Some $terms.bugs can be voted for, and you can limit your search to"
_ " $terms.bugs with more than a certain number of votes.",
diff --git a/template/en/default/bug/process/verify-new-product.html.tmpl b/template/en/default/bug/process/verify-new-product.html.tmpl
index c562bf54d..affd6b674 100644
--- a/template/en/default/bug/process/verify-new-product.html.tmpl
+++ b/template/en/default/bug/process/verify-new-product.html.tmpl
@@ -60,19 +60,6 @@
<table>
<tr>
<td>
- <b>Version:</b><br>
- [% IF versions.size == 1 %]
- [% SET default_version = versions.0 %]
- [% ELSE %]
- [% SET default_version = defaults.version %]
- [% END %]
- [% PROCESS "global/select-menu.html.tmpl"
- name="version"
- options=versions
- default=default_version
- size=10 %]
- </td>
- <td>
<b>Component:</b><br>
[% IF components.size == 1 %]
[% SET default_component = components.0 %]
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index e581f0892..878f9954b 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -61,13 +61,6 @@
%]
</td>
- <th><label for="version">Version:</label></th>
- <td>
- [% PROCESS selectmenu menuname = "version"
- menuitems = versions
- property = "" %]
- </td>
-
</tr>
<tr>