[% SET bodyclass = 'mappage'; PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html" IF problems.size; INCLUDE 'header.html', title = loc('Your Reports') %] [% IF problems.size %] [% map_html | safe %]
[% flash_message %]
[% END %][% IF NOT c.user.email %] [% loc('Add') %] [% ELSIF c.user.email_verified %] [% loc('Change') %] [% ELSE %] [% loc('Verify') %] [% loc('Change') %] [% END %]
[% IF NOT c.user.phone %] [% loc('Add') %] [% ELSIF c.user.phone_verified %] [% loc('Change') %] [% ELSE %] [% IF c.config.SMS_AUTHENTICATION %] [% loc('Verify') %] [% END %] [% loc('Change') %] [% END %]
[% IF c.session.oauth.change_password_uri %] [% loc('Change password') %] [% ELSE %] [%~ IF c.user.password ~%] [% loc('Change password') %] [%~ ELSE ~%] [% loc('Set password') %] [%~ END ~%] [% END %] [% IF c.user AND (c.user.from_body OR c.user.is_superuser) %] [% loc('Security') %] [% END %] [% loc('Sign out') %]
[% tprintf( loc("Added %s"), prettify_dt( u.confirmed, 'date' ) ) %] – [% u.problem.title | html %]