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-21 18:02:27 +00:00
|
|
|
<div class="frame-section frame-section-padding">
|
|
|
|
<h1 class="frame-section-title">{{ title }}</h1>
|
2021-09-17 21:51:55 +01:00
|
|
|
|
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-21 18:02:27 +00:00
|
|
|
<section class="frame-section-padding">
|
2021-09-17 20:33:02 +01:00
|
|
|
{% if actors is defined and actors is not empty %}
|
|
|
|
{% for actor in actors %}
|
2021-09-22 14:10:36 +01:00
|
|
|
{% block profile_view %}{% include 'cards/profile/view.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-01 21:52:30 +00:00
|
|
|
<p>{% trans %}Page: %page%{% endtrans %}</p>
|
2021-09-17 20:33:02 +01:00
|
|
|
{% else %}
|
2022-01-19 18:21:51 +00:00
|
|
|
<h2>{{ empty_message }}</h2>
|
2020-12-01 17:56:31 +00:00
|
|
|
{% endif %}
|
2022-01-21 18:02:27 +00:00
|
|
|
</section>
|
|
|
|
</div>
|
2022-01-01 21:52:30 +00:00
|
|
|
{% endblock body %}
|