revert: topic event partial
parent
849de65f1b
commit
6be43d905b
@ -1,26 +0,0 @@
|
||||
<li component="topic/event" class="timeline-event" data-topic-event-id="{./id}" data-topic-event-type="{./type}">
|
||||
<div class="timeline-badge">
|
||||
<i class="fa {{{ if ./icon }}}{./icon}{{{ else }}}fa-circle{{{ end }}}"></i>
|
||||
</div>
|
||||
<span class="timeline-text">
|
||||
{{{ if ./href}}}
|
||||
<a href="{config.relative_path}{./href}">{./text}</a>
|
||||
{{{ else }}}
|
||||
{./text}
|
||||
{{{ end }}}
|
||||
|
||||
</span>
|
||||
{{{ if ./user }}}
|
||||
{{{ if ./user.system }}}
|
||||
<span class="timeline-text">[[global:system-user]]</span>
|
||||
{{{ else }}}
|
||||
<span><a href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(./user, "xs", true)} {./user.username}</a></span>
|
||||
{{{ end }}}
|
||||
{{{ end }}}
|
||||
<span class="timeago timeline-text" title="{./timestampISO}"></span>
|
||||
|
||||
{{{ if privileges.isAdminOrMod }}}
|
||||
<span component="topic/event/delete" data-topic-event-id="{./id}" data-topic-event-type="{./type}" class="timeline-text pointer" title="[[topic:delete-event]]"><i class="fa fa-trash"></i></span>
|
||||
{{{ end }}}
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue