From 216ca01fa47dc7976034951281178d7c7b9c139b Mon Sep 17 00:00:00 2001 From: Gaelle Morin Date: Mon, 17 Dec 2018 13:58:03 +0100 Subject: [PATCH] send private message added --- src/page-job-offers.pug | 16 ++++++++++------ src/styles/job-offers.scss | 10 ++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/page-job-offers.pug b/src/page-job-offers.pug index 18a1c60..5c15ee2 100644 --- a/src/page-job-offers.pug +++ b/src/page-job-offers.pug @@ -4,16 +4,20 @@ div.grid-layer span Here you can find and post offers sib-display#offers-list( data-src=`${sdn}/job-offers/`, - data-fields='status, user-thumb, creation, title, description, skills', - widget-skills='sib-display-lookuplist', + data-fields='status, user-thumb, creation, title, description, skills, send', + set-status='closingDate', + widget-closingDate='hdapp-closing-date', set-user-thumb='author.profile.picture, author.first_name, author.member.roles.ldp:contains.name', widget-author.profile.picture='sib-display-img', - set-status='closingDate', set-creation='creationDate', - widget-closingDate='hdapp-closing-date', - set-content='title, description', + widget-skills='sib-display-lookuplist', + set-send='before-send-link, send-link', + value-before-send-link='', + value-send-link='Send a private message', + template-send-link='chat-link' + search-range-skills=`${sdn}/skills/`, search-fields='content,skills,open', - search-range-skills=`${sdn}/skills/` + set-content='title, description' ) div.grid-layer-links.containerV template#groups-list-template diff --git a/src/styles/job-offers.scss b/src/styles/job-offers.scss index 3db274b..8615211 100644 --- a/src/styles/job-offers.scss +++ b/src/styles/job-offers.scss @@ -46,6 +46,16 @@ line-height: 1.6; } +[name='send'] { + color: $color-blue-light; + font-size: 13px; + text-align: right; + + > sib-link { + cursor: pointer; + } +} + [name='status'] { float: right; display: flex;