Optimized template

This commit is contained in:
Kevin Frantz 2019-02-25 13:08:07 +01:00
parent 2cf9e019e8
commit 0bf7554afb

View File

@ -7,6 +7,6 @@ path('infinito_api_rest_layer_read',{'layer':layer,'_format':'html'})}}">
{% 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 }}
{{ slug }}</a>{% endif %}#<a
href="{{ path('infinito_api_rest_layer_read',{'identity':id,'layer':layer,'_format':'html'}) }}">{{ id }}
</a>