{% comment %} Copyright (C) 2017-2020 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 %}
{% if snapshot_context.origin_info %} {{ snapshot_context.origin_info.url }} {% if snapshot_context.origin_info.url|slice:"0:4" == "http" %} {% endif %} {% else %} {{ snapshot_context.snapshot_swhid }} {% endif %}
{% if snapshot_context.visit_info %}
{{ snapshot_context.visit_info.formatted_date }}
{% endif %}