From 2b12511914e29380c3074e64e410beedfc9a87b9 Mon Sep 17 00:00:00 2001 From: "olav%bkor.dhs.org" <> Date: Sun, 22 Oct 2006 05:21:33 +0000 Subject: Bug 357478: Custom fields should appear as text when they are not editable Patch by Olav Vitters r=LpSolit a=justdave --- template/en/default/bug/edit.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 802f0bc61..53fe5fa0b 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 %] -- cgit v1.2.1