Reordered i18n in rough order of section importance. Deprecated employer/candidate pages for now and turned off candidate emails.
This commit is contained in:
parent
ddc359cf10
commit
16ff8c6601
7 changed files with 1010 additions and 1004 deletions
app
locale
styles
templates
server/routes
1600
app/locale/en.coffee
1600
app/locale/en.coffee
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,12 @@
|
||||||
#employers-view
|
#employers-view
|
||||||
|
.deprecation-warning
|
||||||
|
text-align: center
|
||||||
|
margin-bottom: 50px
|
||||||
|
|
||||||
|
.deprecated
|
||||||
|
cursor: default
|
||||||
|
opacity: 0.25
|
||||||
|
|
||||||
.artisanal-claim
|
.artisanal-claim
|
||||||
background: transparent url(/images/pages/employer/artisanal_claim.png) no-repeat center
|
background: transparent url(/images/pages/employer/artisanal_claim.png) no-repeat center
|
||||||
margin-bottom: 5px
|
margin-bottom: 5px
|
||||||
|
|
|
@ -104,11 +104,11 @@ block content
|
||||||
h3.panel-title
|
h3.panel-title
|
||||||
i.glyphicon.glyphicon-wrench
|
i.glyphicon.glyphicon-wrench
|
||||||
a(href="account/settings#password" data-i18n="general.password") Password
|
a(href="account/settings#password" data-i18n="general.password") Password
|
||||||
.panel.panel-default
|
//.panel.panel-default
|
||||||
.panel-heading
|
// .panel-heading
|
||||||
h3.panel-title
|
// h3.panel-title
|
||||||
i.glyphicon.glyphicon-briefcase
|
// i.glyphicon.glyphicon-briefcase
|
||||||
a(href="account/settings#job-profile" data-i18n="account_settings.job_profile") Job Profile
|
// a(href="account/settings#job-profile" data-i18n="account_settings.job_profile") Job Profile
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
h2(data-i18n="user.recently_played") Recently Played
|
h2(data-i18n="user.recently_played") Recently Played
|
||||||
hr
|
hr
|
||||||
|
|
|
@ -63,9 +63,6 @@ body
|
||||||
.footer.clearfix
|
.footer.clearfix
|
||||||
.content
|
.content
|
||||||
p.footer-link-text
|
p.footer-link-text
|
||||||
if pathname == "/" || (me.get('permissions', true)).indexOf('employer') != -1
|
|
||||||
a(href='/employers', tabindex=-1, data-i18n="nav.employers") Employers
|
|
||||||
else
|
|
||||||
a(href='/', tabindex=-1, data-i18n="nav.home") Home
|
a(href='/', tabindex=-1, data-i18n="nav.home") Home
|
||||||
a(href='/play/ladder', tabindex=-1, data-i18n="home.multiplayer") Multiplayer
|
a(href='/play/ladder', tabindex=-1, data-i18n="home.multiplayer") Multiplayer
|
||||||
a(href='/community', tabindex=-1, data-i18n="nav.community") Community
|
a(href='/community', tabindex=-1, data-i18n="nav.community") Community
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
extends /templates/recruitment_base
|
extends /templates/recruitment_base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
.deprecation-warning
|
||||||
|
h1(data-i18n="employers.deprecation_warning_title") Sorry, CodeCombat is not recruiting right now.
|
||||||
|
p(data-i18n="employers.deprecation_warning") We are focusing on beginner levels instead of finding expert developers for the time being.
|
||||||
|
|
||||||
|
.deprecated
|
||||||
.artisanal-claim
|
.artisanal-claim
|
||||||
if me.get('anonymous')
|
if me.get('anonymous')
|
||||||
a#login-link(data-i18n="login.log_in") Log In
|
a#login-link(data-i18n="login.log_in") Log In
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
each i in Array(level.difficulty)
|
each i in Array(level.difficulty)
|
||||||
i.icon-star
|
i.icon-star
|
||||||
- var playCount = levelPlayCountMap[level.id]
|
- var playCount = levelPlayCountMap[level.id]
|
||||||
if playCount && playCount > 20
|
if playCount && playCount.sessions > 20
|
||||||
div
|
div
|
||||||
span.spr #{playCount.sessions}
|
span.spr #{playCount.sessions}
|
||||||
span(data-i18n="play.players") players
|
span(data-i18n="play.players") players
|
||||||
|
|
|
@ -21,20 +21,20 @@ module.exports.setup = (app) ->
|
||||||
setupScheduledEmails = ->
|
setupScheduledEmails = ->
|
||||||
testForLockManager()
|
testForLockManager()
|
||||||
mailTasks = [
|
mailTasks = [
|
||||||
taskFunction: candidateUpdateProfileTask
|
# taskFunction: candidateUpdateProfileTask
|
||||||
frequencyMs: 10 * 60 * 1000 #10 minutes
|
# frequencyMs: 10 * 60 * 1000 #10 minutes
|
||||||
,
|
#,
|
||||||
taskFunction: internalCandidateUpdateTask
|
# taskFunction: internalCandidateUpdateTask
|
||||||
frequencyMs: 10 * 60 * 1000 #10 minutes
|
# frequencyMs: 10 * 60 * 1000 #10 minutes
|
||||||
,
|
#,
|
||||||
taskFunction: employerNewCandidatesAvailableTask
|
# taskFunction: employerNewCandidatesAvailableTask
|
||||||
frequencyMs: 10 * 60 * 1000 #10 minutes
|
# frequencyMs: 10 * 60 * 1000 #10 minutes
|
||||||
,
|
#,
|
||||||
taskFunction: unapprovedCandidateFinishProfileTask
|
# taskFunction: unapprovedCandidateFinishProfileTask
|
||||||
frequencyMs: 10 * 60 * 1000
|
# frequencyMs: 10 * 60 * 1000
|
||||||
,
|
#,
|
||||||
taskFunction: emailUserRemarkTaskRemindersTask
|
# taskFunction: emailUserRemarkTaskRemindersTask
|
||||||
frequencyMs: 10 * 60 * 1000
|
# frequencyMs: 10 * 60 * 1000
|
||||||
]
|
]
|
||||||
|
|
||||||
for mailTask in mailTasks
|
for mailTask in mailTasks
|
||||||
|
|
Reference in a new issue