From 60f518774b1640aa417d5eca8060410b0af6eb45 Mon Sep 17 00:00:00 2001 From: Evelyn Zheng Date: Wed, 9 Oct 2024 23:35:56 -0400 Subject: [PATCH 1/2] Add role tag display to posts --- templates/partials/topic/post.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index e2e92ad7..6815c49b 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -25,7 +25,7 @@ {posts.user.displayname} - + {posts.user.role} {{{ each posts.user.selectedGroups }}} {{{ if posts.user.selectedGroups.slug }}} From 04985bda9e796981ad878b30ed90a1d3a480c0e2 Mon Sep 17 00:00:00 2001 From: Evelyn Zheng Date: Wed, 13 Nov 2024 17:19:40 -0500 Subject: [PATCH 2/2] code changes required for UI --- templates/partials/topic/post.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index 6815c49b..7530a99a 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -62,6 +62,14 @@
{posts.content}
+ {{{if !posts.isEnglish }}} + + + {{{end}}}