FIX: always-enabled plugins should be, well, enabled

This commit is contained in:
Régis Hanol 2015-09-08 19:28:05 +02:00
parent 2866440968
commit 0e02e0272d
3 changed files with 2 additions and 3 deletions

View File

@ -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]) {

View File

@ -37,7 +37,7 @@
{{i18n "admin.plugins.not_enabled"}}
{{/if}}
{{else}}
{{i18n "admin.plugins.cant_disable"}}
{{i18n "admin.plugins.is_enabled"}}
{{/if}}
</td>
<td>

View File

@ -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?"