add links to enter / exit folders #5

Merged
csimonis merged 4 commits from feature/goto-dir into main 2024-12-05 10:58:30 +00:00
Showing only changes of commit 05657f9e91 - Show all commits

View File

@ -1,7 +1,7 @@
{% if file.name == '..' %}
{% set link = routing_service.goBack(app.request) %}
{% else %}
{% set link = path('app_home', {dirs: app.request.attributes.get('dirs') ~ '/' ~ file.name}) %}
{% set link = path('app_home', {dirs: app.request.attributes.get('dirs', '/') ~ file.name ~ '/'}) %}
{% endif %}