diff options
author | mkanat%bugzilla.org <> | 2006-07-18 04:57:35 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-07-18 04:57:35 +0200 |
commit | 47a9a892e8fe70863846c00a5858fceffc79b3d0 (patch) | |
tree | 1dc6d98a8f8090261ef43ae0ad5f919c490196e6 /template/en/default/global | |
parent | 643f05bd8c129b1a40b31665f8209d6935d8b961 (diff) | |
download | bugzilla-47a9a892e8fe70863846c00a5858fceffc79b3d0.tar.gz bugzilla-47a9a892e8fe70863846c00a5858fceffc79b3d0.tar.xz |
Bug 344513: Make plain-text custom fields functional on all pages except enter_bug.cgi
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/field-descs.none.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl index 7a2725121..ba6f675e4 100644 --- a/template/en/default/global/field-descs.none.tmpl +++ b/template/en/default/global/field-descs.none.tmpl @@ -69,6 +69,17 @@ "votes" => "Votes", "work_time" => "Hours Worked"} %] +[%# Also include any custom fields or fields which don't have a + Description here, by copying their Description from the + database. If you want to override this for your language + or your installation, just use a hook. %] + +[% USE Bugzilla %] +[% FOREACH field = Bugzilla.get_fields() %] + [% SET field_descs.${field.name} = field.description + IF !field_descs.${field_name}.exists %] +[% END %] + [% status_descs = { "UNCONFIRMED" => "UNCONFIRMED", "NEW" => "NEW", "ASSIGNED" => "ASSIGNED", |