[% DEFAULT bodyclass = 'mappage'; PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html"; problem_title = tprintf('%s - %s', 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 | safe %]
[% IF two_column_sidebar %]
[% END %]
[% IF login_success %]

[% loc('You have successfully signed in; please check and confirm your details are accurate:') %]

[% INCLUDE 'report/update-form.html' %] [% SET shown_form = 1 %] [% ELSIF oauth_failure %]

[% loc('Sorry, we could not log you in. Please fill in the form below.') %]

[% INCLUDE 'report/update-form.html' %] [% SET shown_form = 1 %] [% ELSIF oauth_need_email %]

[% loc('Please note your update has not yet been posted.') %] [% loc('We need your email address, please give it below.') %]

[% INCLUDE 'report/update-form.html' %] [% SET shown_form = 1 %] [% END %] [% INCLUDE 'report/_main.html' %] [% IF problem.duplicate_of %] [% INCLUDE 'report/duplicate-no-updates.html' hide_header = 1 %] [% END %] [% 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 problem.duplicate_of %] [% INCLUDE 'report/duplicate-no-updates.html' %] [% ELSIF problem.cobrand_data == 'noise' %]

[% loc('This report is now closed to updates.') %]

[% ELSIF NOT shown_form %] [% PROCESS 'report/update-form-wrapper.html' %] [% END %]
[% second_column | safe %] [% IF two_column_sidebar %]
[% END %]
[% INCLUDE 'footer.html' %]