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 | |
parent | 3a1e45d3015df62eb5768a8e6929cb41dcaf9913 (diff) |
Premium users
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r-- | src/main/resources/templates/views/partial/message.html | 2 | ||||
-rw-r--r-- | src/main/resources/templates/views/partial/navigation.html | 3 | ||||
-rw-r--r-- | src/main/resources/templates/views/thread.html | 4 |
3 files changed, 6 insertions, 3 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 %} diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index ca74a2ff..84c52282 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -9,7 +9,7 @@ <a href="/{{ msg.user.name }}/"><img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/></a> </div> <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-ts"> {% if msg.FriendsOnly %} @@ -129,7 +129,7 @@ <div class="msg-cont"> <div class="msg-header" data-uri="{{ msg.user.uri }}"> {% if not msg.user.banned %} - <a class="a-username" href="/{{ msg.user.name }}/">{{ msg.user.name }}</a> + <a class="a-username" href="/{{ msg.user.name }}/">{{ msg.user.name }}{% if msg.user.premium %}<span style="color: green;"><i data-icon="ei-star" data-size="s"></i></span>{% endif %}</a> <div class="msg-avatar"> <a class="a-username" href="/{{ msg.user.name }}/"> <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/> |