mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-21 04:52:47 -05:00
30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
extends /templates/base
|
|
|
|
block content
|
|
- var authorized = me.isAdmin() || me.isArtisan();
|
|
ol.breadcrumb
|
|
li
|
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
|
li
|
|
a(href="/editor/achievement", data-i18n="editor.achievement_title") Achievement Editor
|
|
li.active
|
|
| #{view.achievement.attributes.name}
|
|
|
|
if authorized
|
|
button.achievement-tool-button(data-i18n="", disabled=me.isAdmin() === true ? undefined : "true").btn.btn-primary#recalculate-all-button Recalculate All
|
|
button.achievement-tool-button(data-i18n="", disabled=me.isAdmin() === true ? undefined : "true").btn.btn-primary#recalculate-button Recalculate
|
|
button.achievement-tool-button(data-i18n="common.delete", disabled=me.isAdmin() === true ? undefined : "true").btn.btn-primary#delete-button Delete
|
|
button.achievement-tool-button(data-i18n="common.save", disabled=(me.isAdmin() === true || me.isArtisan() === true) ? undefined : "true").btn.btn-primary#save-button Save
|
|
|
|
h3(data-i18n="achievement.edit_achievement_title") Edit Achievement
|
|
span
|
|
|: "#{view.achievement.get('name')}"
|
|
|
|
#achievement-treema
|
|
|
|
#achievement-view.clearfix
|
|
|
|
h3(data-i18n="resources.patches") Patches
|
|
.patches-view
|
|
|
|
hr
|