diff options
author | lpsolit%gmail.com <> | 2006-09-09 08:11:40 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-09-09 08:11:40 +0200 |
commit | a806b298f5bfe5914f27a1419d27366fe59da449 (patch) | |
tree | 25d737aeb60f17360de9a67f2017369a4d5d8349 /template/en/default/admin/custom_fields/edit.html.tmpl | |
parent | 27c1be36a3cbc57e01c8d51af85be76b0748ece6 (diff) | |
download | bugzilla-a806b298f5bfe5914f27a1419d27366fe59da449.tar.gz bugzilla-a806b298f5bfe5914f27a1419d27366fe59da449.tar.xz |
Bug 287326: Ability to add custom single-select fields to a bug - Patch by Frédéric Buclin <LpSolit@gmail.com> and Max Kanat-Alexander <mkanat@bugzilla.org> r=mkanat a=myk
Diffstat (limited to 'template/en/default/admin/custom_fields/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/custom_fields/edit.html.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl index def825e7c..6ffa3d89d 100644 --- a/template/en/default/admin/custom_fields/edit.html.tmpl +++ b/template/en/default/admin/custom_fields/edit.html.tmpl @@ -69,7 +69,7 @@ </tr> <tr> <th align="right">Type:</th> - <td>Free Text</td> + <td>[% field_types.${field.type} FILTER html %]</td> <th align="right"><label for="obsolete">Is obsolete:</label></th> <td><input type="checkbox" id="obsolete" name="obsolete" value="1" @@ -85,6 +85,15 @@ <th> </th> <td> </td> </tr> + [% IF field.type == constants.FIELD_TYPE_SINGLE_SELECT %] + <tr> + <th> </th> + <td colspan="3"> + <a href="editvalues.cgi?field=[% field.name FILTER url_quote %]">Edit + legal values for this field</a>. + </td> + </tr> + [% END %] </table> <br> <input type="hidden" name="action" value="update"> |