summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/field-help.none.tmpl
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-13 17:50:15 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-13 17:50:15 +0200
commit475abdfcbaa5609ccbc480afa2ab1670574387fd (patch)
tree185c6e22929efc13fcb2f70f5596990afe718080 /template/en/default/bug/field-help.none.tmpl
parentd3259eebfeb070e2f67094060d4926e2e1e649a3 (diff)
downloadbugzilla-475abdfcbaa5609ccbc480afa2ab1670574387fd.tar.gz
bugzilla-475abdfcbaa5609ccbc480afa2ab1670574387fd.tar.xz
Bug 555850: Make fields.html help on enter_bug happen when the user hovers
over the fields r=timello, a=mkanat
Diffstat (limited to 'template/en/default/bug/field-help.none.tmpl')
-rw-r--r--template/en/default/bug/field-help.none.tmpl17
1 files changed, 15 insertions, 2 deletions
diff --git a/template/en/default/bug/field-help.none.tmpl b/template/en/default/bug/field-help.none.tmpl
index 549a89002..a8129a1e3 100644
--- a/template/en/default/bug/field-help.none.tmpl
+++ b/template/en/default/bug/field-help.none.tmpl
@@ -149,8 +149,8 @@ status_whiteboard =>
_ " adding tags and status information.",
target_milestone =>
- "The target_milestone field is used to define when the engineer"
- _ " the $terms.bug is assigned to expects to fix it.",
+ "The $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"
@@ -215,6 +215,19 @@ email1 =>
[% END %]
[% FOREACH help_field = bug_fields.keys %]
+
+ [%# Add help for custom fields. %]
+ [% IF !help_html.${help_field}.defined %]
+ [% SET field_type = bug_fields.${help_field}.type %]
+ [% field_type_desc = BLOCK -%]
+ [% field_types.$field_type FILTER html %]
+ [%- END %]
+ [% help_html.${help_field} =
+ "A custom $field_type_desc field in this installation"
+ _ " of ${terms.Bugzilla}." %]
+ [% END %]
+
+ [%# Add help for the search types, for query.cgi. %]
[% type_desc = BLOCK %]
The type of [% field_descs.${help_field} FILTER html %] search you
would like.