blob: e5add67f6ef86a73235a7b7aa5eb1f242d6e918a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
[% PROCESS 'admin/header.html' title=tprintf(loc('Editing problem %d'), problem.id ) -%]
[% PROCESS 'admin/report_blocks.html' %]
[% status_message %]
<form method="post" action="[% c.uri_for( 'report_edit', problem.id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
<input type="hidden" name="token" value="[% token %]" >
<input type="hidden" name="submit" value="1" >
<p align="right"><input type="submit" name="send_back" value="[% loc('Not for my subdivision') %]"></p>
<ul>
<li><a href="[% c.uri_for_email( '/report', problem.id ) %]">[% loc('View report on site' )%]</a></li>
<li>[% loc('Details:') %] [% problem.detail | html %]
[% IF problem.extra.original_detail %]
<br>[% loc('originally entered') %]: “[% problem.extra.original_detail | html %]”
[% END %]
</li>
<li>[% loc('Co-ordinates:') %] [% problem.local_coords.join(',') %] ([% problem.latitude %],[% problem.longitude %]) ([% loc('originally entered') %] ‘[% problem.postcode | html %]’, [% IF problem.used_map %][% loc('used map') %][% ELSE %][% loc("didn't use map") %][% END %])</li>
<li>[% loc('Category:') %] [% problem.category | html %] </li>
<li>[% loc('Name:') %] [% problem.name | html %]
<li>[% loc('Email:') %] [% problem.user.email | html %]
[% IF problem.extra.email_confirmed %][% loc('Confirmed') %][% END %]
<li>[% loc('Phone:') %] [% IF problem.user.phone %][% problem.user.phone | html %][% ELSE %]<em>[% loc('None') %]</em>[% END %]</li>
<li>[% loc('Created:') %] [% PROCESS format_time time=problem.created %]</li>
[% IF problem.photo %]
[% photo = problem.get_photo_params %]
<li><img alt="" src="[% c.cobrand.base_url %][% photo.url %]">
<br>
[% IF rotated %]Photo may be cached. View image directly to check<br>[% END %]
<input type="submit" name="rotate_photo" value="Rotate Left" />
<input type="submit" name="rotate_photo" value="Rotate Right" />
<br>
<input type="checkbox" id="publish_photo" name="publish_photo" value="1"[% ' checked' IF problem.extra.publish_photo %]>
<label class="inline" for="publish_photo">[% loc("Publish photo") %]</label></li>
[% END %]
<li>[% loc('State:') %] [% states.${problem.state} %]</li>
<li><label for="internal_notes">[% loc('Internal notes:') %]</label>
<textarea name='internal_notes' id='internal_notes' cols=60 rows=5>[% problem.extra.internal_notes | html %]</textarea></li>
<li><label for="status_update">[% loc('New update:') %]</label>
<textarea name='status_update' id='status_update' cols=60 rows=5></textarea></li>
</ul>
<p><input type="submit" name="Submit changes" value="[% loc('Submit changes') %]" ></p>
<p align="right"><input type="submit" name="no_more_updates" value="[% loc('No further updates') %]"></p>
</form>
[% INCLUDE 'admin/list_updates.html' %]
[% INCLUDE 'admin/footer.html' %]
|