From 8729e8b6311005f62dbddbd466139768165b1316 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Wed, 16 Sep 2020 17:19:28 +0200 Subject: [PATCH] feature: circle - private message to member of a project: widget added --- src/templates/hubl-project-team.pug | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/templates/hubl-project-team.pug b/src/templates/hubl-project-team.pug index 8125a41..76c02c4 100644 --- a/src/templates/hubl-project-team.pug +++ b/src/templates/hubl-project-team.pug @@ -1,18 +1,21 @@ include hubl-user-avatar.pug +solid-widget(name='hubl-project-team-contact') + template + solid-link(data-src='\${value}', next='messages') + solid-widget(name='hubl-project-team') template solid-display.user-thumb.is-spaced( data-src='${await value}' - fields='user.account.picture, sup(user.name, send, isadmin), sub(user.profile.city, name)' + fields='user.account.picture, sup(user.name, user, isadmin), sub(user.profile.city, name)' value-isadmin='${await value.is_admin}' - action-send="messages" - label-send="" + widget-user='hubl-project-team-contact' class-user.account.picture='avatar user-thumb__picture' class-user.name='user-thumb__name' - class-send='user-thumb__send' + class-user='user-thumb__send' class-isadmin='user-thumb__admin' class-user.profile.city='user-thumb__city' class-name='user-thumb__lead'