diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-01-14 16:42:04 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-01-15 15:13:52 +0000 |
commit | 16fc87e67ad566b3e2b0b7471b98821687c1b6a9 (patch) | |
tree | ec2d8f94453d180e55a375bc6df80661e74e91d9 | |
parent | 054116fde430102a302285c5a7ae7b59242bca3e (diff) |
populate subdivision in Zurich admin tables
-rw-r--r-- | templates/web/zurich/admin/problem_row.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html index 1ad56cb2a..2cc94e10c 100644 --- a/templates/web/zurich/admin/problem_row.html +++ b/templates/web/zurich/admin/problem_row.html @@ -24,7 +24,13 @@ <td>[% PROCESS format_date this_date=problem.created %]</td> <td>[% PROCESS format_date this_date=problem.lastupdate %]</td> <td>[% states.${problem.state} %]</td> - <td>lorem</td> + <td> + [%- IF p_body.parent.id AND p_body.parent.parent.id -%][%# ...it's a subdivision %] + [% PROCESS value_or_nbsp value=p_body.name %] + [%- ELSE -%] + + [%- END -%] + </td> <td><a href="[% c.uri_for( 'report_edit', problem.id ) %]">[% loc('Edit') %]</a></td> </tr> [%- END -%] |