diff --git a/templates/notifications/_blocks.html.twig b/templates/notifications/_blocks.html.twig index 4e9a157e4..d36861d69 100644 --- a/templates/notifications/_blocks.html.twig +++ b/templates/notifications/_blocks.html.twig @@ -1,106 +1,152 @@ {% block entry_created_notification %} - {{ component('user_inline', {user: notification.entry.user}) }} {{ 'added_new_thread'|trans|lower }} - {{ notification.entry.shortTitle }} + {% if not notification.entry.magazine.apId and (app.user.admin or notification.entry.magazine.userIsModerator(app.user)) %} + style="border-color:var(--kbin-upvoted-color);" + {% set titleString = 'notification_created_on_this_instance'|trans %} + {% set titleString = titleString ~ notification.entry.user.username %} + title="{{ titleString }}" + {% endif %}>