From f418a0bfda83f6a19059209c7e7c5904d3e67a2a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 3 Dec 2018 17:01:03 +0300 Subject: www: warn unverified users --- src/main/resources/templates/views/partial/navigation.html | 3 +++ src/main/resources/templates/views/partial/usercolumn.html | 9 ++++++++- src/main/resources/templates/views/settings_main.html | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/resources/templates/views/partial/navigation.html b/src/main/resources/templates/views/partial/navigation.html index dce2b83e..8a21a437 100644 --- a/src/main/resources/templates/views/partial/navigation.html +++ b/src/main/resources/templates/views/partial/navigation.html @@ -4,6 +4,9 @@
{{ visitor.name }} + {% if not visitor.verified %} + + {% endif %}
{% else %} diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html index 0896bd4e..9ce42ab6 100644 --- a/src/main/resources/templates/views/partial/usercolumn.html +++ b/src/main/resources/templates/views/partial/usercolumn.html @@ -55,7 +55,14 @@
  • Неотвеченные
  • {% endif %} {% if visitor is not empty and visitor.uid == user.uid %} -
  • {{ i18n("messages","link.settings") }}
  • +
  • + + {{ i18n("messages","link.settings") }} + {% if not visitor.verified %} + + {% endif %} + +
  • {% endif %}
    diff --git a/src/main/resources/templates/views/settings_main.html b/src/main/resources/templates/views/settings_main.html index 65fbc984..8f9178d0 100644 --- a/src/main/resources/templates/views/settings_main.html +++ b/src/main/resources/templates/views/settings_main.html @@ -2,6 +2,9 @@ {% block content %}

    Настройки

    + {%if not visitor.verified %} +

    Verify your account by adding email or social account

    + {% endif %}
    Notification options -- cgit v1.2.3