From 47a9a892e8fe70863846c00a5858fceffc79b3d0 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 18 Jul 2006 02:57:35 +0000 Subject: Bug 344513: Make plain-text custom fields functional on all pages except enter_bug.cgi Patch By Max Kanat-Alexander r=LpSolit, a=myk --- template/en/default/global/field-descs.none.tmpl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'template/en/default/global/field-descs.none.tmpl') 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", -- cgit v1.2.3-24-g4f1b