Update pro admin title attributes
Dieser Commit ist enthalten in:
Ursprung
a27c222dc6
Commit
a7904a28af
3 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
|
@ -7,7 +7,6 @@ export default DiscourseRoute.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
setupController(controller, model) {
|
setupController(controller, model) {
|
||||||
console.log(model)
|
|
||||||
controller.set('model', model);
|
controller.set('model', model);
|
||||||
controller.setup();
|
controller.setup();
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,11 +7,14 @@
|
||||||
<a {{action "unauthorize"}} title={{i18n "admin.wizard.pro.unauthorize"}}>
|
<a {{action "unauthorize"}} title={{i18n "admin.wizard.pro.unauthorize"}}>
|
||||||
{{i18n "admin.wizard.pro.unauthorize"}}
|
{{i18n "admin.wizard.pro.unauthorize"}}
|
||||||
</a>
|
</a>
|
||||||
<label>{{i18n "admin.wizard.pro.authorized"}}</label>
|
<label title={{i18n "admin.wizard.pro.authorized"}}>
|
||||||
|
{{i18n "admin.wizard.pro.authorized"}}
|
||||||
|
</label>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{d-button
|
{{d-button
|
||||||
icon="id-card"
|
icon="id-card"
|
||||||
label="admin.wizard.pro.authorize"
|
label="admin.wizard.pro.authorize"
|
||||||
|
title="admin.wizard.pro.authorize"
|
||||||
action=(route-action "authorize")}}
|
action=(route-action "authorize")}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,18 +13,16 @@
|
||||||
icon="sync"
|
icon="sync"
|
||||||
action=(action "update")
|
action=(action "update")
|
||||||
disabled=updating
|
disabled=updating
|
||||||
|
title="admin.wizard.pro.subscription.update"
|
||||||
label="admin.wizard.pro.subscription.update"}}
|
label="admin.wizard.pro.subscription.update"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if subscribed}}
|
{{#if subscribed}}
|
||||||
<div class="detail-container">
|
<div class="detail-container">
|
||||||
<div class="subscription-state {{stateClass}}">{{stateLabel}}</div>
|
<div class="subscription-state {{stateClass}}" title={{stateLabel}}>{{stateLabel}}</div>
|
||||||
<div class="subscription-updated-at">
|
<div class="subscription-updated-at" title={{subscription.updated_at}}>
|
||||||
{{{i18n
|
{{{i18n 'admin.wizard.pro.subscription.last_updated' updated_at=(format-date subscription.updated_at leaveAgo="true")}}}
|
||||||
'admin.wizard.pro.subscription.last_updated'
|
|
||||||
updated_at=(format-date subscription.updated_at leaveAgo="true")
|
|
||||||
}}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
Laden …
In neuem Issue referenzieren