diff --git a/swh/web/templates/content.html b/swh/web/templates/content.html index 51cfd14e0..b229c936d 100644 --- a/swh/web/templates/content.html +++ b/swh/web/templates/content.html @@ -1,48 +1,48 @@ {% extends "layout.html" %} {% load static %} {% block header %} {% endblock %} {% block title %}Content display{% endblock %} {% block content %}
Content mime type: {{ mime_type }} , Hashing algorithm: {{ content_hash_algo}} , Content checksum: {{ content_checksum }} Raw File
-{% include "content-directory-top-navigation.html" %} +{% include "includes/top-navigation.html" %}
{% if "inode/x-empty" == mime_type %} File is empty {% elif "text/" in mime_type %}
     {{ content }}
   
{% elif "image/" in mime_type and content %} {% else %} Content with mime type {{ mime_type }} can not be displayed {% endif %}
{% endblock %} diff --git a/swh/web/templates/directory.html b/swh/web/templates/directory.html index 1414a39ad..93ae0e92a 100644 --- a/swh/web/templates/directory.html +++ b/swh/web/templates/directory.html @@ -1,47 +1,47 @@ {% extends "layout.html" %} {% block title %}Directory browse{% endblock %} {% block content %}
Directory sha1 git: {{ dir_sha1_git }}
-{% include "content-directory-top-navigation.html" %} +{% include "includes/top-navigation.html" %}
{% for d in dirs %} {% endfor %} {% for f in files %} {% endfor %}
File Mode Size Sha1 git
{{ d.name }} {{ d.perms }} {{ d.target }}
{{ f.name }} {{ f.perms }} {{ f.length }} {{ f.target }}
{% endblock %} diff --git a/swh/web/templates/content-directory-top-navigation.html b/swh/web/templates/includes/top-navigation.html similarity index 100% rename from swh/web/templates/content-directory-top-navigation.html rename to swh/web/templates/includes/top-navigation.html