From 6be43d905bc907b8491d303bf718ed41c5030606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 21 Nov 2022 16:08:39 -0500 Subject: [PATCH] revert: topic event partial --- templates/partials/topic/event.tpl | 26 -------------------------- templates/topic.tpl | 6 +----- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 templates/partials/topic/event.tpl diff --git a/templates/partials/topic/event.tpl b/templates/partials/topic/event.tpl deleted file mode 100644 index 4086e6f..0000000 --- a/templates/partials/topic/event.tpl +++ /dev/null @@ -1,26 +0,0 @@ -
  • -
    - -
    - - {{{ if ./href}}} - {./text} - {{{ else }}} - {./text} - {{{ end }}} -   - - {{{ if ./user }}} - {{{ if ./user.system }}} - [[global:system-user]]  - {{{ else }}} - {buildAvatar(./user, "xs", true)}   {./user.username}  - {{{ end }}} - {{{ end }}} - - - {{{ if privileges.isAdminOrMod }}} -   - {{{ end }}} -
  • - diff --git a/templates/topic.tpl b/templates/topic.tpl index 5a79157..a42dfa3 100644 --- a/templates/topic.tpl +++ b/templates/topic.tpl @@ -71,11 +71,7 @@ - {{{ if (config.topicPostSort != "most_votes") }}} - {{{ each ./events}}} - - {{{ end }}} - {{{ end }}} + {renderTopicEvents(@index, config.topicPostSort)} {{{end}}}