aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/views/partial/navigation.html3
-rw-r--r--src/main/resources/templates/views/partial/usercolumn.html9
-rw-r--r--src/main/resources/templates/views/settings_main.html3
3 files changed, 14 insertions, 1 deletions
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 @@
<div id="ctitle">
<a href="/{{ visitor.name }}">
<img src="{{ visitor.avatar }}" alt=""/>{{ visitor.name }}
+ {% if not visitor.verified %}
+ <span style="color:red;"><i data-icon="ei-exclamation" data-size="s"></i></span>
+ {% endif %}
</a>
</div>
{% 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 @@
<li><a href="/?show=unanswered" rel="nofollow">Неотвеченные</a></li>
{% endif %}
{% if visitor is not empty and visitor.uid == user.uid %}
- <li><a href="/settings" rel="nofollow"><i data-icon="ei-gear" data-size="s"></i>{{ i18n("messages","link.settings") }}</a></li>
+ <li>
+ <a href="/settings" rel="nofollow">
+ <i data-icon="ei-gear" data-size="s"></i>{{ i18n("messages","link.settings") }}
+ {% if not visitor.verified %}
+ <span style="color:red;"><i data-icon="ei-exclamation" data-size="s"></i></span>
+ {% endif %}
+ </a>
+ </li>
{% endif %}
</ul>
<hr/>
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 %}
<article>
<h1>Настройки</h1>
+ {%if not visitor.verified %}
+ <h2 style="color: red;">Verify your account by adding email or social account</h2>
+ {% endif %}
<form action="/settings" method="POST" enctype="multipart/form-data">
<fieldset>
<legend>Notification options</legend>