{# The side panel every result page shares: what to do with it, the next step, the papers it drew on, and its name with Rename and Delete. #} {% import "_icons.html" as icon %} {% import "_references.html" as references with context %} {% macro actions(copy="", word_key="", markdown_url="", open_url="") %}
{% if copy %}{% endif %} {% if word_key %}{{ icon.download() }}Download as Word{% endif %} {% if markdown_url %}{{ icon.download() }}Download as Markdown{% endif %} {% if open_url %}{{ icon.open_new() }}Open on its own (new tab){% endif %}
{% endmacro %} {% macro next_step(title, detail, href, label) %}

{{ title }}

{{ detail }}

{{ label }}
{% endmacro %} {% macro drawn_on(papers, export_name, heading="Drawn on") %} {% if papers %}

{{ heading }}

{{ references.export_button(export_name, papers | map(attribute="stem") | list) }}
{% endif %} {% endmacro %} {% macro manage(key, name, words) %}

Name

{% endmacro %}