mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Implemented view for node
This commit is contained in:
13
application/templates/node/structure/_list.html.twig
Normal file
13
application/templates/node/structure/_list.html.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
{% if nodeList.isEmpty %}
|
||||
{% trans %}
|
||||
This list doesn't contain elements.
|
||||
{% endtrans %}
|
||||
{% else %}
|
||||
<ul>
|
||||
{% for node in nodeList %}
|
||||
<li><a href="{{ path('app_node_show',{'id':node.id}) }}" class=" nav-link"> <i
|
||||
class="fas fa-globe"></i> {% trans %}Node{% endtrans %} {{ node.id }}
|
||||
</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
Reference in New Issue
Block a user