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
|
|
|
|
2014-08-31 02:04:45 -04:00
|
|
|
if !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
|
|
|
|
each achievement in achievements.models
|
|
|
|
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)
|