From 951e43626510b6e1afd21ce1d3ae6bfcb5adb82d Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 26 Oct 2023 18:44:23 +0300 Subject: [PATCH] show attribution in emojis.html always --- files/templates/emojis.html | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/files/templates/emojis.html b/files/templates/emojis.html index c0b88cf2c..f41eb37e2 100644 --- a/files/templates/emojis.html +++ b/files/templates/emojis.html @@ -27,9 +27,7 @@ Name Emoji Usage - {% if FEATURES['EMOJI_SUBMISSIONS'] %} - Author - {% endif %} + Author Added on {% if FEATURES['EMOJI_SUBMISSIONS'] %} Original File @@ -43,20 +41,18 @@ {{emoji.name}} :#{{emoji.name}}: {{emoji.count}} - {% if FEATURES['EMOJI_SUBMISSIONS'] %} - - {% if emoji.author_id == 2 %} - {% if SITE == 'rdrama.net' %} - a WPD user - {% else %} - an rDrama user - {% endif %} + + {% if emoji.author_id == 2 %} + {% if SITE == 'rdrama.net' %} + a WPD user {% else %} - {% set user = emoji.user %} - {% include "user_in_table.html" %} + an rDrama user {% endif %} - - {% endif %} + {% else %} + {% set user = emoji.user %} + {% include "user_in_table.html" %} + {% endif %} + {% if FEATURES['EMOJI_SUBMISSIONS'] %}