Couple job profile fixes.

This commit is contained in:
Nick Winter 2014-04-15 08:39:18 -07:00
parent 04014ef2d7
commit 03df078d5a
4 changed files with 4 additions and 3 deletions

View file

@ -455,7 +455,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
allProps = allProps.concat (@thang.moreProgrammableProperties ? [])
for property in allProps
if m = property.match /.*(Range|Distance)$/
if m = property.match /.*(Range|Distance|Radius)$/
if @thang[m[0]]? and @thang[m[0]] < 9001
@ranges.push
name: m[0]

View file

@ -54,7 +54,7 @@ module.exports = class Mark extends CocoClass
if @name is 'bounds' then @buildBounds()
else if @name is 'shadow' then @buildShadow()
else if @name is 'debug' then @buildDebug()
else if @name.match(/.+(Range|Distance)$/) then @buildRadius(@name)
else if @name.match(/.+(Range|Distance|Radius)$/) then @buildRadius(@name)
else if @thangType then @buildSprite()
else console.error "Don't know how to build mark for", @name
@mark?.mouseEnabled = false

View file

@ -33,6 +33,7 @@
.job-profile-container
width: 100%
height: 100%
min-height: 600px
padding: 0
display: table

View file

@ -68,7 +68,7 @@ block content
if profile.education.length
h3.experience-header
img.header-icon(src="/images/pages/account/profile/education.png", alt="")
span(data-i18n="account_profile.work_experience") Education
span(data-i18n="account_profile.education") Education
each school in profile.education
div.duration.pull-right= school.duration
| #{school.degree} at #{school.school}