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