feature: circle - private message to member of a circle

This commit is contained in:
gaelle morin 2020-09-15 15:24:45 +02:00
parent 7f4115de40
commit 81b1b33bce
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 20 additions and 1 deletions

View File

@ -37,6 +37,21 @@
margin-right: 1rem;
}
.user-thumb__send {
position: relative;
bottom: 7px;
left: -5px;
solid-link {
@include icon('speech');
&::before {
display: inline-block;
color: #FF6765;
}
}
}
.user-thumb__admin:not(:empty) {
display: block !important;
@extend %tag-admin;

View File

@ -4,11 +4,15 @@ solid-widget(name='hubl-circle-team-template')
template
solid-display.user-thumb.is-spaced(
data-src='${await value.user}'
fields='account.picture, sup(name, isadmin), sub(profile.city)'
fields='account.picture, sup(name, send, isadmin), sub(profile.city)'
value-isadmin='${await value.is_admin}'
action-send="messages"
label-send=""
class-account.picture='avatar user-thumb__picture'
class-name='user-thumb__name'
class-send='user-thumb__send'
class-isadmin='user-thumb__admin'
class-profile.city='user-thumb__city'