{% macro fulltext_search_result_row(paper) -%} {% set lang_code = "en" %}
[{{ paper.withdrawn_status }}]
{% endif %}
{% if paper.release_stage == "accepted" %}
[{{ paper.release_stage }}]
{% elif paper.release_stage and paper.release_stage != "published" %}
[{{ paper.release_stage }}]
{% elif not paper.release_stage %}
[unpublished?]
{% endif %}
{# ### ABSTRACT / QUERY HIGHLIGHT #}
{% if paper._highlights %}
{% if paper.fulltext.pdf_url %}
mirror
{% endif %}
{% if paper.fulltext.grobid_xml_url %}
xml
{% endif %}
#}