aboutsummaryrefslogtreecommitdiffstats
path: root/templates/photo.html
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-03-06 16:39:26 +0000
committerDave Arter <davea@mysociety.org>2017-03-06 16:39:26 +0000
commit15d395033ed39bc0984f28ed9189c1e2a036dbd7 (patch)
treea2b459f325f14d858cf87ba20a8785aafc6190b8 /templates/photo.html
parentf3a87aec6bfa683b292acb7b05fb171a2812249e (diff)
Localise a few more strings, including back buttons
The back buttons were automatically being generated by jQuery Mobile, which wasn’t using the correct localisation of ‘Back’. Adding them to the DOM explicitly with the correct translation ensures they appear as they should.
Diffstat (limited to 'templates/photo.html')
-rw-r--r--templates/photo.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/photo.html b/templates/photo.html
index 100be7a..286dac3 100644
--- a/templates/photo.html
+++ b/templates/photo.html
@@ -1,4 +1,5 @@
<div data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Add Photo') %]</h1>
<% if ( file == '' ) { %>
<a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Skip') %]</a>