mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-03 04:17:12 -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
|
||||
padding-bottom: 5px
|
||||
padding-top: 10px
|
||||
.candidate-name-cell
|
||||
position: relative
|
||||
top: 10px
|
||||
//refactor later, bad practice
|
||||
|
||||
|
||||
.border_row
|
||||
border-bottom: 1px solid #d3d3d3
|
||||
vertical-align: bottom
|
||||
padding-top: 0px
|
||||
td
|
||||
padding-top: 0px
|
||||
padding-bottom: 5px
|
||||
.description_row td
|
||||
padding-bottom: 0px
|
||||
padding-top: 15px
|
||||
|
||||
#results
|
||||
display: inline-block
|
||||
|
|
|
@ -93,9 +93,10 @@ block content
|
|||
td(rowspan=3)
|
||||
.candidate-picture
|
||||
img(src=candidate.getPhotoURL(50,false,true), alt=profile.name, title=profile.name, width=50)
|
||||
td
|
||||
strong
|
||||
| #{profile.name}
|
||||
if !isntEmployer
|
||||
td.candidate-name-cell
|
||||
strong
|
||||
| #{profile.name}
|
||||
tr.description_row(data-candidate-id=candidate.id)
|
||||
if curated && 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.
|
||||
//this will break in i18n. Fix the inlining
|
||||
p(data-i18n="employers.weeding_blurb")
|
||||
| Every candidate that has a
|
||||
span.glyphicon.glyphicon-earphone
|
||||
| icon has already gone through a phone screen with us. We only feature developers that we would work with.
|
||||
| We only feature developers that we would work with. We've reviewed each profile (in addition to meeting with many of the candidates.)
|
||||
.reason
|
||||
img(class="employer_icon" src="/images/pages/employer/employer_icon3.png")
|
||||
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._ = _
|
||||
ctx.numberOfCandidates = ctx.featuredCandidates.length
|
||||
ctx.isntEmployer = not (@isEmployer() or me.isAdmin())
|
||||
ctx
|
||||
|
||||
isEmployer: ->
|
||||
|
|
Loading…
Reference in a new issue