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 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src/main/resources/templates/views/partial') 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 %}
    -- cgit v1.2.3