interaction_forum_post.tpl 1.08 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{if $record->deleted}
Pat Kira's avatar
Pat Kira committed
2 3 4 5 6
    <h3 class="title list-group-item-heading text-inline">
        <span class="icon icon-commenting-o left"></span>
        {$record->subject}
    </h3>
    <span class="artefacttype text-lighttone">({str tag=deletedforumpost section=search.elasticsearch})</span>
Naomi Guyer's avatar
Naomi Guyer committed
7
{else}
Pat Kira's avatar
Pat Kira committed
8 9 10 11 12 13 14
    <h3 class="title list-group-item-heading text-inline">
        <span class="icon icon-commenting-o left"></span>
        <a href="{$WWWROOT}interaction/forum/topic.php?id={$record->topic}#post{$record->id}">
            {$record->subject}
        </a>
    </h3>
    <span class="artefacttype text-lighttone">({str tag=forumpost section=search.elasticsearch})</span>
Naomi Guyer's avatar
Naomi Guyer committed
15 16 17 18
    <div class="source"><strong>{str tag='forum' section='search.elasticsearch'}:</strong> {$record->forumname} ({$record->groupname})</div>
    <div class="poster"><strong>{str tag='forumpostedbylabel' section='search.elasticsearch'}:</strong> {str tag=forumpostedby section=search.elasticsearch arg1='$record->authorlink|safe' arg2='$record->ctime'}</div>
    <div class="detail">{$record->body|str_shorten_html:140:true:false|safe}</div>
{/if}