diff options
author | Vitaly Takmazov | 2023-04-10 22:53:40 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-13 19:49:55 +0300 |
commit | 379f1a8661da46040332923a5ccfb555656b0a8b (patch) | |
tree | 12b3d6121d749c4dc942b10c733f77d7d6dbba94 /src/main/resources/templates/views/partial | |
parent | 3a1e45d3015df62eb5768a8e6929cb41dcaf9913 (diff) |
Premium users
Diffstat (limited to 'src/main/resources/templates/views/partial')
-rw-r--r-- | src/main/resources/templates/views/partial/message.html | 2 | ||||
-rw-r--r-- | src/main/resources/templates/views/partial/navigation.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html index 9d54d614..e9ddd3db 100644 --- a/src/main/resources/templates/views/partial/message.html +++ b/src/main/resources/templates/views/partial/message.html @@ -1,7 +1,7 @@ <article class="msg-cont" data-mid="{{ msg.mid }}"> <header class="h"> <span> - <a href="/{{ msg.user.name }}/"><span>{{ msg.user.name }}</span></a> + <a href="/{{ msg.user.name }}/"><span>{{ msg.user.name }}</span>{% if msg.user.premium %}<span style="color: green;"><i data-icon="ei-star" data-size="s"></i></span>{% endif %}</a> </span> <div class="msg-avatar"><a href="/{{ msg.user.name }}/"> <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/></a> diff --git a/src/main/resources/templates/views/partial/navigation.html b/src/main/resources/templates/views/partial/navigation.html index 159c3d21..105cc568 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 visitor.premium %} + <span style="color: green;"><i data-icon="ei-star" data-size="s"></i></span> + {% endif %} {% if not visitor.verified %} <span style="color: red;"><i data-icon="ei-exclamation" data-size="s"></i></span> {% endif %} |