diff options
author | Vitaly Takmazov | 2018-12-03 17:01:03 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-12-03 17:01:03 +0300 |
commit | f418a0bfda83f6a19059209c7e7c5904d3e67a2a (patch) | |
tree | 88730e1c21b736f8ff4eee6ac343503685da2317 /src/main/resources/templates/views/partial | |
parent | ff72f0b789fe7f2e6689de8cc990bdc8fa00f9da (diff) |
www: warn unverified users
Diffstat (limited to 'src/main/resources/templates/views/partial')
-rw-r--r-- | src/main/resources/templates/views/partial/navigation.html | 3 | ||||
-rw-r--r-- | src/main/resources/templates/views/partial/usercolumn.html | 9 |
2 files changed, 11 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/> |