{# Shared base for instrument/processor "run record" pages (-DR). run_view() provides
the title, download button and embedded processor reference card; the record-type-
specific body is supplied by the caller via {% call %}. See run_page.jinja.html for
the generic fallback, and an issuer's own dedicated run templates for specific ones. #}
{% import "pac_info/base-components.jinja.html" as pac_macros with context %}
{% macro qty(q) -%}
{%- if q is none -%}—{%- else -%}{{ q.value_as_str() }}{% if q.unit_display %} {{ q.unit_display }}{% endif %}{%- endif -%}
{%- endmacro %}
{% macro run_view(title, processor_pac_id) %}