anonymize the list of file

This commit is contained in:
tdurieux
2017-10-25 10:20:36 +02:00
parent b4a35bcf9b
commit aa1aeb116a
2 changed files with 11 additions and 8 deletions

View File

@@ -27,7 +27,9 @@
<div class="files">
{% for item in files %}
<div class="{{ item.type }} {% if item.path == current_file.name %}active{% endif %}">
<a href="/repository/{{ current_repository }}/{{ path_directory }}{% if path_directory|length > 0%}/{% endif %}{{ item.path }}{% if item.type == 'tree'%}/{% endif %}">{{ item.path }}</a>
<a href="/repository/{{ current_repository }}/{{ path_directory }}{% if path_directory|length > 0%}/{% endif %}{{ item.path }}{% if item.type == 'tree'%}/{% endif %}">
{{ item.path|remove_terms(repository) }}
</a>
</div>
{% endfor %}
</div>