transfer depuis gogs
This commit is contained in:
4
system/templates/flex/404.html.twig
Normal file
4
system/templates/flex/404.html.twig
Normal file
@@ -0,0 +1,4 @@
|
||||
{% set item = collection ?? object %}
|
||||
{% set type = collection ? 'collection' : 'object' %}
|
||||
|
||||
ERROR: Layout '{{ layout }}' for flex {{ type }} '{{ item.flexType() }}' was not found.
|
@@ -0,0 +1,5 @@
|
||||
<h1>{{ directory.getTitle() }} <small>debug dump</small></h1>
|
||||
|
||||
{% for object in collection %}
|
||||
{% render object layout: layout %}
|
||||
{% endfor %}
|
4
system/templates/flex/_default/object/debug.html.twig
Normal file
4
system/templates/flex/_default/object/debug.html.twig
Normal file
@@ -0,0 +1,4 @@
|
||||
<section>
|
||||
<h2>{{ object.key }}</h2>
|
||||
<pre>{{ object.jsonSerialize()|yaml_encode }}</pre>
|
||||
</section>
|
Reference in New Issue
Block a user