diff options
| author | lpsolit%gmail.com <> | 2006-09-28 03:37:15 +0000 |
|---|---|---|
| committer | lpsolit%gmail.com <> | 2006-09-28 03:37:15 +0000 |
| commit | 1fd545a11e886d21696963ba72acc1e78b7e289c (patch) | |
| tree | 1254cc1a38a9d7faa982a83329e55c82899af8e9 /template/en/default/bug | |
| parent | 913d27c007324758fd2f3da98cd7402f4bf02f0b (diff) | |
| download | bugs-1fd545a11e886d21696963ba72acc1e78b7e289c.tar bugs-1fd545a11e886d21696963ba72acc1e78b7e289c.tar.gz bugs-1fd545a11e886d21696963ba72acc1e78b7e289c.tar.bz2 bugs-1fd545a11e886d21696963ba72acc1e78b7e289c.tar.xz bugs-1fd545a11e886d21696963ba72acc1e78b7e289c.zip | |
Bug 354314: Missing "--do_not_change--" option for custom select fields when changing several bugs at once - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'template/en/default/bug')
| -rw-r--r-- | template/en/default/bug/field.html.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 008674d60..07617f19a 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -25,6 +25,7 @@ # value: The value of the field for this bug. # editable: Whether the field should be displayed as an editable # <input> or as just the plain text of its value. + # allow_dont_change: display the --do_not_change-- option for select fields. # value_span: A colspan for the table cell containing # the field value. #%] @@ -44,6 +45,11 @@ <input name="[% field.name FILTER html %]" value="[% value FILTER html %]" size="60"> [% CASE constants.FIELD_TYPE_SINGLE_SELECT %] <select id="[% field.name FILTER html %]" name="[% field.name FILTER html %]"> + [% IF allow_dont_change %] + <option value="[% dontchange FILTER html %]"> + [% dontchange FILTER html %] + </option> + [% END %] [% FOREACH legal_value = field.legal_values %] <option value="[% legal_value FILTER html %]" [%- " selected=\"selected\"" IF value == legal_value %]> |
