Merge pull request #2385 from nixel2007/master

Update diplomat.jade
This commit is contained in:
Nick Winter 2015-02-23 14:50:04 -08:00
commit 1314695382

View file

@ -70,6 +70,6 @@ block content
span.spl - #{stats.diplomats.join(', ')}
.progress
.progress-bar(style='width: ' + (100 * stats.completion) + '%')
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= (100 * stats.completion).toFixed(1) + '%'
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= Math.min(100, (100 * stats.completion).toFixed(1)) + '%'
div.clearfix