2014-05-21 07:52:09 -04:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2014-05-31 17:55:26 -04:00
|
|
|
if me.isAdmin()
|
|
|
|
div
|
|
|
|
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
|
|
|
|
| #{achievement.attributes.name}
|
2014-05-21 07:52:09 -04:00
|
|
|
|
2014-06-08 18:33:06 -04:00
|
|
|
button(data-i18n="", disabled=me.isAdmin() === true ? undefined : "true").btn.btn-primary#recalculate-button Recalculate
|
|
|
|
button(data-i18n="common.save", disabled=me.isAdmin() === true ? undefined : "true").btn.btn-primary#save-button Save
|
2014-05-21 07:52:09 -04:00
|
|
|
|
2014-06-08 18:33:06 -04:00
|
|
|
h3(data-i18n="achievement.edit_achievement_title") Edit Achievement
|
|
|
|
span
|
|
|
|
|: "#{achievement.attributes.name}"
|
2014-05-21 07:52:09 -04:00
|
|
|
|
2014-06-08 18:33:06 -04:00
|
|
|
#achievement-treema
|
2014-05-21 07:52:09 -04:00
|
|
|
|
2014-06-08 18:33:06 -04:00
|
|
|
#achievement-view
|
2014-05-21 07:52:09 -04:00
|
|
|
|
2014-06-08 18:33:06 -04:00
|
|
|
hr
|
|
|
|
|
|
|
|
div#error-view
|
2014-05-21 07:52:09 -04:00
|
|
|
|
2014-05-31 17:55:26 -04:00
|
|
|
else
|
|
|
|
.alert.alert-danger
|
|
|
|
span Admin only. Turn around.
|