File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1111 role ="button "
1212 aria-expanded ="false "
1313 aria-controls ="collapse{{subdirectory.id}} "
14+ onclick ="window.location.href = '{% url 'file_manager' subdirectory.path|urlencode %}'; "
1415 >
1516 {{ subdirectory.name }}
1617 </ a >
2223 class ="ms-{{depth}} collapse show "
2324 >
2425 < i class ="fa-solid fa-folder "> </ i >
25- < a href ="{% url 'file_manager' subdirectory.path %} "> {{ subdirectory.name }}</ a >
26+ < a href ="{% url 'file_manager' subdirectory.path|urlencode %} "> {{ subdirectory.name }}</ a >
2627 </ li >
2728 {% endif %}
2829{% endfor %}
Original file line number Diff line number Diff line change 4444 role ="button "
4545 aria-expanded ="false "
4646 aria-controls ="collapse{{directory.id}} "
47+ onclick ="window.location.href = '{% url 'file_manager' directory.path|urlencode %}'; "
4748 >
4849 {{ directory.name }}
4950 </ a >
5253 {% else %}
5354 < li >
5455 < i class ="fa-solid fa-folder "> </ i >
55- < a href ="{% url 'file_manager' directory.path %} "> {{ directory.name }}</ a >
56+ < a href ="{% url 'file_manager' directory.path|urlencode %} "> {{ directory.name }}</ a >
5657 </ li >
5758 {% endif %}
5859 {% endfor %}
You can’t perform that action at this time.
0 commit comments