feature: new page to display info about a circle and add members
- New styles for "add users" drodown - New custom widget to display members - Use of the permission system
This commit is contained in:
16
src/templates/hd-circle-team.pug
Normal file
16
src/templates/hd-circle-team.pug
Normal file
@ -0,0 +1,16 @@
|
||||
include hd-user-avatar.pug
|
||||
|
||||
sib-widget(name='team-template')
|
||||
template
|
||||
sib-display(
|
||||
data-src="${await value}"
|
||||
fields='account.picture, sup(name, groups), sub(profile.city)'
|
||||
|
||||
widget-account.picture='hd-user-avatar'
|
||||
widget-groups='hd-user-groups'
|
||||
|
||||
multiple-groups=''
|
||||
)
|
||||
|
||||
sib-widget(name='hd-user-groups')
|
||||
template ${await value.name}
|
@ -21,3 +21,4 @@ sib-widget(name='team-template')
|
||||
data-src="${value.user ? value.user['@id'] : ''}"
|
||||
fields='username'
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user