diff --git a/src/header.pug b/src/header.pug index 0f37c0b..152e567 100644 --- a/src/header.pug +++ b/src/header.pug @@ -1,5 +1,6 @@ #logo - img(src="/images/logo.png" width=111 height=32) + sib-link(next='members') + img(src='/images/logo.png' width=111 height=32) #search-bar input#search-input(type='search') diff --git a/src/page-job-offers.pug b/src/page-job-offers.pug index 51ad526..4e32f44 100644 --- a/src/page-job-offers.pug +++ b/src/page-job-offers.pug @@ -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', diff --git a/src/styles/layout/job-offers/job-offers.scss b/src/styles/layout/job-offers/job-offers.scss index 066372c..d061294 100644 --- a/src/styles/layout/job-offers/job-offers.scss +++ b/src/styles/layout/job-offers/job-offers.scss @@ -131,7 +131,7 @@ } } - [name='send'] { + hd-contact-author { color: $color-244-73-62; font-size: 1.3rem; float: right;