diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/_show_name_label.html | 1 | ||||
-rw-r--r-- | templates/web/base/user/_anonymity.html | 4 | ||||
-rw-r--r-- | templates/web/bathnes/report/_show_name_label.html | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/templates/web/base/report/_show_name_label.html b/templates/web/base/report/_show_name_label.html index 1e62b5fc0..f57ba4295 100644 --- a/templates/web/base/report/_show_name_label.html +++ b/templates/web/base/report/_show_name_label.html @@ -1,4 +1,3 @@ -[%# if there is nothing in the name field then set check box as default on form %] <div class="checkbox-group"> <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1"[% ' checked' IF name_public %]> <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %]</label> diff --git a/templates/web/base/user/_anonymity.html b/templates/web/base/user/_anonymity.html index cc3630f16..ee8882dd8 100644 --- a/templates/web/base/user/_anonymity.html +++ b/templates/web/base/user/_anonymity.html @@ -1,9 +1,9 @@ [% - IF c.cobrand.default_show_name AND anonymous==''; + IF anonymous==''; IF c.user_exists; SET name_public = NOT c.user.latest_anonymity; ELSE; - SET name_public = 1; + SET name_public = c.cobrand.default_show_name; END; ELSE; SET name_public = anonymous==0; diff --git a/templates/web/bathnes/report/_show_name_label.html b/templates/web/bathnes/report/_show_name_label.html index 8e58f816a..20f28f099 100644 --- a/templates/web/bathnes/report/_show_name_label.html +++ b/templates/web/bathnes/report/_show_name_label.html @@ -1,4 +1,3 @@ -[%# if there is nothing in the name field then set check box as default on form %] <div class="checkbox-group"> <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1"[% ' checked' IF name_public %]> <label class="inline" for="form_may_show_name">Tick here to show my name publicly</label> |