diff --git a/dev/Screen/User/Settings.js b/dev/Screen/User/Settings.js index 473fed7e2..259cc2a72 100644 --- a/dev/Screen/User/Settings.js +++ b/dev/Screen/User/Settings.js @@ -53,11 +53,9 @@ 'SettingsContacts', 'SETTINGS_LABELS/LABEL_CONTACTS_NAME', 'contacts'); } - if (Settings.capa(Enums.Capa.AdditionalAccounts)) - { - kn.addSettingsViewModel(require('Settings/User/Accounts'), - 'SettingsAccounts', 'SETTINGS_LABELS/LABEL_ACCOUNTS_NAME', 'accounts'); - } + kn.addSettingsViewModel(require('Settings/User/Accounts'), 'SettingsAccounts', + Settings.capa(Enums.Capa.AdditionalAccounts) ? + 'SETTINGS_LABELS/LABEL_ACCOUNTS_NAME' : 'SETTINGS_LABELS/LABEL_IDENTITIES_NAME', 'accounts'); if (Settings.capa(Enums.Capa.Sieve)) { diff --git a/dev/Settings/User/Accounts.js b/dev/Settings/User/Accounts.js index 98982210d..d7856ee61 100644 --- a/dev/Settings/User/Accounts.js +++ b/dev/Settings/User/Accounts.js @@ -14,6 +14,7 @@ AccountStore = require('Stores/User/Account'), IdentityStore = require('Stores/User/Identity'), + Settings = require('Storage/Settings'), Remote = require('Storage/User/Remote') ; @@ -22,6 +23,9 @@ */ function AccountsUserSettings() { + this.allowAdditionalAccount = Settings.capa(Enums.Capa.AdditionalAccounts); + this.allowIdentities = true; + this.accounts = AccountStore.accounts; this.identities = IdentityStore.identities; diff --git a/dev/View/Admin/Settings/Menu.js b/dev/View/Admin/Settings/Menu.js index c77975c4a..5aab0d423 100644 --- a/dev/View/Admin/Settings/Menu.js +++ b/dev/View/Admin/Settings/Menu.js @@ -6,7 +6,6 @@ var _ = require('_'), - Enums = require('Common/Enums'), Globals = require('Common/Globals'), kn = require('Knoin/Knoin'), diff --git a/dev/View/Popup/Contacts.js b/dev/View/Popup/Contacts.js index 1a61b0c2c..5ba47fcd5 100644 --- a/dev/View/Popup/Contacts.js +++ b/dev/View/Popup/Contacts.js @@ -242,8 +242,7 @@ aC = this.contactsCheckedOrSelected(), aToEmails = null, aCcEmails = null, - aBccEmails = null, - aReplyToEmails = null + aBccEmails = null ; if (Utils.isNonEmptyArray(aC)) diff --git a/package.json b/package.json index e5dcbadbc..6ec71e77d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "RainLoop", "title": "RainLoop Webmail", "version": "1.8.1", - "release": "259", + "release": "260", "description": "Simple, modern & fast web-based email client", "homepage": "http://rainloop.net", "main": "gulpfile.js", @@ -36,7 +36,7 @@ "plugins" ], "readmeFilename": "README.md", - "ownCloudPackageVersion": "3.0", + "ownCloudPackageVersion": "3.1", "engines": { "node": ">= 0.10.0" }, diff --git a/rainloop/v/0.0.0/app/templates/Views/User/SettingsAccounts.html b/rainloop/v/0.0.0/app/templates/Views/User/SettingsAccounts.html index cbc59e5ad..8e797050a 100644 --- a/rainloop/v/0.0.0/app/templates/Views/User/SettingsAccounts.html +++ b/rainloop/v/0.0.0/app/templates/Views/User/SettingsAccounts.html @@ -1,87 +1,91 @@
-
-
- -     - +
+
+
+ +     + +
+ + +    + + +
+
+
+ + + + + + + + + + + + + +
- - -    - - -
-
-
- - - - - - - - - - - - - -
-
-
-
- +
+
+
+
+ +
+ + +    + + +
+
+
+ + + + + + + + + + + + + +
+ + +    + + + + + + + + + + +
- - -    - - -
-
-
- - - - - - - - - - - - - -
- - -    - - - - - - - - - - -
\ No newline at end of file