aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/bromley
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/bromley')
-rw-r--r--templates/web/bromley/footer.html2
-rw-r--r--templates/web/bromley/report/display.html19
2 files changed, 11 insertions, 10 deletions
diff --git a/templates/web/bromley/footer.html b/templates/web/bromley/footer.html
index 6412ec03c..87d244480 100644
--- a/templates/web/bromley/footer.html
+++ b/templates/web/bromley/footer.html
@@ -14,7 +14,7 @@
<li><[% IF c.req.uri.path == '/' %]span[% ELSE %]a href="/"[% END
%]>[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/my' %]span[% ELSE %]a href="/my"[% END
- %]>[% loc("Your reports") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
+ %]>[% c.user_exists ? loc("Your account") : loc("Sign in") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/reports' %]span[% ELSE %]a href="/reports"[% END
%]>[% loc("All reports") %]</[% c.req.uri.path == '/reports' ? 'span' : 'a' %]></li>[%
%]<li><[% IF c.req.uri.path == '/alert' %]span[% ELSE %]a href="/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END
diff --git a/templates/web/bromley/report/display.html b/templates/web/bromley/report/display.html
index da83e005f..06db8f001 100644
--- a/templates/web/bromley/report/display.html
+++ b/templates/web/bromley/report/display.html
@@ -1,4 +1,4 @@
-[%
+[%
PROCESS "report/photo-js.html";
PROCESS "maps/${map.type}.html";
@@ -11,9 +11,10 @@
%]
[% map_html %]
-
</div>
+<div id="map_sidebar">
+
[% IF login_success %]
<p class='form-success'>[% loc('You have successfully signed in; please check and confirm your details are accurate:') %]</p>
[% END %]
@@ -107,12 +108,12 @@
</select>
[% ELSE %]
[% IF problem.is_fixed AND c.user_exists AND c.user.id == problem.user_id %]
-
+
<input type="checkbox" name="reopen" id="form_reopen" value="1"[% ' checked' IF update.mark_open %]>
<label class="inline" for="form_reopen">[% loc('This problem has not been fixed') %]</label>
-
+
[% ELSIF !problem.is_fixed %]
-
+
<div class="checkbox-group">
<input type="checkbox" name="fixed" id="form_fixed" value="1"[% ' checked' IF update.mark_fixed %]>
<label class="inline" for="form_fixed">[% loc('This problem has been fixed') %]</label>
@@ -124,9 +125,9 @@
[% IF c.user_exists %]
[% INCLUDE name %]
-
+
<input class="final-submit green-btn" type="submit" id="update_post" value="[% loc('Post') %]">
-
+
[% ELSE %]
@@ -146,7 +147,7 @@
<h5>Confirm my report by email</h5>
[% INCLUDE name %]
-
+
<label for="password_register">[% loc('Password (optional)') %]</label>
<div class="general-notes">
@@ -185,7 +186,7 @@
</form>
</div>
-
+</div>
[% INCLUDE 'footer.html' %]