mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 11:32:25 -05:00
25 lines
1 KiB
Text
25 lines
1 KiB
Text
.nano.editor-nano-container
|
|
.nano-content
|
|
button.btn.btn-primary#new-achievement-button(disabled=(me.isAdmin() === true || me.isArtisan() === true) ? undefined : "true" data-i18n="editor.new_achievement_title") Create a New Achievement
|
|
|
|
if !view.achievements.models.length
|
|
.panel
|
|
.panel-body
|
|
p(data-i18n="editor.no_achievements") No achievements added for this level yet.
|
|
else
|
|
table.table.table-hover
|
|
thead
|
|
tr
|
|
th
|
|
th(data-i18n="general.name") Name
|
|
th(data-i18n="general.description") Description
|
|
th XP
|
|
tbody
|
|
each achievement in view.achievements.models
|
|
tr
|
|
td(style="width: 20px")
|
|
img.achievement-icon-small(src=achievement.getImageURL() alt="#{achievement.get('name') icon")
|
|
td
|
|
a(href="/editor/achievement/#{achievement.get('slug')}")= achievement.get('name', true)
|
|
td= achievement.get('description', true)
|
|
td= achievement.get('worth', true)
|