aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-12-07 15:23:42 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-12-08 09:29:58 +0000
commit1d1681c632774cf6ef00b6a9d20fe89077231cb9 (patch)
tree07bfc646fd9e34389e0f8f94c968b6db0be068ad /templates
parenta2e3ae59842bd9ea82d2b4bf2f3fc5228422b28d (diff)
Specify type variable to both in and out templates
All templates call private_details.html, which uses this variable.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/new/form_user.html2
-rw-r--r--templates/web/base/report/new/login_success_form.html2
-rw-r--r--templates/web/base/report/update/form_user.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/base/report/new/form_user.html b/templates/web/base/report/new/form_user.html
index 33f40486b..2292ed78b 100644
--- a/templates/web/base/report/new/form_user.html
+++ b/templates/web/base/report/new/form_user.html
@@ -14,7 +14,7 @@
</div>
[% IF c.user_exists %]
- [% PROCESS "report/new/form_user_loggedin.html" %]
+ [% PROCESS "report/new/form_user_loggedin.html" type='report' %]
[% ELSE %]
[% PROCESS "report/form/user_loggedout.html" type='report' object=report %]
[% END %]
diff --git a/templates/web/base/report/new/login_success_form.html b/templates/web/base/report/new/login_success_form.html
index ca0c9105a..5038c6beb 100644
--- a/templates/web/base/report/new/login_success_form.html
+++ b/templates/web/base/report/new/login_success_form.html
@@ -9,7 +9,7 @@
<fieldset>
<div id="problem_form">
[% IF c.user_exists %]
- [% PROCESS "report/new/form_user_loggedin.html" %]
+ [% PROCESS "report/new/form_user_loggedin.html" type='report' %]
[% ELSE %]
[% PROCESS "report/form/user_loggedout.html" type='report' object=report %]
[% END %]
diff --git a/templates/web/base/report/update/form_user.html b/templates/web/base/report/update/form_user.html
index ed47c8181..65d15e22f 100644
--- a/templates/web/base/report/update/form_user.html
+++ b/templates/web/base/report/update/form_user.html
@@ -8,7 +8,7 @@
</div>
[% IF c.user_exists %]
- [% PROCESS "report/update/form_user_loggedin.html" %]
+ [% PROCESS "report/update/form_user_loggedin.html" type='update' %]
[% ELSIF oauth_need_email %]
<div id="form_sign_in">
[% PROCESS 'report/form/user_loggedout_by_email.html' object=update type='update' valid_class='validNameU' email_required=1 %]