From: olav%bkor.dhs.org <> Date: Sun, 22 Oct 2006 05:21:33 +0000 (+0000) Subject: Bug 357478: Custom fields should appear as text when they are not editable X-Git-Tag: bugzilla-2.23.4~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b12511914e29380c3074e64e410beedfc9a87b9;p=thirdparty%2Fbugzilla.git Bug 357478: Custom fields should appear as text when they are not editable Patch by Olav Vitters r=LpSolit a=justdave --- diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 802f0bc618..53fe5fa0be 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -405,7 +405,7 @@ [% FOREACH field = fields %] [% PROCESS bug/field.html.tmpl value=bug.${field.name} - editable = 1 + editable = bug.check_can_change_field(field.name, 0, 1) || !user.id value_span = 2 %] [% END %]