2014-01-14 01:29:58 -05:00
extends /templates/base
block content
2014-04-11 15:49:44 -04:00
h1(data-i18n="employers.want_to_hire_our_players") Want to hire expert CodeCombat players?
p
span(data-i18n="employers.candidates_count_prefix") We currently have
if candidates.length
| #{candidates.length}
else
span(data-i18n="employers.candidates_count_many") many
|
span(data-i18n="employers.candidates_count_suffix") highly skilled and vetted developers looking for work.
h3
a(title='Contact', tabindex=-1, data-toggle="coco-modal", data-target="modal/employer_signup", data-i18n="employers.contact_george") Contact George to see our candidates
2014-01-14 01:29:58 -05:00
2014-04-06 20:01:56 -04:00
if candidates.length
table.table.table-condensed.table-hover.table-responsive.tablesorter
thead
tr
2014-04-11 15:49:44 -04:00
th(data-i18n="general.name") Name
th(data-i18n="employers.candidate_location") Location
th(data-i18n="employers.candidate_looking_for") Looking For
th(data-i18n="employers.candidate_role") Role
th(data-i18n="employers.candidate_top_skills") Top Skills
th(data-i18n="employers.candidate_years_experience") Yrs Exp
th(data-i18n="employers.candidate_last_updated") Last Updated
2014-04-07 20:58:02 -04:00
if me.isAdmin()
2014-04-24 15:24:22 -04:00
th(data-i18n="employers.candidate_us") Us?
th(data-i18n="employers.candidate_them") Them?
2014-04-06 20:01:56 -04:00
tbody
for candidate, index in candidates
- var profile = candidate.get('jobProfile');
2014-04-07 18:21:05 -04:00
- var authorized = candidate.id; // If we have the id, then we are authorized.
tr(data-candidate-id=candidate.id)
2014-04-06 20:01:56 -04:00
td
if authorized
2014-04-09 19:46:44 -04:00
img(src=candidate.getPhotoURL(50), alt=profile.name, title=profile.name, width=50)
2014-04-06 20:01:56 -04:00
p= profile.name
else
2014-04-09 19:46:44 -04:00
img(src="/images/pages/contribute/archmage.png", alt="", title="Sign up as an employer to see our candidates", width=50)
2014-04-06 20:01:56 -04:00
p Developer ##{index + 1}
if profile.country == 'USA'
td= profile.city
else
td= profile.country
td= profile.lookingFor
2014-04-11 15:49:44 -04:00
td= profile.jobTitle
2014-04-07 18:21:05 -04:00
td
2014-04-11 15:49:44 -04:00
each skill in profile.skills.slice(0, 10)
2014-04-07 18:21:05 -04:00
code= skill
span
2014-04-06 20:01:56 -04:00
td= profile.experience
2014-04-24 14:08:42 -04:00
td(data-profile-age=(new Date() - new Date(profile.updated)) / 86400 / 1000)= moment(profile.updated).fromNow()
2014-04-07 20:58:02 -04:00
if me.isAdmin()
if candidate.get('jobProfileApproved')
td ✓
else
2014-04-23 13:21:58 -04:00
td ✗
if profile.active
2014-04-24 14:08:42 -04:00
td ✓
2014-04-23 13:21:58 -04:00
else
2014-04-24 14:08:42 -04:00
td ✗