Page MenuHomeSoftware Heritage

snapshot-context.html
No OneTemporary

snapshot-context.html

{% comment %}
Copyright (C) 2017-2018 The Software Heritage developers
See the AUTHORS file at the top-level directory of this distribution
License: GNU Affero General Public License version 3, or any later version
See top-level LICENSE file for more information
{% endcomment %}
{% load swh_templatetags %}
<hr class="mt-1 mb-1">
<div class="swh-origin-visit-details">
<ul>
{% if snapshot_context.origin_info %}
<li><i class="{{ swh_object_icons.visits }} fa-fw"></i><a href="{{ snapshot_context.origin_visits_url }}">Visits</a></li>
{% endif %}
{% if snapshot_context.visit_info %}
<li><i class="{{ swh_object_icons.snapshot }} fa-fw"></i> Snapshot date: <a href="{{ snapshot_context.visit_info.url }}">{{ snapshot_context.visit_info.formatted_date }}</a></li>
{% endif %}
{% if not snapshot_context.snapshot_sizes.revision %}
<li><i class="{{ swh_object_icons.branches }} fa-fw"></i> Branches (0)</li>
{% else %}
<li><i class="{{ swh_object_icons.branches }} fa-fw"></i> <a href="{{ snapshot_context.branches_url }}">Branches ({{ snapshot_context.snapshot_sizes.revision}})</a></li>
{% endif %}
{% if not snapshot_context.snapshot_sizes.release %}
<li><i class="{{ swh_object_icons.releases }} fa-fw"></i> Releases (0)</li>
{% else %}
<li><i class="{{ swh_object_icons.releases }} fa-fw"></i> <a href="{{ snapshot_context.releases_url }}">Releases ({{ snapshot_context.snapshot_sizes.release }})</a></li>
{% endif %}
</ul>
</div>
<hr class="mt-1 mb-1">

File Metadata

Mime Type
text/html
Expires
Fri, Jul 4, 1:32 PM (5 d, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3361283

Event Timeline