2015-02-25 21:41:39 -05:00
|
|
|
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
|
2014-08-05 09:14:51 -04:00
|
|
|
|
2015-12-21 10:51:46 -05:00
|
|
|
if !view.achievements.models.length
|
2014-08-05 09:14:51 -04:00
|
|
|
.panel
|
|
|
|
.panel-body
|
2014-08-12 07:41:14 -04:00
|
|
|
p(data-i18n="editor.no_achievements") No achievements added for this level yet.
|
2014-08-05 09:14:51 -04:00
|
|
|
else
|
|
|
|
table.table.table-hover
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th
|
2014-08-12 07:41:14 -04:00
|
|
|
th(data-i18n="general.name") Name
|
|
|
|
th(data-i18n="general.description") Description
|
2014-08-05 09:14:51 -04:00
|
|
|
th XP
|
|
|
|
tbody
|
2015-12-21 10:51:46 -05:00
|
|
|
each achievement in view.achievements.models
|
2014-08-05 09:14:51 -04:00
|
|
|
tr
|
|
|
|
td(style="width: 20px")
|
|
|
|
img.achievement-icon-small(src=achievement.getImageURL() alt="#{achievement.get('name') icon")
|
|
|
|
td
|
2014-09-02 19:48:16 -04:00
|
|
|
a(href="/editor/achievement/#{achievement.get('slug')}")= achievement.get('name', true)
|
|
|
|
td= achievement.get('description', true)
|
|
|
|
td= achievement.get('worth', true)
|