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) {
|
||||
console.log(model)
|
||||
controller.set('model', model);
|
||||
controller.setup();
|
||||
},
|
||||
|
|
|
@ -7,11 +7,14 @@
|
|||
<a {{action "unauthorize"}} title={{i18n "admin.wizard.pro.unauthorize"}}>
|
||||
{{i18n "admin.wizard.pro.unauthorize"}}
|
||||
</a>
|
||||
<label>{{i18n "admin.wizard.pro.authorized"}}</label>
|
||||
<label title={{i18n "admin.wizard.pro.authorized"}}>
|
||||
{{i18n "admin.wizard.pro.authorized"}}
|
||||
</label>
|
||||
{{else}}
|
||||
{{d-button
|
||||
icon="id-card"
|
||||
label="admin.wizard.pro.authorize"
|
||||
title="admin.wizard.pro.authorize"
|
||||
action=(route-action "authorize")}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -13,18 +13,16 @@
|
|||
icon="sync"
|
||||
action=(action "update")
|
||||
disabled=updating
|
||||
title="admin.wizard.pro.subscription.update"
|
||||
label="admin.wizard.pro.subscription.update"}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if subscribed}}
|
||||
<div class="detail-container">
|
||||
<div class="subscription-state {{stateClass}}">{{stateLabel}}</div>
|
||||
<div class="subscription-updated-at">
|
||||
{{{i18n
|
||||
'admin.wizard.pro.subscription.last_updated'
|
||||
updated_at=(format-date subscription.updated_at leaveAgo="true")
|
||||
}}}
|
||||
<div class="subscription-state {{stateClass}}" title={{stateLabel}}>{{stateLabel}}</div>
|
||||
<div class="subscription-updated-at" title={{subscription.updated_at}}>
|
||||
{{{i18n 'admin.wizard.pro.subscription.last_updated' updated_at=(format-date subscription.updated_at leaveAgo="true")}}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
Laden …
In neuem Issue referenzieren