anonymize the list of file

This commit is contained in:
tdurieux committed 2017-10-25 13:30:23 +02:00
1 parent b4a35bcf9b
commit aa1aeb116a
2 files changed
+11 -8

No files matched your search

+3 -1
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>