fix path url

This commit is contained in:
tdurieux
2017-09-29 10:15:52 +02:00
parent ef74603914
commit 993356e943

View File

@@ -17,10 +17,10 @@
<div class="container-fluid">
<div class="paths">
{% set current_path = '/repository/' + current_repository %}
<span class="path"><a href="{{ current_path }}">{{ name }}</a></span>
<span class="path"><a href="{{ current_path }}/">{{ name }}</a></span>
{% for item in path %}
{% set current_path = current_path + "/" + item %}
<span class="path"><a href="{{ current_path }}">{{ item }}</a></span>
<span class="path"><a href="{{ current_path }}/">{{ item }}</a></span>
{% endfor %}
</div>
<div class="files">