1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-15 09:34:14 +02:00

Flextype Box Plugin: Admin #125 #117

- Entries Controller/Views implementation
This commit is contained in:
Awilum
2019-06-06 13:32:11 +03:00
parent e2b0dc194d
commit 94c4ec7d74

View File

@@ -178,7 +178,7 @@
</nav>
{% endif %}
{% if is_current_path('admin.entries.index') %}
{% if is_current_path('admin.entries.index') or is_current_path('admin.entries.edit') %}
<div class="entry-editor-heading">
{% for part in parts %}
{% set i = i - 1 %}
@@ -372,7 +372,7 @@
});
$.validate({});
{% if is_current_path('admin.fieldsets.edit') or is_current_path('admin.templates.edit') or is_current_path('admin.snippets.edit') %}
{% if is_current_path('admin.fieldsets.edit') or is_current_path('admin.templates.edit') or is_current_path('admin.snippets.edit') or (is_current_path('admin.entries.edit') and type == 'source') %}
var editor = CodeMirror.fromTextArea(document.getElementById("codeMirrorEditor"), {
lineNumbers: true,
{% if is_current_path('admin.fieldsets.edit') %}