aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/problem_row.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-07 16:59:23 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-08 17:59:17 +0100
commitba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (patch)
tree8b9e1a960f91c006606b5e0767a84a400dfc2fb0 /templates/web/default/admin/problem_row.html
parent8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (diff)
Rename 'default' web directory to 'base'.
This should reduce confusion with the Default cobrand and override order.
Diffstat (limited to 'templates/web/default/admin/problem_row.html')
-rw-r--r--templates/web/default/admin/problem_row.html43
1 files changed, 0 insertions, 43 deletions
diff --git a/templates/web/default/admin/problem_row.html b/templates/web/default/admin/problem_row.html
deleted file mode 100644
index 2413a6062..000000000
--- a/templates/web/default/admin/problem_row.html
+++ /dev/null
@@ -1,43 +0,0 @@
-[%- FOR problem IN problems %]
- <tr[% ' class="adminhidden"' IF problem.state == 'hidden' %]>
- <td class="record-id">[%- IF problem.is_visible -%]
- [%- cobrand_data = problem.cobrand_data;
- cobrand_data = c.data_for_generic_problem IF !problem.cobrand;
- IF cobrand_data;
- uri = c.uri_for_email( '/report', problem.id, cobrand_data );
- ELSE;
- uri = c.uri_for_email( '/report', problem.id );
- END;
- %]
- <a href="[% uri %]" class="admin-offsite-link">[% problem.id %]</a>
- [%- ELSE %]
- [%- problem.id %]
- [%- END -%]</td>
- <td>[% PROCESS value_or_nbsp value=problem.title %]</td>
- <td>
- [% PROCESS value_or_nbsp value=problem.name %]
- <br>[% PROCESS value_or_nbsp value=problem.user.email %]
- <br>[% loc('Anonymous') %]: [% IF problem.anonymous %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %]
- </td>
- <td>
- [% PROCESS value_or_nbsp value=problem.category %]
- <br>[%- IF edit_body_contacts -%]
- [% FOR body IN problem.bodies.values %]
- <a href="[% c.uri_for('body', body.id ) %]">[% PROCESS value_or_nbsp value=body.name %]</a>
- [% END %]
- [%- ELSE -%]
- [%- PROCESS value_or_nbsp value=problem.bodies_str -%]
- [%- END -%]
- <br>[% problem.cobrand %]<br>[% problem.cobrand_data | html %]
- </td>
- <td>[% problem.state %]<br><small>
- [% loc('Created') %]:&nbsp;[% PROCESS format_time time=problem.created %]
- <br>[% loc('When sent') %]:&nbsp;[% PROCESS format_time time=problem.whensent %]
- [%- IF problem.is_visible %]<br>[% loc('Confirmed:' ) %]&nbsp;[% PROCESS format_time time=problem.confirmed %][% END -%]
- [%- IF problem.is_fixed %]<br>[% loc('Fixed:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]
- [%- IF problem.is_closed %]<br>[% loc('Closed:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]
- [%- IF problem.is_open %]<br>[% loc('Last&nbsp;update:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]
- </small></td>
- <td><a href="[% c.uri_for( 'report_edit', problem.id ) %]">[% loc('Edit') %]</a></td>
- </tr>
-[%- END -%]