Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/content-display.html
{% comment %} | {% comment %} | ||||
Copyright (C) 2017-2019 The Software Heritage developers | Copyright (C) 2017-2020 The Software Heritage developers | ||||
See the AUTHORS file at the top-level directory of this distribution | See the AUTHORS file at the top-level directory of this distribution | ||||
License: GNU Affero General Public License version 3, or any later version | License: GNU Affero General Public License version 3, or any later version | ||||
See top-level LICENSE file for more information | See top-level LICENSE file for more information | ||||
{% endcomment %} | {% endcomment %} | ||||
{% load swh_templatetags %} | {% load swh_templatetags %} | ||||
{% include "includes/revision-info.html" %} | |||||
{% if snapshot_context and snapshot_context.is_empty %} | {% if snapshot_context and snapshot_context.is_empty %} | ||||
{% include "includes/empty-snapshot.html" %} | {% include "includes/empty-snapshot.html" %} | ||||
{% else %} | {% else %} | ||||
<div class="card"> | <div class="card"> | ||||
{% if filename %} | {% if filename %} | ||||
<div class="swh-content-filename card-header bg-gray-light swh-heading-color"> | <div class="swh-content-filename card-header bg-gray-light swh-heading-color"> | ||||
{{ filename }} | {{ filename }} | ||||
</div> | </div> | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |