FIX: clicking 'Show Email' on admin page wasn't working
This commit is contained in:
parent
b12b2b1911
commit
3c3008fec3
|
@ -49,7 +49,7 @@
|
||||||
{{#if model.email}}
|
{{#if model.email}}
|
||||||
<a href="mailto:{{unbound model.email}}">{{model.email}}</a>
|
<a href="mailto:{{unbound model.email}}">{{model.email}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="btn" title="{{i18n 'admin.users.check_email.title'}}" {{action "checkEmail" this}}>{{fa-icon "envelope-o"}} {{i18n 'admin.users.check_email.text'}}</button>
|
<button class="btn" title="{{i18n 'admin.users.check_email.title'}}" {{action "checkEmail" model}}>{{fa-icon "envelope-o"}} {{i18n 'admin.users.check_email.text'}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
{{#if model.associated_accounts}}
|
{{#if model.associated_accounts}}
|
||||||
{{model.associated_accounts}}
|
{{model.associated_accounts}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="btn" title="{{i18n 'admin.users.check_email.title'}}" {{action "checkEmail" this}}>{{fa-icon "envelope-o"}} {{i18n 'admin.users.check_email.text'}}</button>
|
<button class="btn" title="{{i18n 'admin.users.check_email.title'}}" {{action "checkEmail" model}}>{{fa-icon "envelope-o"}} {{i18n 'admin.users.check_email.text'}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -314,7 +314,7 @@
|
||||||
{{i18n 'admin.user.suspended_explanation'}}
|
{{i18n 'admin.user.suspended_explanation'}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if model.canSuspend}}
|
{{#if model.canSuspend}}
|
||||||
<button class='btn btn-danger' {{action "showSuspendModal" this}}>
|
<button class='btn btn-danger' {{action "showSuspendModal" model}}>
|
||||||
{{fa-icon "ban"}}
|
{{fa-icon "ban"}}
|
||||||
{{i18n 'admin.user.suspend'}}
|
{{i18n 'admin.user.suspend'}}
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue