mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 18:15:52 -05:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
extends /templates/base
|
|
|
|
block content
|
|
if selectedLanguage
|
|
.progress
|
|
.progress-bar.progress-bar-info(role="progressbar" aria-valuenow=progress aria-valuemin="0" aria-valuemax="100" style="width: "+progress+"%")= progress+"%"
|
|
|
|
table.table.table-condensed
|
|
tr
|
|
th
|
|
select#language-select.form-control.input-sm
|
|
option(value='') Select one...
|
|
|
|
th Translated Name
|
|
th Type
|
|
th Specifically Covered
|
|
th Generally Covered
|
|
|
|
if selectedLanguage
|
|
for model in collection.models
|
|
-var translatedName = ''
|
|
-if (model.get('i18n') != undefined)
|
|
-if (model.get('i18n').hasOwnProperty(selectedLanguage))
|
|
-translatedName = model.get('i18n')[selectedLanguage].name
|
|
|
|
tr
|
|
td
|
|
a(href=model.i18nURLBase+model.get('slug'))= model.get('name')
|
|
td= translatedName
|
|
td= model.constructor.className
|
|
td(class=model.specificallyCovered ? 'success' : 'danger')= model.specificallyCovered ? 'Yes' : 'No'
|
|
td(class=model.generallyCovered ? 'success' : 'danger')= model.generallyCovered ? 'Yes' : 'No'
|