aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/my
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 21:45:48 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 21:45:48 +0100
commita18ac5c65d3ee4fa6220417ab1644bdba938a19d (patch)
tree0cfebe31168ccf2b6bcbe03f5aabf8d86d7cdceb /templates/web/base/my
parent35e58052f4f1250a3c1bb40d126e36fcc735d209 (diff)
parent90d6c6ed2ce1f4535377b14ce6e93e3849a2f1a7 (diff)
Merge branch '1350-stop-map-hiding-behind-header'
Diffstat (limited to 'templates/web/base/my')
-rw-r--r--templates/web/base/my/my.html20
1 files changed, 15 insertions, 5 deletions
diff --git a/templates/web/base/my/my.html b/templates/web/base/my/my.html
index c3911d4c1..4d5fed1cd 100644
--- a/templates/web/base/my/my.html
+++ b/templates/web/base/my/my.html
@@ -7,14 +7,23 @@
[% IF problems.size %]
[% map_html %]
</div>
- <div id="side">
+ <div id="map_sidebar">
+ <div id="side">
[% ELSE %]
- <div id="skipped-map">
+ <div id="map_sidebar">
+ <div id="skipped-map">
[% END %]
-<h1>[% loc('Your Reports') %]</h1>
+<h1>[% loc('Your account') %]</h1>
-<p><a href="/auth/change_password">[% loc('Change password') %]</a></p>
+<p>[% c.user.name %] [% c.user.email %]</p>
+
+<p class="my-account-buttons">
+ <a href="/auth/change_password">[% loc('Change password') %]</a>
+ <a href="/auth/sign_out">[% loc('Sign out') %]</a>
+</p>
+
+<h2>[% loc('Your reports') %]</h2>
[% IF ! has_content %]
[% tprintf( loc('You haven&rsquo;t created any reports yet. <a href="%s">Report a problem now.</a>'),
@@ -63,6 +72,7 @@
[% "</ul>" IF loop.last %]
[% END %]
-</div>
+ </div>
+ </div>
[% INCLUDE 'footer.html' %]