summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolav%bkor.dhs.org <>2006-10-22 07:21:33 +0200
committerolav%bkor.dhs.org <>2006-10-22 07:21:33 +0200
commit2b12511914e29380c3074e64e410beedfc9a87b9 (patch)
tree87b63f904564d057b127e66294edc0448437d762
parentf8e8541db6b20e5ed9b6e875f14fc24207c7dfc9 (diff)
downloadbugzilla-2b12511914e29380c3074e64e410beedfc9a87b9.tar.gz
bugzilla-2b12511914e29380c3074e64e410beedfc9a87b9.tar.xz
Bug 357478: Custom fields should appear as text when they are not editable
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=justdave
-rw-r--r--template/en/default/bug/edit.html.tmpl2
1 files changed, 1 insertions, 1 deletions
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 %]
<tr>
[% 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 %]
</tr>
[% END %]