mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
25 lines
820 B
Text
25 lines
820 B
Text
extends /templates/base
|
|
|
|
block content
|
|
if !unauthorized
|
|
div
|
|
ol.breadcrumb
|
|
li
|
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
|
li.active(data-i18n="#{currentEditor}")
|
|
| #{currentEditor}
|
|
|
|
if me.isAdmin() || !newModelsAdminOnly
|
|
if me.get('anonymous')
|
|
a.btn.btn-primary.open-modal-button(data-toggle="coco-modal", data-target="core/AuthModal", role="button", data-i18n="#{currentNewSignup}") Log in to Create a New Something
|
|
else
|
|
a.btn.btn-primary.open-modal-button#new-model-button(data-i18n="#{currentNew}") Create a New Something
|
|
input#search(data-i18n="[placeholder]#{currentSearch}")
|
|
hr
|
|
div.results
|
|
table
|
|
|
|
else
|
|
.alert.alert-danger
|
|
span Admin only. Turn around.
|
|
// TODO Ruben prettify
|