From f966fe41a1873cb62b8b5897e03ac1abdd9d180a Mon Sep 17 00:00:00 2001 From: hedudelgado Date: Mon, 17 Oct 2016 17:49:09 +0100 Subject: [PATCH] Add i18n and change variables to snake cased --- src/app/views/apps/modals/app-settings-modal.coffee | 1 + src/app/views/apps/modals/app-settings-modal.html | 10 +++++----- src/locales/en.locale.json | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/views/apps/modals/app-settings-modal.coffee b/src/app/views/apps/modals/app-settings-modal.coffee index 6842ca38..b8b5c9ea 100755 --- a/src/app/views/apps/modals/app-settings-modal.coffee +++ b/src/app/views/apps/modals/app-settings-modal.coffee @@ -28,6 +28,7 @@ angular.module 'mnoEnterpriseAngular' # ---------------------------------------------------------- $scope.helper = {} $scope.helper.canDeleteApp = -> + console.log(app) MnoeOrganizations.can.destroy.appInstance() $scope.helper.canDisplayBilling = -> diff --git a/src/app/views/apps/modals/app-settings-modal.html b/src/app/views/apps/modals/app-settings-modal.html index f8b732cf..6ab5d8b0 100755 --- a/src/app/views/apps/modals/app-settings-modal.html +++ b/src/app/views/apps/modals/app-settings-modal.html @@ -34,14 +34,14 @@

{{ 'mno_enterprise.templates.impac.dock.settings.settings' | translate }}

-
- Free Trial: {{ app.freeTrialEndAt }} +
+ {{ 'mno_enterprise.templates.impac.dock.settings.free_trial' | translate }}: {{ app.free_trial_end_at }}
-
- +
-
Pricing details inside your app
+
{{ 'mno_enterprise.templates.impac.dock.settings.pricing_details' | translate }}
diff --git a/src/locales/en.locale.json b/src/locales/en.locale.json index 357c8874..54f26d96 100644 --- a/src/locales/en.locale.json +++ b/src/locales/en.locale.json @@ -544,6 +544,8 @@ "mno_enterprise.templates.impac.dock.settings.manual_data_sync": "Manual Data Sync", "mno_enterprise.templates.impac.dock.settings.disconnect_link": "Disconnect Link", "mno_enterprise.templates.impac.dock.settings.delete": "Delete", + "mno_enterprise.templates.impac.dock.settings.pricing_details": "Pricing details inside your app", + "mno_enterprise.templates.impac.dock.settings.free_trial": "Free Trial", "mno_enterprise.templates.impac.dock.settings.confirm_app_deletion": "Confirm app deletion", "mno_enterprise.templates.impac.dock.settings.please_note_this_app": "Please note this app is on a monthly plan. Your billing for this app will be calculated pro rata.", "mno_enterprise.templates.impac.dock.settings.delete_instructions": "In order to delete your app, please enter the following statement in the box below.",