feature(job-offers): the link to contact the author is now functional

Closes #79
This commit is contained in:
Gaëlle Morin 2019-05-17 18:12:57 +02:00
parent 74096b2870
commit c91c8cb098
2 changed files with 8 additions and 5 deletions

View File

@ -4,13 +4,17 @@ div.job-offers__main
include templates/template-groups.pug
include templates/template-skills.pug
include templates/template-joboffers-filter.pug
sib-widget(name='hd-contact-author')
template
sib-link(next='member-chat', data-src="${value['@id']}") Send a message
div.job-offers__content
h1 New offers
span Here you can find and post offers
sib-display#offers-list(
data-src=`${sdn}/job-offers/`,
data-fields='user-thumb, creationDate, title, description, skills, send',
data-fields='user-thumb, creationDate, title, description, skills, author',
set-user-thumb='author.account.picture, author.first_name, author.groups',
widget-author.account.picture='hd-user-avatar',
@ -20,8 +24,7 @@ div.job-offers__main
widget-skills='skills-name',
multiple-skills,
action-send='member-chat',
label-send='Send a private message',
widget-author='hd-contact-author',
search-range-skills=`${sdn}/skills/`,
search-fields='content, open, skills',

View File

@ -131,7 +131,7 @@
}
}
[name='send'] {
hd-contact-author {
color: $color-244-73-62;
font-size: 1.3rem;
float: right;