mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 00:24:18 +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}}
|
{{#if showBadges}}
|
||||||
<li>{{#link-to 'user.badges'}}{{fa-icon "certificate"}}{{i18n 'badges.title'}}{{/link-to}}</li>
|
<li>{{#link-to 'user.badges'}}{{fa-icon "certificate"}}{{i18n 'badges.title'}}{{/link-to}}</li>
|
||||||
{{/if}}
|
{{/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>
|
<li>{{#link-to 'user.summary'}}{{i18n 'user.summary.title'}}{{/link-to}}</li>
|
||||||
{{#if model.can_edit}}
|
{{#if model.can_edit}}
|
||||||
<li>{{#link-to 'preferences'}}{{fa-icon "cog"}}{{i18n 'user.preferences'}}{{/link-to}}</li>
|
<li>{{#link-to 'preferences'}}{{fa-icon "cog"}}{{i18n 'user.preferences'}}{{/link-to}}</li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user