show attribution in emojis.html always

master
Aevann 2023-10-26 18:44:23 +03:00
parent c945b7814c
commit 951e436265
1 changed files with 11 additions and 15 deletions

View File

@ -27,9 +27,7 @@
<th>Name</th> <th>Name</th>
<th>Emoji</th> <th>Emoji</th>
<th>Usage</th> <th>Usage</th>
{% if FEATURES['EMOJI_SUBMISSIONS'] %} <th>Author</th>
<th>Author</th>
{% endif %}
<th>Added on</th> <th>Added on</th>
{% if FEATURES['EMOJI_SUBMISSIONS'] %} {% if FEATURES['EMOJI_SUBMISSIONS'] %}
<th class="disable-sort-click">Original File</th> <th class="disable-sort-click">Original File</th>
@ -43,20 +41,18 @@
<td>{{emoji.name}}</td> <td>{{emoji.name}}</td>
<td><img class="emoji" loading="lazy" data-bs-toggle="tooltip" alt=":#{{emoji.name}}:" title=":{{emoji.name}}:" src="{{SITE_FULL_IMAGES}}/e/{{emoji.name}}.webp"></td> <td><img class="emoji" loading="lazy" data-bs-toggle="tooltip" alt=":#{{emoji.name}}:" title=":{{emoji.name}}:" src="{{SITE_FULL_IMAGES}}/e/{{emoji.name}}.webp"></td>
<td>{{emoji.count}}</td> <td>{{emoji.count}}</td>
{% if FEATURES['EMOJI_SUBMISSIONS'] %} <td>
<td> {% if emoji.author_id == 2 %}
{% if emoji.author_id == 2 %} {% if SITE == 'rdrama.net' %}
{% if SITE == 'rdrama.net' %} a WPD user
a WPD user
{% else %}
an rDrama user
{% endif %}
{% else %} {% else %}
{% set user = emoji.user %} an rDrama user
{% include "user_in_table.html" %}
{% endif %} {% endif %}
</td> {% else %}
{% endif %} {% set user = emoji.user %}
{% include "user_in_table.html" %}
{% endif %}
</td>
<td data-sort-key="{{emoji.created_utc or 0}}" {% if emoji.created_utc != None %}data-time="{{emoji.created_utc}}"{% endif %}></td> <td data-sort-key="{{emoji.created_utc or 0}}" {% if emoji.created_utc != None %}data-time="{{emoji.created_utc}}"{% endif %}></td>
{% if FEATURES['EMOJI_SUBMISSIONS'] %} {% if FEATURES['EMOJI_SUBMISSIONS'] %}
<td> <td>