hubl/src/page-job-offers.pug

49 lines
1.5 KiB
Plaintext

div.job-offers__main
include templates/hd-user-avatar.pug
include templates/template-groups.pug
include templates/template-skills.pug
include templates/template-joboffers-filter.pug
sib-widget(name='hd-contact-author')
template
p ${JSON.stringify(value)}
sib-link(next='messages', data-src="${value.profile['@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, author',
set-user-thumb='author.account.picture, author.first_name, author.groups',
widget-author.account.picture='hd-user-avatar',
widget-author.groups='groups-name',
multiple-author.groups,
widget-skills='skills-name',
multiple-skills,
widget-author='hd-contact-author',
search-range-skills=`${sdn}/skills/`,
search-fields='content, open, skills',
set-content='title, description',
search-label-content='Search by keyword',
search-label-skills='Search by skills',
search-widget-content='sib-form-placeholder-text',
search-widget-skills='sib-form-placeholder-dropdown',
search-widget-open='joboffers-filter'
)
div.job-offers__newoffer
template#groups-list-template
p ${value}
sib-link(next="job-offer-create").plus-button
div.icon-plus
div Post a new offer