Merge pull request #4667 from joebuhlig/user-nav-plugin-outlet

FEATURE: Add user-main-nav plugin outlet
This commit is contained in:
Robin Ward 2017-01-26 10:48:24 -05:00 committed by GitHub
commit a7ba69075b

View File

@ -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>