Extensibility points for user/preferences
This commit is contained in:
parent
4cfea21aa2
commit
bf7e0188e5
|
@ -10,6 +10,7 @@ export default Ember.Controller.extend(CanCheckEmails, PreferencesTabController,
|
|||
saveAttrNames: ['name'],
|
||||
|
||||
canEditName: setting('enable_names'),
|
||||
canSaveUser: true,
|
||||
|
||||
newNameInput: null,
|
||||
|
||||
|
|
|
@ -95,11 +95,13 @@
|
|||
|
||||
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}}
|
||||
|
||||
<div class="control-group save-button">
|
||||
{{#if canSaveUser}}
|
||||
<div class="control-group save-button">
|
||||
<div class="controls">
|
||||
{{partial 'user/preferences/save-button'}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#if model.canDeleteAccount}}
|
||||
|
|
Loading…
Reference in New Issue