2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-12-01 17:56:31 +00:00
|
|
|
|
2022-01-01 21:52:30 +00:00
|
|
|
{% block title %}{{ title }}{% endblock %}
|
2020-12-01 17:56:31 +00:00
|
|
|
|
|
|
|
{% block body %}
|
2022-01-23 18:56:57 +00:00
|
|
|
<section class="frame-section frame-section-padding">
|
2022-01-21 18:02:27 +00:00
|
|
|
<h1 class="frame-section-title">{{ title }}</h1>
|
2021-09-17 21:51:55 +01:00
|
|
|
|
2022-01-23 18:56:57 +00:00
|
|
|
{% set prepend_actors_collection = handle_event('PrependActorsCollection', request) %}
|
|
|
|
{% for widget in prepend_actors_collection %}
|
|
|
|
{{ widget | raw }}
|
|
|
|
{% endfor %}
|
|
|
|
|
2022-01-21 18:02:27 +00:00
|
|
|
<details class="frame-section section-details-title">
|
|
|
|
<summary class="details-summary-title">
|
|
|
|
<strong>
|
|
|
|
{% trans %}Ordering rules{% endtrans %}
|
|
|
|
</strong>
|
|
|
|
</summary>
|
|
|
|
<form method="GET" class="section-form">
|
|
|
|
<div class="container-grid">
|
|
|
|
<section class="frame-section frame-section-padding">
|
|
|
|
<strong>{% trans %}Sort by{% endtrans %}</strong>
|
|
|
|
<hr>
|
|
|
|
<div class="container-block">
|
|
|
|
{% for field in sort_form_fields %}
|
|
|
|
<span class="container-block">
|
|
|
|
<label for="order_by_{{ field.value }}">{{ field.label }}</label>
|
|
|
|
<input id="order_by_{{ field.value }}" type="radio" name="order_by" value="{{ field.value }}" {% if field.checked %}checked="checked"{% endif %}>
|
|
|
|
</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="frame-section frame-section-padding">
|
|
|
|
<strong class="section-title">{% trans %}Order{% endtrans %}</strong>
|
|
|
|
<hr>
|
|
|
|
<section class="container-block">
|
|
|
|
<span class="container-block">
|
|
|
|
<label for="order_op_asc">{% trans %}Ascending{% endtrans %}</label>
|
|
|
|
<input id="order_op_asc" type="radio" name="order_op" value="ASC">
|
|
|
|
</span>
|
|
|
|
<span class="container-block">
|
|
|
|
<label for="order_op_desc">{% trans %}Descending{% endtrans %}</label>
|
|
|
|
<input id="order_op_desc" type="radio" name="order_op" value="DESC" checked="checked">
|
|
|
|
</span>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<button type="submit">{% trans %}Order{% endtrans %}</button>
|
2022-01-02 20:11:44 +00:00
|
|
|
</form>
|
2022-01-21 18:02:27 +00:00
|
|
|
</details>
|
2022-01-01 22:17:26 +00:00
|
|
|
|
2022-01-23 19:46:47 +00:00
|
|
|
<section class="frame-section frame-section-padding">
|
|
|
|
<h2>{% trans %}Results{% endtrans %}</h2>
|
2021-09-17 20:33:02 +01:00
|
|
|
{% if actors is defined and actors is not empty %}
|
|
|
|
{% for actor in actors %}
|
2022-02-06 21:37:04 +00:00
|
|
|
{% block profile_view %}{% include 'cards/blocks/profile.html.twig' %}{% endblock profile_view %}
|
2021-12-25 17:59:49 +00:00
|
|
|
<hr>
|
2021-09-17 20:33:02 +01:00
|
|
|
{% endfor %}
|
2022-01-23 19:46:47 +00:00
|
|
|
<span class="frame-section-button-like">{% trans %}Page: %page%{% endtrans %}</span>
|
2021-09-17 20:33:02 +01:00
|
|
|
{% else %}
|
2022-01-23 19:46:47 +00:00
|
|
|
<span>{{ empty_message }}</span>
|
2020-12-01 17:56:31 +00:00
|
|
|
{% endif %}
|
2022-01-21 18:02:27 +00:00
|
|
|
</section>
|
2022-01-23 18:56:57 +00:00
|
|
|
</section>
|
2022-01-01 21:52:30 +00:00
|
|
|
{% endblock body %}
|