update: groups removed

This commit is contained in:
gaelle morin
2020-05-13 10:16:00 +02:00
parent ef8ad357f7
commit cf30a0e363
13 changed files with 5 additions and 69 deletions

View File

@ -5,7 +5,6 @@ div.content-box__info
sib-form.button-register(
data-src=`${endpoints.users || endpoints.post.users}`
range-groups=`${endpoints.groups || endpoints.get.groups}`
fields='line-1(first_name, last_name), line-2(username, email), line-3(password)'

View File

@ -10,7 +10,6 @@ div.content-box__info
sib-form.button-register(
bind-resources=''
range-groups=`${endpoints.groups || endpoints.get.groups}`
fields='line-1(first_name, last_name), line-2(username, email)'

View File

@ -16,13 +16,6 @@
next="${value}"
)
sib-widget(name='hubl-user-admin-groups-display')
template
sib-display(
data-src="${value}"
fields="name"
)
#admin-users-list(hidden)
div.content-box__info

View File

@ -2,25 +2,18 @@ div.content-box__info
include ../../templates/hubl-user-avatar.pug
sib-widget(name='hubl-user-groups')
template ${await value.name}
sib-widget(name='hubl-team-template-edit')
template
sib-display.user-thumb(
class='w66 cell border cell-with-id-card user-thumb'
data-src='${await value.user}'
fields='account.picture, sup(name, groups), sub(profile.city)'
fields='account.picture, sup(name), sub(profile.city)'
class-account.picture='user-thumb__picture'
class-name='user-thumb__name'
class-groups='user-thumb__groups'
class-profile.city='user-thumb__city'
widget-account.picture='hubl-user-avatar'
multiple-groups=''
widget-groups='hubl-user-groups'
)
sib-ac-checker(