mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-11-06 12:17:58 +00:00
Optimized template draft
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{% 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|capitalize }}: {# </a>#}
|
||||
{% if slug is defined and slug%}
|
||||
<a
|
||||
href="{{ path('infinito_api_rest_layer_read',{'identity':slug,'layer':layer,'_format':'html'}) }}">
|
||||
{{ slug }}</a>{% endif %}<a
|
||||
href="{{ path('infinito_api_rest_layer_read',{'identity':id,'layer':layer,'_format':'html'}) }}">#{{ id }}
|
||||
</a>
|
||||
Reference in New Issue
Block a user