solid-router(default-route='project-profile', hidden) solid-route(name='project-profile') solid-route(name='project-edit') #project-profile(hidden, data-view="project-profile") solid-widget(name='hubl-project-team-contact') template solid-link(data-src='\${value}', next='messages') .content-box__info.flex div#loader-project-profile.loader div div div div .flex.space-between.with-padding.mobile-vertical-align solid-display.mobile-margin__bottom( bind-resources fields='creationDateSet(title, creationDate)' loader-id='loader-project-profile' class-title='word-spacing-right' value-title='' data-trans='value-title=project.profile.creationDate' widget-creationDate='solid-display-value-date' ) solid-ac-checker(permission='acl:Append', bind-resources, nested-field='members') solid-ac-checker(permission='acl:Delete', bind-resources) solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonModify') solid-ac-checker(no-permission='acl:Delete', bind-resources) solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonAdd') div.flex.desktop-button__end solid-ac-checker(permission='acl:Delete', bind-resources) solid-delete( class='button mobile-full-width text-bold text-uppercase button-primary bordered with-icon icon-trash' bind-resources data-label='' data-trans='data-label=project.profile.buttonDelete' next='admin-projects' ) solid-widget(name='hubl-project-leave-button') template solid-delete( class='button mobile-full-width desktop-btn-margin__left text-bold text-uppercase reversed button-secondary bordered with-icon icon-close' data-src="${src}" data-label='' data-trans='data-label=project.profile.buttonQuit' next='project-left' ) solid-ac-checker(no-permission='acl:Delete', bind-resources) solid-display( bind-resources nested-field='members' fields='relation' action-relation='relation' widget-relation='hubl-project-leave-button' search-fields='user' search-widget-user='solid-form-hidden' search-value-user="" hubl-inherit-user-id="search-value-user" ) .flex.space-between solid-display( bind-resources fields='label-captain, captain' value-label-captain='' data-trans='value-label-captain=project.profile.captain', class-label-captain='h2-like' widget-captain='hubl-captain' ) br h2(data-trans='project.profile.subTitle') solid-widget(name='hubl-project-user-admin') template ${value ? "Administrateur" : ""} solid-display.block( bind-resources nested-field='members' fields='classGroup(user.account.picture, sup(user.name, user, is_admin), sub(user.communities, name))' widget-user='hubl-project-team-contact' class-classGroup='user-thumb is-spaced' class-user.account.picture='avatar user-thumb__picture' class-user.name='user-thumb__name' class-user='user-thumb__send' class-is_admin='user-thumb__admin' multiple-user.communities multiple-user.communities-fields="community.name" class-name='user-thumb__lead' widget-classGroup='solid-set-div' widget-user.account.picture='hubl-user-avatar' widget-is_admin='hubl-project-user-admin' ) #project-edit.content-box__height(hidden, data-view="project-edit") include page-project-edit.pug