Add plugin outlets for user stream item and topic list item

This commit is contained in:
Erick Guan 2016-04-06 21:03:49 +02:00 committed by Robin Ward
parent 0deea4f7d4
commit e09634dbae
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
<a href={{item.postUrl}}>{{{item.title}}}</a> <a href={{item.postUrl}}>{{{item.title}}}</a>
</span> </span>
<div class="category">{{category-link item.category}}</div> <div class="category">{{category-link item.category}}</div>
{{plugin-outlet "user-stream-item-header"}}
</div> </div>
{{#if actionDescription}} {{#if actionDescription}}

View File

@ -7,6 +7,7 @@
<td class='main-link clearfix' colspan="{{titleColSpan}}"> <td class='main-link clearfix' colspan="{{titleColSpan}}">
{{raw "topic-status" topic=topic}} {{raw "topic-status" topic=topic}}
{{topic-link topic}} {{topic-link topic}}
{{plugin-outlet "topic-list-after-title"}}
{{#if controller.showTopicPostBadges}} {{#if controller.showTopicPostBadges}}
{{raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl}} {{raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl}}
{{/if}} {{/if}}