{% trans_default_domain 'bibliography' %}

{{- 'bibliography.list_page.title'|trans -}} {%- if archiveValue is defined -%} by {{ archive }} {{ archiveValue }} {%- endif -%}

{% if is_granted('ROLE_SUPER_USER') %}
Upload {{ 'bibliography.list_page.add_button'|trans }}
{% endif %}
{% include 'default/pagination.html.twig' %}
{{ 'bibliography.list_page.table.total_info'|trans({'%count%': total, '%total%': totalBibliography}) }}
{{ 'bibliography.list_page.table.current_info'|trans({'%current_min%': (limit*(currentPage-1))+1, '%current_max%': ((limit*currentPage) > total ? total : (limit*currentPage))}) }}
{% set currentRoute = app.request.attributes.get('_route') %} {% set currentOrder = app.request.attributes.get('order') %} {% set currentDir = app.request.attributes.get('direction') %} {% if paginationRouteParams is not defined %} {% set paginationRouteParams = {"page": currentPage} %} {% endif %} {% if archive is defined and archiveId is defined %} {% set paginationRouteParams = paginationRouteParams|merge({'archive': archive, 'archiveId': archiveId}) %} {% endif %} {% set queryParams = '' %} {#% if app.request.query.all|length > 0 %} {% for name,value in app.request.query.all if name != 'ord' and name != 'asc' %} {% if queryParams == '' %} {% set queryParams = '?' %} {% else %} {% set queryParams = queryParams ~ '&' %} {% endif %} {% set queryParams = queryParams ~ name ~'='~ value|url_encode %} {% endfor %} {% endif %#} {% for bibliography in bibliographies %} {% endfor %}
{{- 'bibliography.list_page.table.columns.rec_number'|trans }} {{- 'bibliography.list_page.table.columns.status'|trans }} {{- 'bibliography.list_page.table.columns.article'|trans }} {{- 'bibliography.list_page.table.columns.allergome_ref'|trans }}
{{ bibliography.refId }} {% if bibliography.status is not null %} {{ bibliography.status }} {% else %}   {% endif %} {{ bibliography.title|raw }}
{#{{- bibliography.completeUrl != '' ? ('')|raw : '' -}}#} {{- bibliography.periodical is not null ? (bibliography.periodical.title~'
')|raw : '' -}} {{- bibliography.year }}; {{ bibliography.volume }}: {{ bibliography.pageStart ~ (bibliography.pageEnd is not null ? '-'~bibliography.pageEnd : '') -}} {#{- bibliography.completeUrl != '' ? ('
')|raw : '' -}#}
{{ bibliography.allergomeRef }}
{% include 'default/pagination.html.twig' %}