mirror of
https://github.com/wekan/wekan.git
synced 2026-02-27 02:14:06 +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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue