new outlets for plugins

This commit is contained in:
Neil Lalonde 2017-05-03 11:41:01 -04:00
parent 2503241ce5
commit 8bcfea3b0d
9 changed files with 17 additions and 0 deletions

View File

@ -12,6 +12,7 @@
{{#if model.userApiKeys}} {{#if model.userApiKeys}}
<li class='no-glyph nav-apps'>{{#link-to 'preferences.apps'}}{{i18n 'user.preferences_nav.apps'}}{{/link-to}}</li> <li class='no-glyph nav-apps'>{{#link-to 'preferences.apps'}}{{i18n 'user.preferences_nav.apps'}}{{/link-to}}</li>
{{/if}} {{/if}}
{{plugin-outlet name="user-preferences-nav"}}
{{/mobile-nav}} {{/mobile-nav}}
{{/d-section}} {{/d-section}}

View File

@ -49,6 +49,8 @@
</div> </div>
{{/if}} {{/if}}
{{plugin-outlet name="user-preferences-account"}}
<br/> <br/>
{{#if model.canDeleteAccount}} {{#if model.canDeleteAccount}}

View File

@ -23,3 +23,5 @@
</div> </div>
</div> </div>
{{/if}} {{/if}}
{{plugin-outlet name="user-preferences-apps"}}

View File

@ -37,6 +37,8 @@
</div> </div>
{{plugin-outlet name="user-preferences-categories"}}
<br/> <br/>
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}} {{plugin-outlet name="user-custom-controls" args=(hash model=model)}}

View File

@ -45,6 +45,8 @@
</div> </div>
{{/unless}} {{/unless}}
{{plugin-outlet name="user-preferences-emails"}}
<br/> <br/>
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}} {{plugin-outlet name="user-custom-controls" args=(hash model=model)}}

View File

@ -36,6 +36,8 @@
</div> </div>
{{/if}} {{/if}}
{{plugin-outlet name="user-preferences-interface"}}
<br/> <br/>
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}} {{plugin-outlet name="user-custom-controls" args=(hash model=model)}}

View File

@ -35,6 +35,8 @@
<div class="instructions">{{i18n 'user.muted_users_instructions'}}</div> <div class="instructions">{{i18n 'user.muted_users_instructions'}}</div>
</div> </div>
{{plugin-outlet name="user-preferences-notifications"}}
<br/> <br/>
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}} {{plugin-outlet name="user-custom-controls" args=(hash model=model)}}

View File

@ -97,6 +97,8 @@
</div> </div>
</div> </div>
{{plugin-outlet name="user-preferences-profile"}}
{{plugin-outlet name="user-custom-preferences" args=(hash model=model)}} {{plugin-outlet name="user-custom-preferences" args=(hash model=model)}}
<br/> <br/>

View File

@ -29,6 +29,8 @@
</div> </div>
{{plugin-outlet name="user-preferences-tags"}}
<br/> <br/>
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}} {{plugin-outlet name="user-custom-controls" args=(hash model=model)}}