hubl/src/views/partials/project/page-project-profile.pug

124 lines
4.7 KiB
Plaintext
Raw Normal View History

2020-06-18 18:02:54 +00:00
solid-router(default-route='project-profile', hidden)
solid-route(name='project-profile')
solid-route(name='project-edit')
2020-10-19 14:12:14 +00:00
#project-profile(hidden, data-view="project-profile")
2020-12-29 13:14:23 +00:00
solid-ac-checker.block(permission='acl:Read', bind-resources)
div.segment.lg-full.padding-large.border-bottom.border-color-grey
2020-12-08 16:34:04 +00:00
solid-display.text-xxlarge.text-letter-spacing-large(
bind-resources
fields='const-title1, number, customer.name, dash, name'
class-const-title1='text-color-heading text-bold text-uppercase'
class-number='text-color-heading text-bold text-uppercase word-spacing-right'
class-customer.name='text-color-heading text-bold text-uppercase'
class-dash='text-color-heading text-bold text-xlarge'
class-name=''
value-const-title1='N°'
value-dash=' - '
)
div.segment.lg-hidden
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='project.menuRight.buttonMobile')
2020-10-08 07:55:56 +00:00
solid-widget(name='hubl-project-team-contact')
template
solid-link.icon.icon-secondary.hover.icon-speech(data-src='\${value}', next='messages')
2020-10-08 07:55:56 +00:00
2020-12-29 13:14:23 +00:00
div.segment.lg-full.padding-large
2020-09-03 10:15:47 +00:00
div#loader-project-profile.loader
div
div
div
div
2020-12-29 13:14:23 +00:00
div.whitespace-normal
solid-display.segment.lg-half(
bind-resources
fields='creationDateSet(title, creationDate)'
2020-09-03 10:15:47 +00:00
loader-id='loader-project-profile'
2019-12-19 13:10:09 +00:00
class-title='word-spacing-right'
2020-10-21 13:31:05 +00:00
value-title=''
data-trans='value-title=project.profile.creationDate'
2020-09-14 13:41:10 +00:00
widget-creationDate='solid-display-value-date'
)
2020-12-29 13:14:23 +00:00
solid-ac-checker.segment.lg-half.text-right.margin-bottom-large(permission='acl:Append', bind-resources, nested-field='members')
2020-09-03 10:15:47 +00:00
solid-ac-checker(permission='acl:Delete', bind-resources)
2020-12-08 16:34:04 +00:00
solid-link(class='button text-xsmall text-bold text-uppercase reversed color-secondary bordered icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonModify')
2020-09-03 10:15:47 +00:00
solid-ac-checker(no-permission='acl:Delete', bind-resources)
2020-12-08 16:34:04 +00:00
solid-link(class='button text-xsmall text-bold text-uppercase reversed color-secondary bordered icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonAdd')
2020-12-29 13:14:23 +00:00
solid-ac-checker.segment.lg-full.text-right.margin-bottom-large(permission='acl:Delete', bind-resources)
solid-delete(
class='button text-xsmall text-bold text-uppercase color-secondary bordered'
bind-resources
data-label=''
data-trans='data-label=project.profile.buttonDelete'
next='admin-projects'
)
2020-12-29 13:14:23 +00:00
solid-widget(name='hubl-project-leave-button')
2020-09-03 10:15:47 +00:00
template
solid-delete(
2020-12-08 16:34:04 +00:00
class='button text-xsmall text-bold text-uppercase color-secondary bordered'
2020-09-03 10:15:47 +00:00
data-src="${src}"
2020-10-21 13:31:05 +00:00
data-label=''
data-trans='data-label=project.profile.buttonQuit'
2020-09-03 10:15:47 +00:00
next='project-left'
)
2020-12-29 13:14:23 +00:00
solid-ac-checker.segment.lg-full.text-right.margin-bottom-large(no-permission='acl:Delete', bind-resources)
2020-09-03 10:15:47 +00:00
solid-display(
2020-12-29 13:14:23 +00:00
bind-resources
nested-field='members'
fields='relation'
2020-09-03 10:15:47 +00:00
2020-12-29 13:14:23 +00:00
action-relation='relation'
widget-relation='hubl-project-leave-button'
2020-09-03 10:15:47 +00:00
2020-12-29 13:14:23 +00:00
search-fields='user'
search-widget-user='solid-form-hidden'
search-value-user=""
2020-09-03 10:15:47 +00:00
2020-12-29 13:14:23 +00:00
hubl-inherit-user-id="search-value-user"
2020-09-03 10:15:47 +00:00
)
2020-12-29 13:14:23 +00:00
h3.text-color-heading.text-bold.text-letter-spacing-large(data-trans='project.profile.captain')
2020-12-10 12:52:10 +00:00
solid-display(
bind-resources
fields='captain'
widget-captain='hubl-captain'
)
h3.text-color-heading.text-bold.text-letter-spacing-large(data-trans='project.profile.subTitle')
solid-display.segment.lg-full.labelled-avatar.two-lines.whitespace-normal.children.lg-children-full.children-margin-bottom-medium(
bind-resources
2020-09-14 13:41:10 +00:00
nested-field='members'
fields='segment1(user.account.picture), segment2(line1(user.name, user), line2(atom, user.communities))'
2020-10-08 07:55:56 +00:00
class-segment1='segment'
class-user.account.picture='avatar'
2020-09-14 13:41:10 +00:00
class-segment2='segment lg-three-quarter margin-left-xsmall'
class-line1='block'
class-user.name='text-semibold text-color-heading text-sub word-spacing-right'
class-line2='block'
class-atom='icon icon-large icon-third mdi-atom'
class-user.communities='lg-full word-spacing-left'
2020-12-10 12:52:10 +00:00
2020-10-13 16:18:13 +00:00
multiple-user.communities
multiple-user.communities-fields="community.name"
2020-09-14 13:41:10 +00:00
widget-user.account.picture='hubl-user-avatar'
widget-user='hubl-project-team-contact'
)
2020-12-11 17:13:03 +00:00
#project-edit(hidden, data-view="project-edit")
include page-project-edit.pug