aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/problem_row.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/admin/problem_row.html')
-rw-r--r--templates/web/zurich/admin/problem_row.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html
index 502a7bc39..a2805d6dc 100644
--- a/templates/web/zurich/admin/problem_row.html
+++ b/templates/web/zurich/admin/problem_row.html
@@ -1,3 +1,5 @@
+[% no_edit = no_edit AND NOT c.req.params.internal ~%]
+
[%- FOR problem IN problems %]
[% SET p_body = problem.bodies.values.0 %]
<tr[%
@@ -21,14 +23,15 @@
<td>[% prettify_state(problem.state) %]
[% IF problem.state == 'feedback pending';
SET cs=problem.get_extra_metadata('closure_status');
- IF cs %] ([% prettify_state(cs) %]) [% END; END %]</td>
+ IF cs %] ([% prettify_state(cs) %]) [% END; END %]
+ [% IF problem.non_public %]<br><i>Interne Meldung</i>[% END %]</td>
[% IF include_subdiv %]
<td>
[%- IF p_body.parent.parent.id -%][%# ...it's a subdivision %]
[% PROCESS value_or_nbsp value=p_body.name %]
[%- ELSIF problem.external_body %]
- [% PROCESS value_or_nbsp value=problem.body(c).name %]
+ [% PROCESS value_or_nbsp value=problem.body.name %]
[%- ELSE -%]
&nbsp;
[%- END -%]