mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
12 lines
501 B
Twig
12 lines
501 B
Twig
{% 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> |