mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Rename "Domaine" to "Domain" that is more like English.
Thanks to xet7 !
This commit is contained in:
parent
17a5505eda
commit
c136033c1f
5 changed files with 8 additions and 8 deletions
|
|
@ -187,7 +187,7 @@ template(name='layoutSettings')
|
|||
li.layout-form
|
||||
.title {{_ 'can-invite-if-same-mailDomainName'}}
|
||||
.form-group
|
||||
input.wekan-form-control#mailDomaineNamevalue(type="text", placeholder="" value="{{currentSetting.mailDomaineName}}")
|
||||
input.wekan-form-control#mailDomainNamevalue(type="text", placeholder="" value="{{currentSetting.mailDomainName}}")
|
||||
li.layout-form
|
||||
.title {{_ 'display-authentication-method'}}
|
||||
.form-group.flex
|
||||
|
|
|
|||
|
|
@ -205,8 +205,8 @@ BlazeComponent.extendComponent({
|
|||
)
|
||||
.val()
|
||||
.trim();
|
||||
const mailDomaineName = $(
|
||||
'#mailDomaineNamevalue',
|
||||
const mailDomainName = $(
|
||||
'#mailDomainNamevalue',
|
||||
)
|
||||
.val()
|
||||
.trim();
|
||||
|
|
@ -233,7 +233,7 @@ BlazeComponent.extendComponent({
|
|||
automaticLinkedUrlSchemes,
|
||||
spinnerName,
|
||||
oidcBtnText,
|
||||
mailDomaineName,
|
||||
mailDomainName,
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
|
|||
|
|
@ -30,12 +30,12 @@ Template.memberMenuPopup.helpers({
|
|||
},
|
||||
isSameDomainNameSettingValue(){
|
||||
const currSett = Settings.findOne();
|
||||
if(currSett && currSett != undefined && currSett.disableRegistration && currSett.mailDomaineName !== undefined && currSett.mailDomaineName != ""){
|
||||
if(currSett && currSett != undefined && currSett.disableRegistration && currSett.mailDomainName !== undefined && currSett.mailDomainName != ""){
|
||||
currentUser = Meteor.user();
|
||||
if (currentUser) {
|
||||
let found = false;
|
||||
for(let i = 0; i < currentUser.emails.length; i++) {
|
||||
if(currentUser.emails[i].address.endsWith(currSett.mailDomaineName)){
|
||||
if(currentUser.emails[i].address.endsWith(currSett.mailDomainName)){
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ Settings.attachSchema(
|
|||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
mailDomaineName: {
|
||||
mailDomainName: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ Meteor.publish('setting', () => {
|
|||
defaultAuthenticationMethod: 1,
|
||||
spinnerName: 1,
|
||||
oidcBtnText: 1,
|
||||
mailDomaineName: 1,
|
||||
mailDomainName: 1,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue