mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized implementation of create
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{% set icon_class = layer_icon_class_map.getIconClass(layer) %}
|
||||
<i class="{{ icon_class }}"></i>
|
||||
<a href="{{
|
||||
path('infinito_api_rest_layer_create',{'layer':layer,'_format':'html'})}}">
|
||||
{{ layer|trans|capitalize }}
|
||||
</a>
|
@@ -1,9 +1,3 @@
|
||||
{% set icon_class = layer_icon_class_map.getIconClass(layer) %}
|
||||
<i class="{{ icon_class }}"></i>
|
||||
{# <a href="{{
|
||||
path('infinito_api_rest_layer_read',{'layer':layer,'_format':'html'})}}">
|
||||
#}
|
||||
{{ layer|trans|capitalize }}: {# </a>#}
|
||||
{% if slug is defined and slug%}
|
||||
<a
|
||||
href="{{ path('infinito_api_rest_layer_read',{'identity':slug,'layer':layer,'_format':'html'}) }}">
|
Reference in New Issue
Block a user