diff --git a/swh/web/templates/includes/show-swh-ids.html b/swh/web/templates/includes/show-swh-ids.html index 1d69f77d4..269285765 100644 --- a/swh/web/templates/includes/show-swh-ids.html +++ b/swh/web/templates/includes/show-swh-ids.html @@ -1,91 +1,95 @@ {% 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 %} {% if swh_ids %}
- How to cite ? + {% if swh_ids|length > 1 %} + Permalinks + {% else %} + Permalink + {% endif %}

- To reference or cite the objects present in the Software Heritage archive, persistent identifiers + To reference or cite the objects present in the Software Heritage archive, permalinks based on persistent identifiers must be used instead of copying and pasting the url from the address bar of the browser (as there is no guarantee the current URI scheme will remain the same over time).

- Select below a type of object currently browsed in order to display its associated persistent identifier. + Select below a type of object currently browsed in order to display its associated persistent identifier and permalink.

{% for swh_id in swh_ids %} {% if forloop.first %}
{% else %}
{% endif %}
{{ swh_id.swh_id }}
{% if swh_id.show_options %}
Options
{% if snapshot_context and snapshot_context.origin_info %}
{% endif %} {% if swh_id.object_type == 'content' %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}