Merge pull request from duybkict/fix-1874

fix issue 
This commit is contained in:
Scott Erickson 2016-05-12 09:11:39 -07:00
commit 0770a61534
2 changed files with 8 additions and 4 deletions
app
styles/play
templates/play

View file

@ -60,10 +60,8 @@
a[disabled] .level
opacity: 0.7
a.complete .level-difficulty:after
content: " - Complete!"
a .level-difficulty .level-status-complete
color: $yellow
a.started .level-difficulty:after
content: " - Started"
a .level-difficulty .level-status-started
color: desaturate($yellow, 50%)

View file

@ -23,5 +23,11 @@ block content
if playCount
span.spl.spr - #{playCount.sessions}
span(data-i18n="play.players") players
if (view.levelStatusMap[level.id]=='complete')
span.spl.spr -
span(class="level-status-#{view.levelStatusMap[level.id]}", data-i18n="clans.complete_2")
else if (view.levelStatusMap[level.id]=='started')
span.spl.spr -
span(class="level-status-#{view.levelStatusMap[level.id]}", data-i18n="clans.started_2")
.play-text-container
.overlay-text.play-text(data-i18n="common.play") Play