diff options
author | Simon Green <sgreen@redhat.com> | 2014-03-27 21:06:02 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-03-27 21:06:02 +1000 |
commit | e1cf17721a4588d177f3b59c5bed61bdf918afeb (patch) | |
tree | f45ddbf7a66d71a4c4d9d3f96ba1af182a8294d0 /template/en/default/bug | |
parent | 081f4dae9f526a0b64c5c6ae0f6c1967b896f2cb (diff) | |
download | bugs-e1cf17721a4588d177f3b59c5bed61bdf918afeb.tar bugs-e1cf17721a4588d177f3b59c5bed61bdf918afeb.tar.gz bugs-e1cf17721a4588d177f3b59c5bed61bdf918afeb.tar.bz2 bugs-e1cf17721a4588d177f3b59c5bed61bdf918afeb.tar.xz bugs-e1cf17721a4588d177f3b59c5bed61bdf918afeb.zip |
Bug 456043 - Make enter_bug consistent with show_bug for Severity and Priority
r=glob, a=justdave
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 4499bdc97..0815f3600 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -184,9 +184,9 @@ TUI_hide_default('attachment_text_field'); <tr> [% INCLUDE "bug/field-label.html.tmpl" - field = bug_fields.version editable = 1 rowspan = 3 + field = bug_fields.version editable = 1 rowspan = 4 %] - <td rowspan="3"> + <td rowspan="4"> <select name="version" id="version" size="5" aria-required="true" class="required"> [%- FOREACH v = version %] @@ -203,6 +203,16 @@ TUI_hide_default('attachment_text_field'); value = default.bug_severity %] </tr> + <tr class="expert_fields"> + [% IF Param('letsubmitterchoosepriority') %] + [% INCLUDE bug/field.html.tmpl + bug = default, field = bug_fields.priority, editable = 1, + value = default.priority %] + [% ELSE %] + <td colspan="2"> </td> + [% END %] + </tr> + <tr> [% INCLUDE bug/field.html.tmpl bug = default, field = bug_fields.rep_platform, editable = 1, @@ -216,7 +226,8 @@ TUI_hide_default('attachment_text_field'); </tr> [% IF (!Param('defaultplatform') || !Param('defaultopsys')) && !cloned_bug_id %] <tr> - <th colspan="3"> </th> + <td colspan="2" class="expert_fields"> </td> + <td> </td> <td id="os_guess_note" class="comment"> <div>We've made a guess at your [% IF Param('defaultplatform') %] @@ -240,13 +251,7 @@ TUI_hide_default('attachment_text_field'); <td colspan="2"> </td> [% END %] - [% IF Param('letsubmitterchoosepriority') %] - [% INCLUDE bug/field.html.tmpl - bug = default, field = bug_fields.priority, editable = 1, - value = default.priority %] - [% ELSE %] - <td colspan="2"> </td> - [% END %] + <td colspan="2"> </td> </tr> </tbody> @@ -263,7 +268,7 @@ TUI_hide_default('attachment_text_field'); <td> </td> [%# Calculate the number of rows we can use for flags %] - [% num_rows = 7 + (Param("useqacontact") ? 1 : 0) + + [% num_rows = 6 + (Param("useqacontact") ? 1 : 0) + (user.is_timetracker ? 3 : 0) %] @@ -387,7 +392,7 @@ TUI_hide_default('attachment_text_field'); [% INCLUDE "bug/field-label.html.tmpl" field = bug_fields.bug_file_loc editable = 1 %] - <td colspan="2" class="field_value"> + <td colspan="3" class="field_value"> <input name="bug_file_loc" id="bug_file_loc" class="text_input" size="40" value="[% bug_file_loc FILTER html %]"> </td> @@ -532,7 +537,7 @@ TUI_hide_default('attachment_text_field'); [% INCLUDE bug/field.html.tmpl bug = default, field = bug_fields.keywords, editable = 1, value = keywords, possible_values = all_keywords, - desc_url = "describekeywords.cgi", value_span = 2 + desc_url = "describekeywords.cgi", value_span = 3 %] </tr> [% END %] |