aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/details_extra.html6
-rw-r--r--templates/submit_confirm.html2
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/details_extra.html b/templates/details_extra.html
index 6ef02b3..22d18b2 100644
--- a/templates/details_extra.html
+++ b/templates/details_extra.html
@@ -1,7 +1,11 @@
<div data-role="header" data-position="fixed">
<a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Further Details') %]</h1>
- <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a>
+ <% if (CONFIG.SKIP_CONFIRM_REPORT) { %>
+ <a id="next" class="ui-btn-right">[% loc('Submit') %]</a>
+ <% } else { %>
+ <a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a>
+ <% } %>
</div>
<div data-role="content" data-enhance="false">
<%= category_extras %>
diff --git a/templates/submit_confirm.html b/templates/submit_confirm.html
index bca55fc..1d3e862 100644
--- a/templates/submit_confirm.html
+++ b/templates/submit_confirm.html
@@ -3,7 +3,7 @@
<h1>[% loc('Your details') %]</h1>
</div>
-<div data-role="content">
+<div data-role="content"<% if (CONFIG.SKIP_CONFIRM_REPORT) { %> class="hidden"<% } %>>
<p class="notopmargin">
[% tprintf(loc('You are logged in as %s'), '<%= user.email %>') %].
</p>