{%- if bibliography.status is null -%}
{{- ('bibliography.status.null')|trans -}}
{%- else -%}
{{- ('bibliography.status.'~bibliography.status)|trans -}}
{%- endif -%}
{%- if is_granted('ROLE_SUPER_USER') and (bibliography.status|slice(-1) == "A" or bibliography.status|slice(-2) == "AR") -%}
Export to Allergome
{%- endif -%}
{{ 'bibliography.form.fields.authors'|trans }}
{#% for author in authors %}
{{ author.name }}
{% endfor %#}
{% for bibliographyAuthor in bibliography.authors %}
{{ bibliographyAuthor.author.name }}
{% endfor %}
{{ 'bibliography.form.fields.title'|trans }}
{{ bibliography.title|raw }}
{% if bibliography.checkSimilar %}
Similar
{% endif %}
{# Mari non lo vuole #}
{#
{% if bibliography.secondaryTitle != '' and bibliography.secondaryTitle is not null and (bibliography.periodical is null or bibliography.secondaryTitle != bibliography.periodical.title) %}
Secondary title
{{ bibliography.secondaryTitle }}
{% endif %}
#}
{{ 'bibliography.form.fields.periodical'|trans }}
{%- if bibliography.periodical is not null -%}
{{ bibliography.periodical.title }}
{%- else -%}
Not available
{%- endif -%}
{{ 'bibliography.form.fields.date.year'|trans }}
{{ bibliography.year }}
{{ 'bibliography.form.fields.volume'|trans }}
{{ bibliography.volume }}
{{ 'bibliography.form.fields.number'|trans }}
{{ bibliography.number }}
{% if bibliography.pageStart is not null %}
{{ 'bibliography.form.fields.page_start'|trans }}
{{ bibliography.pageStart }}
{% endif %}
{% if bibliography.pageEnd is not null %}
{{ 'bibliography.form.fields.page_end'|trans }}
{{ bibliography.pageEnd }}
{% endif %}
{{ 'bibliography.form.fields.keywords'|trans }}
{% set kwcount = 0 %}
{% for keyword in bibliography.keywords -%}
{{- kwcount > 0 ? ', ' : '' }}{{ keyword.keyword }}
{%- set kwcount = kwcount + 1 -%}
{%- endfor %}
{{ 'bibliography.form.fields.abstract'|trans }}
{%- if bibliography.abstract is not null -%}
{{- bibliography.abstract|nl2br -}}
{%- else -%}
No Abstract Available
{%- endif -%}
{% set countries = [] %}
{%- for country in bibliography.countries -%}
{% set countries = countries|merge([country.name]) %}
{%- endfor -%}
{{ countries|join(' - ') }}
{#
{{ 'bibliography.form.fields.pub_date'|trans }}
{%- if bibliography.month is not null -%}
{{- date(bibliography.year ~'-'~ bibliography.month ~ '-01')|date('M') -}}
{%- endif -%}
{%- if bibliography.day is not null -%}
{{- ' ' ~ bibliography.day ~ ', ' -}}
{%- endif -%}
{{- bibliography.year -}}
#}
{{ 'bibliography.form.fields.misc3'|trans }}
{% if bibliography.misc3 is not null and bibliography.misc3 != 'NO-DOI' %}
{{ bibliography.misc3 }}
{% else %}
Not Available
{% endif %}
{# TODO Questo va visualizzato? #}
{% if bibliography.transient is not null %}
{{ 'bibliography.form.fields.transient'|trans }}
{{ bibliography.transient }}
{% endif %}
{#% if html_file is defined %}
{{ 'bibliography.form.fields.article'|trans }}
{%- if html_file -%}
View
{%- elseif error_create_file -%}
{{ error_create_file }}
{%- else -%}
Not available
{%- endif -%}
{% endif %#}
{% if bibliography.files|length > 0 %}