feat: insentive replace

This commit is contained in:
tdurieux
2017-10-02 17:53:58 +02:00
parent fa0a67795a
commit eaed61eb6d
3 changed files with 11 additions and 18 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
<div class="paths">
{% set current_path = [] %}
{% do current_path.append('/repository/' + current_repository) %}
<span class="path"><a href="{{ current_path|join("/") }}">{{ name }}</a></span>
<span class="path"><a href="{{ current_path|join("/") }}">Root</a></span>
{% for item in path %}
{% do current_path.append(item) %}
<span class="path"><a href="{{ current_path|join("/") }}">{{ item }}</a></span>