admin panel: outbound email change

This commit is contained in:
yuri
2015-04-17 12:35:46 +03:00
parent 9de2b5f7ef
commit 48cf4a6ed6
7 changed files with 13 additions and 18 deletions
@@ -10,12 +10,9 @@
"defaultCurrency": "Default Currency",
"baseCurrency": "Base Currency",
"currencyRates": "Rate Values",
"currencyList": "Currency List",
"language": "Language",
"companyLogo": "Company Logo",
"smtpServer": "Server",
"smtpPort": "Port",
"smtpAuth": "Auth",
@@ -26,16 +23,12 @@
"outboundEmailFromName": "From Name",
"outboundEmailFromAddress": "From Address",
"outboundEmailIsShared": "Is Shared",
"recordsPerPage": "Records Per Page",
"recordsPerPageSmall": "Records Per Page (Small)",
"tabList": "Tab List",
"quickCreateList": "Quick Create List",
"exportDelimiter": "Export Delimiter",
"globalSearchEntityList": "Global Search Entity List",
"authenticationMethod": "Authentication Method",
"ldapHost": "Host",
"ldapPort": "Port",
@@ -66,7 +59,8 @@
}
},
"tooltips": {
"recordsPerPageSmall": "Count of records in relatinship panels."
"recordsPerPageSmall": "Count of records in relatinship panels.",
"outboundEmailIsShared": "Allow users to sent emails via this SMTP."
},
"labels": {
"System": "System",
@@ -11,8 +11,8 @@
{
"label": "Configuration",
"rows": [
[{"name": "outboundEmailFromName"}, {"name": "outboundEmailFromAddress"}],
[{"name": "outboundEmailIsShared"}]
[{"name": "outboundEmailFromAddress"}, {"name": "outboundEmailIsShared"}],
[{"name": "outboundEmailFromName"}]
]
}
]
@@ -78,7 +78,7 @@
"label":"Email",
"items":[
{
"url":"#Admin/outboundEmail",
"url":"#Admin/outboundEmails",
"label":"Outbound Emails",
"description":"outboundEmails"
},
@@ -73,7 +73,8 @@
},
"outboundEmailIsShared": {
"type": "bool",
"default": false
"default": false,
"tooltip": true
},
"outboundEmailFromName": {
"type": "varchar",
@@ -1 +1 @@
<h3><a href="#Admin">{{translate 'Administration'}}</a> &raquo {{translate 'Outbound Email' scope='Admin'}}</h3>
<h3><a href="#Admin">{{translate 'Administration'}}</a> &raquo {{translate 'Outbound Emails' scope='Admin'}}</h3>
+3 -3
View File
@@ -102,7 +102,7 @@ Espo.define('Controllers.Admin', 'Controller', function (Dep) {
model.fetch();
},
outboundEmail: function () {
outboundEmails: function () {
var model = this.getSettingsModel();
model.once('sync', function () {
@@ -110,8 +110,8 @@ Espo.define('Controllers.Admin', 'Controller', function (Dep) {
this.main('Edit', {
model: model,
views: {
header: {template: 'admin.settings.header-outbound-email'},
body: {view: 'Admin.OutboundEmail'},
header: {template: 'admin.settings.header-outbound-emails'},
body: {view: 'Admin.OutboundEmails'},
},
});
}, this);
@@ -19,11 +19,11 @@
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
************************************************************************/
Espo.define('Views.Admin.OutboundEmail', 'Views.Settings.Record.Edit', function (Dep) {
Espo.define('Views.Admin.OutboundEmails', 'Views.Settings.Record.Edit', function (Dep) {
return Dep.extend({
layoutName: 'outboundEmail',
layoutName: 'outboundEmails',
dependencyDefs: {
'smtpAuth': {