{% set release = entity %} {% set entity_view = "{{ direction }}-refs" %} {% set entity_type = "release" %} {% import "entity_macros.html" as entity_macros %} {% extends "entity_base.html" %} {% macro pagination_row(hits) %} {% if hits.offset %} « prev   {% endif %} Showing {{ hits.offset + 1 }} - {{ hits.offset + hits.count_returned }} of {{ hits.count_total}} references (in {{ hits.query_wall_time_ms }}ms) {% if hits.count_total != hits.count_returned and hits.offset + hits.limit < hits.count_total %}  next » {% endif %} {% endmacro %} {% block entity_main %} {% if direction == "inbound" %}

Referenced By

Citations to this release by other works. {% elif direction == "outbound" %}

References

NOTE: currently batch computed and may include additional references sources, or be missing recent changes, compared to entity reference list. {% endif %} {% if enriched_refs %} {% for row in enriched_refs %} {% set release = row.release %} {% if hits.count_total != hits.count_returned %} {% endif %}
{{ pagination_row(hits) }}
{# TODO: ref_locator? #} {% if direction == "outbound" %} {% if row.ref.ref_key %} [{{ row.ref.ref_key }}]
{% endif %} {% endif %} {{ row.ref.match_status }}
{% if row.ref.match_provenance %} via {{ row.ref.match_provenance }} {% endif %}
{% if release %} {{ entity_macros.release_summary(release) }} {% elif row.ref.target_unstructured %} {{ row.ref.target_unstructured }} {% else %} blank {% endif %} {% if row.access %} {% for access in row.access %} {{ access.access_type.name }}
{% endfor %} {% elif row.ref.target_unstructured %}
{% endif %} {# TODO: include these as access options instead #} {% if row.ref.target_openlibrary_work %} openlibrary.org {% endif %} {% if row.ref.target_url %} web
wayback (?) {% endif %} {% endfor %}
{{ pagination_row(hits) }}
{% else %}

None found {% endif %} {% endblock %}