Add wrapper divs with classes to the topic footer button area

This commit is contained in:
Robin Ward 2017-08-03 15:59:06 -04:00
parent d1576298ef
commit 2589b17cb7
2 changed files with 74 additions and 69 deletions

View File

@ -2,6 +2,7 @@ import MountWidget from 'discourse/components/mount-widget';
import { observes } from 'ember-addons/ember-computed-decorators';
export default MountWidget.extend({
classNames: ['topic-notifications-container'],
widget: 'topic-notifications-button',
buildArgs() {

View File

@ -1,3 +1,4 @@
<div class='topic-footer-main-buttons'>
{{#if showAdminButton}}
{{topic-admin-menu-button
topic=topic
@ -74,7 +75,10 @@
connectorTagName="span"}}
{{pinned-button topic=topic}}
</div>
{{topic-notifications-button topic=topic}}
{{plugin-outlet name="after-topic-footer-buttons"
args=(hash topic=topic)
connectorTagName="span"}}