{% load i18n %} {% comment %} The record's type in the header, as a tag in the record type's colour with its icon. When the registry describes the type, the tag is a button that opens that description in a dialog. Include with: kind (sample or measurement), label (the type's name), info (from `type_info`), id (the dialog's id) {% endcomment %} {% if info %} {% blocktranslate with type=label|capfirst asvar about %}About {{ type }}{% endblocktranslate %} {% comment %} The dialog is written out here, not drawn by `c-modal`, because `c-modal` gives the `` element no name, and a dialog with no name is announced as nothing at all. {% endcomment %} {% else %} {% endif %}