mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 04:41:42 -05:00
Table styling/ copy edit
This commit is contained in:
parent
cbd6cacd61
commit
f704a33ece
3 changed files with 18 additions and 7 deletions
|
@ -146,10 +146,21 @@
|
||||||
margin-top: 10px
|
margin-top: 10px
|
||||||
padding-bottom: 5px
|
padding-bottom: 5px
|
||||||
padding-top: 10px
|
padding-top: 10px
|
||||||
|
.candidate-name-cell
|
||||||
|
position: relative
|
||||||
|
top: 10px
|
||||||
|
//refactor later, bad practice
|
||||||
|
|
||||||
|
|
||||||
.border_row
|
.border_row
|
||||||
border-bottom: 1px solid #d3d3d3
|
border-bottom: 1px solid #d3d3d3
|
||||||
vertical-align: bottom
|
vertical-align: bottom
|
||||||
padding-top: 0px
|
td
|
||||||
|
padding-top: 0px
|
||||||
|
padding-bottom: 5px
|
||||||
|
.description_row td
|
||||||
|
padding-bottom: 0px
|
||||||
|
padding-top: 15px
|
||||||
|
|
||||||
#results
|
#results
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
|
|
@ -93,9 +93,10 @@ block content
|
||||||
td(rowspan=3)
|
td(rowspan=3)
|
||||||
.candidate-picture
|
.candidate-picture
|
||||||
img(src=candidate.getPhotoURL(50,false,true), alt=profile.name, title=profile.name, width=50)
|
img(src=candidate.getPhotoURL(50,false,true), alt=profile.name, title=profile.name, width=50)
|
||||||
td
|
if !isntEmployer
|
||||||
strong
|
td.candidate-name-cell
|
||||||
| #{profile.name}
|
strong
|
||||||
|
| #{profile.name}
|
||||||
tr.description_row(data-candidate-id=candidate.id)
|
tr.description_row(data-candidate-id=candidate.id)
|
||||||
if curated && curated.shortDescription
|
if curated && curated.shortDescription
|
||||||
td.candidate-description #{curated.shortDescription}
|
td.candidate-description #{curated.shortDescription}
|
||||||
|
@ -136,9 +137,7 @@ block content
|
||||||
h3(data-i18n="employers.weeding") We've done the weeding for you.
|
h3(data-i18n="employers.weeding") We've done the weeding for you.
|
||||||
//this will break in i18n. Fix the inlining
|
//this will break in i18n. Fix the inlining
|
||||||
p(data-i18n="employers.weeding_blurb")
|
p(data-i18n="employers.weeding_blurb")
|
||||||
| Every candidate that has a
|
| We only feature developers that we would work with. We've reviewed each profile (in addition to meeting with many of the candidates.)
|
||||||
span.glyphicon.glyphicon-earphone
|
|
||||||
| icon has already gone through a phone screen with us. We only feature developers that we would work with.
|
|
||||||
.reason
|
.reason
|
||||||
img(class="employer_icon" src="/images/pages/employer/employer_icon3.png")
|
img(class="employer_icon" src="/images/pages/employer/employer_icon3.png")
|
||||||
h3(data-i18n="employers.pass_screen") They will pass your technical screen.
|
h3(data-i18n="employers.pass_screen") They will pass your technical screen.
|
||||||
|
|
|
@ -155,6 +155,7 @@ module.exports = class EmployersView extends View
|
||||||
ctx.moment = moment
|
ctx.moment = moment
|
||||||
ctx._ = _
|
ctx._ = _
|
||||||
ctx.numberOfCandidates = ctx.featuredCandidates.length
|
ctx.numberOfCandidates = ctx.featuredCandidates.length
|
||||||
|
ctx.isntEmployer = not (@isEmployer() or me.isAdmin())
|
||||||
ctx
|
ctx
|
||||||
|
|
||||||
isEmployer: ->
|
isEmployer: ->
|
||||||
|
|
Loading…
Reference in a new issue