mirror of
https://github.com/wekan/wekan.git
synced 2026-01-05 09:08:49 +01:00
Add a possibility for non admin users who have email on a given domain name (in Admin panel settings) to send an invitation for inscription
This commit is contained in:
parent
344094ec18
commit
b51152fca4
8 changed files with 145 additions and 5 deletions
|
|
@ -49,6 +49,11 @@ template(name="memberMenuPopup")
|
|||
i.fa.fa-lock
|
||||
| {{_ 'admin-panel'}}
|
||||
hr
|
||||
if isSameDomainNameSettingValue
|
||||
li
|
||||
a.js-invite-people
|
||||
i.fa.fa-envelope
|
||||
| {{_ 'invite-people'}}
|
||||
if isNotOAuth2AuthenticationMethod
|
||||
li
|
||||
a.js-edit-profile
|
||||
|
|
@ -80,6 +85,30 @@ template(name="memberMenuPopup")
|
|||
i.fa.fa-sign-out
|
||||
| {{_ 'log-out'}}
|
||||
|
||||
template(name="invitePeoplePopup")
|
||||
ul#registration-setting.setting-detail
|
||||
li
|
||||
#invite-people-infos
|
||||
li
|
||||
br
|
||||
li
|
||||
.invite-people(class="{{#if currentSetting.disableRegistration}}{{else}}hide{{/if}}")
|
||||
ul
|
||||
li
|
||||
.title {{_ 'invite-people'}}
|
||||
textarea#email-to-invite.wekan-form-control(rows='5', placeholder="{{_ 'email-addresses'}}")
|
||||
li
|
||||
.title {{_ 'to-boards'}}
|
||||
.bg-white
|
||||
each boards
|
||||
a.option.flex.js-toggle-board-choose(id= _id)
|
||||
.materialCheckBox(data-id= _id)
|
||||
|
||||
span= title
|
||||
|
||||
li
|
||||
button.js-email-invite.primary {{_ 'invite'}}
|
||||
|
||||
template(name="editProfilePopup")
|
||||
form
|
||||
label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue