feature: Display circle subtitle on circle listing page

This commit is contained in:
Fabien Quatravaux 2021-01-14 18:34:58 +01:00 committed by Jean-Baptiste Pasquier
parent 1a063b0fcc
commit 9de00c1f25
4 changed files with 18 additions and 10 deletions

View File

@ -49,6 +49,9 @@
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
} }
&>.align-left {
text-align: left;
}
solid-multiple[name="user.communities"] { solid-multiple[name="user.communities"] {
text-align: left; text-align: left;
} }
@ -170,8 +173,11 @@
} }
.cell-with-name { .cell-with-name {
color: var(--color-secondary); .main-information, &.main-information {
font-weight: 600; color: var(--color-secondary);
font-weight: 600;
display: block;
}
padding-left: 2rem; padding-left: 2rem;
text-align: left; text-align: left;
} }

View File

@ -56,7 +56,7 @@
) )
hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}` target-src='${src}') hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}` target-src='${src}')
hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}joinable/` target-src='${src}') hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}joinable/` target-src='${src}')
hubl-reactivity(bind-user nested-field="circles" target-src='${src}') hubl-reactivity(bind-user nested-field="circles", target-src='${src}')
if (endpoints.post && endpoints.post.circles) && (endpoints.get && endpoints.get.circles) if (endpoints.post && endpoints.post.circles) && (endpoints.get && endpoints.get.circles)
hubl-reactivity(data-src=`${endpoints.post.circles}joinable/` target-src=`${src}`) hubl-reactivity(data-src=`${endpoints.post.circles}joinable/` target-src=`${src}`)
hubl-reactivity(data-src=`${endpoints.post.circles}` target-src=`${src}`) hubl-reactivity(data-src=`${endpoints.post.circles}` target-src=`${src}`)
@ -66,10 +66,11 @@
bind-user bind-user
nested-field='circles' nested-field='circles'
fields='circle.name, circle.owner, leaveButton' fields='info(circle.name, circle.subtitle), circle.owner, leaveButton'
loader-id='loader-admin-circles' loader-id='loader-admin-circles'
class-circle.name='w280 border cell-with-name' class-info='w280 border cell-with-name align-left'
class-circle.name='main-information'
class-circle.owner='w280 border cell-with-id-card' class-circle.owner='w280 border cell-with-id-card'
class-leaveButton='w280 border cell-with-buttons is-spaced' class-leaveButton='w280 border cell-with-buttons is-spaced'
@ -94,7 +95,7 @@
) )
hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}` target-src='${value}') hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}` target-src='${value}')
hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}joinable/` target-src='${value}') hubl-reactivity(data-src=`${endpoints.circles || endpoints.get.circles}joinable/` target-src='${value}')
hubl-reactivity(bind-user nested-field="circles" target-src='${value}') hubl-reactivity(bind-user nested-field="circles", target-src='${value}')
if (endpoints.post && endpoints.post.circles) && (endpoints.get && endpoints.get.circles) if (endpoints.post && endpoints.post.circles) && (endpoints.get && endpoints.get.circles)
hubl-reactivity(data-src=`${endpoints.post.circles}joinable/` target-src=`${value}`) hubl-reactivity(data-src=`${endpoints.post.circles}joinable/` target-src=`${value}`)
hubl-reactivity(data-src=`${endpoints.post.circles}` target-src=`${value}`) hubl-reactivity(data-src=`${endpoints.post.circles}` target-src=`${value}`)
@ -103,10 +104,11 @@
class='table-body' class='table-body'
data-src=`${endpoints.circles || endpoints.get.circles}joinable/` data-src=`${endpoints.circles || endpoints.get.circles}joinable/`
fields='name, owner, members' fields='info(name, subtitle), owner, members'
loader-id='loader-admin-circles' loader-id='loader-admin-circles'
class-name='w280 border cell-with-name' class-info='w280 border cell-with-name align-left'
class-name='main-information'
class-owner='w280 border cell-with-id-card' class-owner='w280 border cell-with-id-card'
widget-owner='hubl-circle-owner' widget-owner='hubl-circle-owner'

View File

@ -37,7 +37,7 @@
fields='community.name, community' fields='community.name, community'
loader-id='loader-admin-community' loader-id='loader-admin-community'
class-community.name='w450 border cell-with-name' class-community.name='w450 border cell-with-name main-information'
class-community='w370 border cell-with-buttons is-spaced' class-community='w370 border cell-with-buttons is-spaced'
widget-community='hubl-action-community' widget-community='hubl-action-community'

View File

@ -87,7 +87,7 @@
fields='project.name, project.members, project.captain, leaveButton' fields='project.name, project.members, project.captain, leaveButton'
loader-id='loader-admin-projects' loader-id='loader-admin-projects'
class-project.name='w280 cell border cell-with-name' class-project.name='w280 cell border cell-with-name main-information'
class-project.members='w280 cell border cell-with-id-card' class-project.members='w280 cell border cell-with-id-card'
class-project.captain='w280 cell border cell-with-id-card' class-project.captain='w280 cell border cell-with-id-card'
class-leaveButton='w230 cell border cell-with-buttons is-spaced' class-leaveButton='w230 cell border cell-with-buttons is-spaced'