FIX: always-enabled plugins should be, well, enabled
This commit is contained in:
parent
2866440968
commit
0e02e0272d
|
@ -6,7 +6,7 @@ export default Ember.Route.extend({
|
|||
actions: {
|
||||
showSettings(plugin) {
|
||||
const controller = this.controllerFor('adminSiteSettings');
|
||||
this.transitionTo('adminSiteSettingsCategory', 'plugins').then(function() {
|
||||
this.transitionTo('adminSiteSettingsCategory', 'plugins').then(() => {
|
||||
if (plugin) {
|
||||
const match = /^(.*)_enabled/.exec(plugin.get('enabled_setting'));
|
||||
if (match[1]) {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
{{i18n "admin.plugins.not_enabled"}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{i18n "admin.plugins.cant_disable"}}
|
||||
{{i18n "admin.plugins.is_enabled"}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
|
|
|
@ -1931,7 +1931,6 @@ en:
|
|||
enabled: "Enabled?"
|
||||
is_enabled: "Y"
|
||||
not_enabled: "N"
|
||||
cant_disable: "-"
|
||||
change_settings: "Change Settings"
|
||||
change_settings_short: "Settings"
|
||||
howto: "How do I install plugins?"
|
||||
|
|
Loading…
Reference in New Issue