mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 18:22:45 +08:00
Merge pull request #4667 from joebuhlig/user-nav-plugin-outlet
FEATURE: Add user-main-nav plugin outlet
This commit is contained in:
commit
a7ba69075b
|
@ -179,6 +179,7 @@
|
|||
{{#if showBadges}}
|
||||
<li>{{#link-to 'user.badges'}}{{fa-icon "certificate"}}{{i18n 'badges.title'}}{{/link-to}}</li>
|
||||
{{/if}}
|
||||
{{plugin-outlet name="user-main-nav" connectorTagName='li' args=(hash model=model)}}
|
||||
<li>{{#link-to 'user.summary'}}{{i18n 'user.summary.title'}}{{/link-to}}</li>
|
||||
{{#if model.can_edit}}
|
||||
<li>{{#link-to 'preferences'}}{{fa-icon "cog"}}{{i18n 'user.preferences'}}{{/link-to}}</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user