2014-01-03 13:32:13 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2014-03-01 01:47:31 -05:00
|
|
|
div
|
|
|
|
ol.breadcrumb
|
|
|
|
li
|
|
|
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
|
|
|
li
|
2014-03-03 15:22:04 -05:00
|
|
|
a(href="/editor/article", data-i18n="editor.article_title") Article Editor
|
2014-03-01 01:47:31 -05:00
|
|
|
li.active
|
2015-10-27 15:09:36 -04:00
|
|
|
| #{view.article.attributes.name}
|
2014-03-01 01:47:31 -05:00
|
|
|
|
2015-10-27 15:09:36 -04:00
|
|
|
- var authorized = !me.get('anonymous');
|
2014-08-29 20:33:25 -04:00
|
|
|
button.article-tool-button(data-i18n="general.version_history").btn.btn-primary#history-button Version History
|
|
|
|
button.article-tool-button(data-toggle="coco-modal", data-target="modal/RevertModal", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true").btn.btn-primary#revert-button Revert
|
|
|
|
button.article-tool-button(data-i18n="article.edit_btn_preview", disabled=authorized === true ? undefined : "true").btn.btn-primary#preview-button Preview
|
|
|
|
button.article-tool-button(data-i18n="common.save", disabled=authorized === true ? undefined : "true").btn.btn-primary#save-button Save
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h3(data-i18n="article.edit_article_title") Edit Article
|
|
|
|
span
|
2015-10-27 15:09:36 -04:00
|
|
|
|: "#{view.article.attributes.name}"
|
2014-03-27 14:35:20 -04:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
#article-treema
|
2015-10-27 15:09:36 -04:00
|
|
|
|
2014-12-12 16:43:20 -05:00
|
|
|
h3(data-i18n="resources.patches") Patches
|
2014-07-07 18:19:22 -04:00
|
|
|
.patches-view
|
2015-10-27 15:09:36 -04:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
hr
|