Skip to content
Snippets Groups Projects
Commit 45a46460 authored by JediKev's avatar JediKev
Browse files

issue: Deleted Field Thread Events (template)

This addresses an issue introduced with `9ab2317e` where the icon for the
event still shows even though we continued and didn’t return the event
description.
parent 96892beb
Branches
Tags
No related merge requests found
<?php if ($desc = $event->getDescription(ThreadEvent::MODE_STAFF)) { ?>
<div class="thread-event <?php if ($event->uid) echo 'action'; ?>"> <div class="thread-event <?php if ($event->uid) echo 'action'; ?>">
<span class="type-icon"> <span class="type-icon">
<i class="faded icon-<?php echo $event->getIcon(); ?>"></i> <i class="faded icon-<?php echo $event->getIcon(); ?>"></i>
</span> </span>
<span class="faded description"> <span class="faded description">
<?php echo $event->getDescription(ThreadEvent::MODE_STAFF); ?> <?php echo $desc; ?>
</span> </span>
</div> </div>
<?php } ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment