Merge branch 'gm-job-offer-author' into 'master'

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

Closes #79

See merge request startinblox/applications/sib-app!32
This commit is contained in:
Jean-Baptiste Pasquier 2019-05-17 17:15:10 +00:00
commit 4222e681b4
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;