Commit 2b125119 authored by olav%bkor.dhs.org's avatar olav%bkor.dhs.org

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
parent f8e8541d
...@@ -405,7 +405,7 @@ ...@@ -405,7 +405,7 @@
[% FOREACH field = fields %] [% FOREACH field = fields %]
<tr> <tr>
[% PROCESS bug/field.html.tmpl value=bug.${field.name} [% 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 %] value_span = 2 %]
</tr> </tr>
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment