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}}}