stylin, translations
This commit is contained in:
parent
8d24ff455e
commit
0a6ade7ab9
|
@ -6,7 +6,7 @@ export default Ember.Controller.extend({
|
|||
plan.destroy().then(() =>
|
||||
this.controllerFor("adminBackupsIndex")
|
||||
.get("model")
|
||||
.removeObject(backup)
|
||||
.removeObject(plan)
|
||||
);
|
||||
},
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ export default Discourse.Route.extend({
|
|||
actions: {
|
||||
destroyPlan(plan) {
|
||||
bootbox.confirm(
|
||||
I18n.t("discourse-patrons.plans.operations.destroy.confirm"),
|
||||
I18n.t("discourse_patrons.admin.plans.operations.destroy.confirm"),
|
||||
I18n.t("no_value"),
|
||||
I18n.t("yes_value"),
|
||||
confirmed => {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
<h4>{{i18n 'discourse_patrons.admin.plans.title'}}</h4>
|
||||
|
||||
<form class="form-horizontal">
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
{{#link-to 'adminPlugins.discourse-patrons.plans.show' 'new' class="btn btn-primary"}}
|
||||
<p class="btn-right">
|
||||
{{#link-to 'adminPlugins.discourse-patrons.plans.show' 'new' class="btn btn-primary"}}
|
||||
{{d-icon "plus"}}
|
||||
<span>{{i18n 'discourse_patrons.admin.plans.new'}}</span>
|
||||
{{/link-to}}
|
||||
{{/link-to}}
|
||||
</p>
|
||||
|
||||
{{outlet}}
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
|
||||
<h3>{{i18n 'discourse_patrons.admin.plans'}}</h3>
|
||||
<h3>{{i18n 'discourse_patrons.admin.subscriptions.title'}}</h3>
|
||||
|
||||
<table class="table discourse-patrons-admin">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Plan Name</th>
|
||||
<th>Interval</th>
|
||||
<th>Product</th>
|
||||
<th>Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{#each model as |subscription|}}
|
||||
<tr>
|
||||
|
||||
</tr>
|
||||
{{/each}}
|
||||
</table>
|
||||
|
|
|
@ -9,4 +9,6 @@
|
|||
|
||||
<hr>
|
||||
|
||||
{{outlet}}
|
||||
<div id="discourse-patrons-admin">
|
||||
{{outlet}}
|
||||
</div>
|
||||
|
|
|
@ -32,6 +32,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
#discourse-patrons-admin {
|
||||
.btn-right {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.discourse-patrons-admin {
|
||||
.amount {
|
||||
text-align: right;
|
||||
|
|
Loading…
Reference in New Issue