Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions app/views/member/jobs/_form.html.haml
Original file line number Diff line number Diff line change
@@ -1,50 +1,51 @@
#new_job
%h4 Job post details
.row
.large-6.columns
.small-12.columns
= f.input :title, required: true
.row
.large-12.columns
.small-12.columns
= f.input :description, input_html: { rows: 10 }, required: true
.row
.large-6.columns
.small-12.columns
= f.input :salary, required: true
.row
.large-6.columns
.small-12.columns
= f.input :remote, wrapper: :checkbox
%br
.row
.large-6.columns
.small-12.columns
= f.input :email
.row
.large-6.columns
.small-12.columns
= f.input :link_to_job, required: true
.row
.large-6.columns
.small-12.columns
= f.input :expiry_date, as: :string, required: true, input_html: { data: { value: @job.expiry_date.try(:strftime, '%d/%m/%Y') } }

%hr
%h4 Company details
.row
.large-6.columns
.small-12.columns
= f.input :company, required: true
.row
.large-6.columns
.small-12.columns
= f.input :company_website, required: true
.row
.large-6.columns
.small-12.columns
= f.input :location, required: true

.row
%small
= t('member.jobs.new.optional_details_message')
.small-12.columns
%small
= t('member.jobs.new.optional_details_message')

.row
.large-6.columns
.small-12.columns
= f.input :company_address
.row
.large-6.columns
.small-12.columns
= f.input :company_postcode
.row
.large-12.columns
.small-12.columns
= f.submit "Submit job for approval", class: "button"
65 changes: 38 additions & 27 deletions app/views/member/jobs/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,47 @@
%span=t('member.jobs.new.title')

.row
.large-12.columns
%p=t('member.jobs.new.description')

.row
.large-12.columns
.small-12.large-5.large-push-7.columns
.panel
%p=t('member.jobs.new.rules_intro')
%ul.no-bullet
%li
%input#work-details{type: 'checkbox'}
%label{for: 'work-details'}= t('member.jobs.new.details')
%li
%input#roles{type: 'checkbox'}
%label{for: 'roles'}= t('member.jobs.new.suitability')
%li
%input#pay{type: 'checkbox'}
%label{for: 'pay'}= t('member.jobs.new.salary')
%li
%input#short{type: 'checkbox'}
%label{for: 'short'}= t('member.jobs.new.short')
%li
%input#payment{type: 'checkbox'}
%label{for: 'payment'}= t('member.jobs.new.pay.html', link: new_payment_path)

.row
.large-12.columns
%li.row.collapse
.small-1.columns.text-center
%input#roles{type: 'checkbox'}
.small-11.columns.mb1
%label{for: 'roles'}= t('member.jobs.new.suitability')
%li.row.collapse
.small-1.columns.text-center
%input#degree{type: 'checkbox'}
.small-11.columns.mb1
%label{for: 'degree'}= t('member.jobs.new.degree')
%li.row.collapse
.small-1.columns.text-center
%input#experience{type: 'checkbox'}
.small-11.columns.mb1
%label{for: 'experience'}= t('member.jobs.new.experience')
%li.row.collapse
.small-1.columns.text-center
%input#work-details{type: 'checkbox'}
.small-11.columns.mb1
%label{for: 'work-details'}= t('member.jobs.new.details')
%li.row.collapse
.small-1.columns.text-center
%input#short{type: 'checkbox'}
.small-11.columns.mb1
%label{for: 'short'}= t('member.jobs.new.short')
%li.row.collapse
.small-1.columns.text-center
%input#pay{type: 'checkbox'}
.small-11.columns.mb1
%label{for: 'pay'}= t('member.jobs.new.salary')
%li.row.collapse
.small-1.columns.text-center
%input#payment{type: 'checkbox'}
.small-11.columns
%label{for: 'payment'}= t('member.jobs.new.pay.html', link: new_payment_path)
%p= raw t('member.jobs.new.newsletter')

%br
.row
.large-12.columns
%br
.small-12.large-7.large-pull-5.columns
= simple_form_for @job, url: member_jobs_path, method: :post do |f|
= render partial: 'form', locals: { f: f }
2 changes: 1 addition & 1 deletion config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ de:
salary: der Job ein angemessenes Gehalt bietet
short: "der Eintrag kurz und auf den Punkt ist"
approval_info: "*Nach dem Abschicken wird der Job sichtbar sobald er geprüft und bestätigt wurde."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
12 changes: 7 additions & 5 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,15 +451,17 @@ en:
none: You have no pending job posts.
new:
title: List a job
degree: There is no degree requirement
description: "Our aim is to be the one stop shop for junior developer roles! All jobs featured on our jobs board fall under the following three categories; paid internships, apprenticeships or junior developer roles. We will not share jobs that are looking for senior, mid-weight, or junior developer with 2 years of industry experience. Each job that is submitted will be approved by the codebar team before appearing on the job board."
details: The job description details the work that will have to be undertaken
experience: There is no previous experience requirement
rules_intro: "Before posting make sure that:"
details: Your post details the work that will have to be undertaken
suitability: "It's suitable for people looking for Internships and Junior roles that will enable them to build up their career"
suitability: The position is suitable for people looking for internships, apprenticeships or junior level roles that will enable them to build up their career
salary: The job pays an appropriate salary
short: "It's short and to the point"
short: The job description is short and to the point
approval_info: "*Once submitted, a job will be visible once it has been reviewed and approved."
optional_details_message: "The information below is only required if you want this job post to be shared with Google Search UK."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
optional_details_message: The information below is only required if you want this job post to be shared with Google Search UK.
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
11 changes: 7 additions & 4 deletions config/locales/en_AU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,17 @@ en-AU:
none: You have no pending job posts.
new:
title: List a job
degree: There is no degree requirement
description: "Our aim is to be the one stop shop for junior developer roles! All jobs featured on our jobs board fall under the following three categories; paid internships, apprenticeships or junior developer roles. We will not share jobs that are looking for senior, mid-weight, or junior developer with 2 years of industry experience. Each job that is submitted will be approved by the codebar team before appearing on the job board."
details: The job description details the work that will have to be undertaken
experience: There is no previous experience requirement
rules_intro: "Before posting make sure that:"
details: Your post details the work that will have to be undertaken
suitability: "It's suitable for people looking for Internships and Junior roles that will enable them to build up their career"
suitability: The position is suitable for people looking for internships, apprenticeships or junior level roles that will enable them to build up their career
salary: The job pays an appropriate salary
short: "It's short and to the point"
short: The job description is short and to the point
approval_info: "*Once submitted, a job will be visible once it has been reviewed and approved."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
optional_details_message: The information below is only required if you want this job post to be shared with Google Search UK.
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
11 changes: 7 additions & 4 deletions config/locales/en_GB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,17 @@ en-GB:
none: You have no pending job posts.
new:
title: List a job
degree: There is no degree requirement
description: "Our aim is to be the one stop shop for junior developer roles! All jobs featured on our jobs board fall under the following three categories; paid internships, apprenticeships or junior developer roles. We will not share jobs that are looking for senior, mid-weight, or junior developer with 2 years of industry experience. Each job that is submitted will be approved by the codebar team before appearing on the job board."
details: The job description details the work that will have to be undertaken
experience: There is no previous experience requirement
rules_intro: "Before posting make sure that:"
details: Your post details the work that will have to be undertaken
suitability: "It's suitable for people looking for Internships and Junior roles that will enable them to build up their career"
suitability: The position is suitable for people looking for internships, apprenticeships or junior level roles that will enable them to build up their career
salary: The job pays an appropriate salary
short: "It's short and to the point"
short: The job description is short and to the point
approval_info: "*Once submitted, a job will be visible once it has been reviewed and approved."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
optional_details_message: The information below is only required if you want this job post to be shared with Google Search UK.
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
11 changes: 7 additions & 4 deletions config/locales/en_US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,17 @@ en-US:
none: You have no pending job posts.
new:
title: List a job
degree: There is no degree requirement
description: "Our aim is to be the one stop shop for junior developer roles! All jobs featured on our jobs board fall under the following three categories; paid internships, apprenticeships or junior developer roles. We will not share jobs that are looking for senior, mid-weight, or junior developer with 2 years of industry experience. Each job that is submitted will be approved by the codebar team before appearing on the job board."
details: The job description details the work that will have to be undertaken
experience: There is no previous experience requirement
rules_intro: "Before posting make sure that:"
details: Your post details the work that will have to be undertaken
suitability: "It's suitable for people looking for Internships and Junior roles that will enable them to build up their career"
suitability: The position is suitable for people looking for internships, apprenticeships or junior level roles that will enable them to build up their career
salary: The job pays an appropriate salary
short: "It's short and to the point"
short: The job description is short and to the point
approval_info: "*Once submitted, a job will be visible once it has been reviewed and approved."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
optional_details_message: The information below is only required if you want this job post to be shared with Google Search UK.
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
11 changes: 7 additions & 4 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,17 @@ es:
none: You have no pending job posts.
new:
title: List a job
degree: There is no degree requirement
description: "Our aim is to be the one stop shop for junior developer roles! All jobs featured on our jobs board fall under the following three categories; paid internships, apprenticeships or junior developer roles. We will not share jobs that are looking for senior, mid-weight, or junior developer with 2 years of industry experience. Each job that is submitted will be approved by the codebar team before appearing on the job board."
details: The job description details the work that will have to be undertaken
experience: There is no previous experience requirement
rules_intro: "Before posting make sure that:"
details: Your post details the work that will have to be undertaken
suitability: "It's suitable for people looking for Internships and Junior roles that will enable them to build up their career"
suitability: The position is suitable for people looking for internships, apprenticeships or junior level roles that will enable them to build up their career
salary: The job pays an appropriate salary
short: "It's short and to the point"
short: The job description is short and to the point
approval_info: "*Once submitted, a job will be visible once it has been reviewed and approved."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
optional_details_message: The information below is only required if you want this job post to be shared with Google Search UK.
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
11 changes: 7 additions & 4 deletions config/locales/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,17 @@ fi:
none: You have no pending job posts.
new:
title: List a job
degree: There is no degree requirement
description: "Our aim is to be the one stop shop for junior developer roles! All jobs featured on our jobs board fall under the following three categories; paid internships, apprenticeships or junior developer roles. We will not share jobs that are looking for senior, mid-weight, or junior developer with 2 years of industry experience. Each job that is submitted will be approved by the codebar team before appearing on the job board."
details: The job description details the work that will have to be undertaken
experience: There is no previous experience requirement
rules_intro: "Before posting make sure that:"
details: Your post details the work that will have to be undertaken
suitability: "It's suitable for people looking for Internships and Junior roles that will enable them to build up their career"
suitability: The position is suitable for people looking for internships, apprenticeships or junior level roles that will enable them to build up their career
salary: The job pays an appropriate salary
short: "It's short and to the point"
short: The job description is short and to the point
approval_info: "*Once submitted, a job will be visible once it has been reviewed and approved."
newsletter: "For an additional <strong>£250</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
optional_details_message: The information below is only required if you want this job post to be shared with Google Search UK.
newsletter: "For an additional <strong>£200</strong> you can have your job listing featured in our newsletter and made available to an audience of over 10000 students and coaches. To find out more details and when our next newsletter is due send us an email at <a href='mailto:hello@codebar.io'>hello@codebar.io</a>."
pay:
html: You have made the <a href="%{link}">required payment of £50</a>.
button:
Expand Down
Loading