mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 07:00:58 +08:00
Adding two plugin outlets for notifications and their dropdowns extensibility
This commit is contained in:
parent
3427049ce7
commit
d76fafc8ec
|
@ -12,6 +12,9 @@
|
|||
{{/unless}}
|
||||
<ul class='icons clearfix' role='navigation'>
|
||||
{{#if currentUser}}
|
||||
|
||||
{{plugin-outlet "header-before-notifications"}}
|
||||
|
||||
<li class='notifications'>
|
||||
<a class='icon' href {{action "showNotifications" target="view"}} data-notifications="notifications-dropdown" id='user-notifications' title='{{i18n 'notifications.title'}}'>
|
||||
{{fa-icon "comment" label="notifications.title"}}
|
||||
|
@ -79,6 +82,9 @@
|
|||
</ul>
|
||||
|
||||
{{#if view.renderDropdowns}}
|
||||
|
||||
{{plugin-outlet "header-before-dropdowns"}}
|
||||
|
||||
{{render "search"}}
|
||||
{{render "notifications" notifications}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user