From 2f9a5a30bfcc1856dc5dfa6dc0afd4429009ac52 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 5 Oct 2023 12:39:58 +0300 Subject: [PATCH] show note for emoji award too --- files/templates/comments.html | 2 +- files/templates/util/macros.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 3b4077490b..20243dc2f9 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -117,7 +117,7 @@ {% for a in c.awards %} {% if a.kind == "emoji" %} - {{a.title}} Award given by @{{a.user.username}} + {{a.title}} Award given by @{{a.user.username}}: "{{a.note}}" {% else %} {% endif %} diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 2dab5deed0..bfb58ee6fb 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -31,7 +31,7 @@ {% for a in p.awards %} {% if a.kind == "emoji" %} - {{a.title}} Award given by @{{a.user.username}} + {{a.title}} Award given by @{{a.user.username}}: "{{a.note}}" {% else %} {% endif %}