src/Front/Templates/Journal/_list/_mobile_dialogs.html.twig line 1
{% from '@front_templates/_includes/_icons.html.twig' import close %}
{% set domains = journal_list_util.Domains(app.request.locale) %}
<dialog class="modal modal--short js-dialog journal-list-dialog journal-list-dialog">
<button class="modal__close js-dialog-close" type="button">
{{ close('T_CLOSE'|trans, 'black') }}
</button>
<div class="filters-template__inputs filters-template__inputs--dropdown">
<span class="tag-label">{{ 'T_JOURNAL_LIST_DOMAIN_SELECTION'|trans }}</span>
{% for rootIndex, domain in domains %}
<div class="form__item form__item--row">
<input type="checkbox" id="mobile-domain-{{ rootIndex }}" class="form__checkbox journal-list-domain" value="{{ domain.uuid }}">
<label for="mobile-domain-{{ rootIndex }}" class="form__label-checkbox ">
{{ domain.readAvailableTranslation(app.request.locale, 'title') }}
</label>
{% for subIndex, subdomain in domain.children %}
<input
type="checkbox"
id="mobile-domain-{{ rootIndex }}-{{ subIndex }}"
class="form__checkbox journal-list-domain"
value="{{ subdomain.uuid }}"
>
<label for="mobile-domain-{{ rootIndex }}-{{ subIndex }}" class="form__label-checkbox ">
{{ subdomain.readAvailableTranslation(app.request.locale, 'title') }}
</label>
{% endfor %}
</div>
{% endfor %}
</div>
</dialog>
{% set partners = journal_list_util.Partners(app.request.locale) %}
<dialog class="modal modal--short js-dialog journal-list-dialog">
<button class="modal__close js-dialog-close" type="button">
{{ close('T_CLOSE'|trans, 'black') }}
</button>
<div class="filters-template__inputs filters-template__inputs--dropdown">
<span class="tag-label">{{ 'T_JOURNAL_LIST_AFFILIATION_SELECTION'|trans }}</span>
{% for key, partner in partners %}
<div class="form__item form__item--row">
<input
type="checkbox"
id="mobile-partner-{{ key }}"
class="form__checkbox journal-list-affiliation"
value="{{ partner.uuid }}"
>
<label for="mobile-partner-{{ key }}" class="form__label-checkbox"
>
{{ partner.readAvailableTranslation(app.request.locale, 'title') }}
</label>
</div>
{% endfor %}
</div>
</dialog>