blob: 1ee5c4636ea7b28cd21ddce1f16e604c8680b259 (
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
57
58
59
60
61
62
|
[%
DEFAULT bodyclass = 'mappage';
PROCESS "report/photo-js.html";
PROCESS "maps/${map.type}.html";
problem_title = problem.title_safe _ ' - ' _ loc('Viewing a problem');
INCLUDE 'header.html'
title = problem_title
rss = [ tprintf(loc('Updates to this problem, %s', "%s is the site name"), site_name), "/rss/$problem.id" ]
robots = 'index, nofollow';
%]
[% map_html %]
</div>
<div id="map_sidebar">
[% IF two_column_sidebar %]
<div class="two_column_sidebar">
[% END %]
<div id="side-report">
[% IF login_success %]
<p class='form-success'>[% loc('You have successfully signed in; please check and confirm your details are accurate:') %]</p>
[% INCLUDE 'report/update-form.html' %]
[% SET shown_form = 1 %]
[% ELSIF oauth_failure %]
<p class="form-error">[% loc('Sorry, we could not log you in. Please fill in the form below.') %]</p>
[% INCLUDE 'report/update-form.html' %]
[% SET shown_form = 1 %]
[% ELSIF oauth_need_email %]
<p class="form-error">
[% loc('Please note your update has <strong>not yet been posted</strong>.') %]
[% loc('We need your email address, please give it below.') %]
</p>
[% INCLUDE 'report/update-form.html' %]
[% SET shown_form = 1 %]
[% END %]
[% INCLUDE 'report/banner.html' %]
[% INCLUDE 'report/_main.html' %]
[% TRY %][% INCLUDE 'report/_message_manager.html' %][% CATCH file %][% END %]
[% INCLUDE 'report/display_tools.html' %]
[% TRY %][% INCLUDE 'report/sharing.html' %][% CATCH file %][% END %]
[% INCLUDE 'report/updates.html' %]
[% IF NOT shown_form %]
[% INCLUDE 'report/update-form.html' %]
[% END %]
</div>
[% second_column %]
[% IF two_column_sidebar %]
</div>
[% END %]
</div>
[% INCLUDE 'footer.html' %]
|