fix: project admin

This commit is contained in:
Jean-Baptiste Pasquier 2021-01-25 17:08:17 +01:00
parent 2b732c7525
commit 3287257eb0

View File

@ -79,26 +79,22 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
value-at='@'
)
solid-form-search(
id="hubl_project_is_admin"
fields="is_admin"
value-is_admin='true'
widget-is_admin='solid-form-hidden'
)
solid-widget(name='hubl-project-admins')
template
solid-display(
data-src='${value}'
fields='user'
search-fields='is_admin'
search-value-is_admin='true'
search-widget-is_admin='solid-form-hidden'
filtered-by='hubl_project_is_admin'
widget-user='hubl-project-captain'
)
solid-widget(name='hubl-admin-project-leave-button')
template
solid-delete(
class='button text-xsmall text-bold text-uppercase color-secondary bordered'
data-src="${src}"
data-label=''
data-trans='data-label=project.list.buttonQuit'
)
solid-display(
class='table-body'