style: show all back links the same way above the page title
This commit is contained in:
1 parent
3c19401d8b
commit
e9b0de44f1
14 files changed
+34
-64
No files matched your search
@@ -22,17 +22,13 @@
|
||||
{% endmacro %}
|
||||
|
||||
{% block content %}
|
||||
<div class="flex items-start justify-between pb-8">
|
||||
<h1 class="text-2xl font-bold">
|
||||
{{ submission.formLabel }}
|
||||
{% if submission.lastName or submission.firstName %}
|
||||
- {{ [submission.firstName, submission.lastName]|filter(part => part is not empty)|join(' ') }}
|
||||
{% endif %}
|
||||
</h1>
|
||||
<a href="{{ returnUrl }}" class="btn btn--small btn--secondary">
|
||||
zurück
|
||||
</a>
|
||||
</div>
|
||||
{{ include('_partials/_back_link.html.twig', { 'url': returnUrl }) }}
|
||||
<h1 class="text-2xl font-bold pb-8">
|
||||
{{ submission.formLabel }}
|
||||
{% if submission.lastName or submission.firstName %}
|
||||
- {{ [submission.firstName, submission.lastName]|filter(part => part is not empty)|join(' ') }}
|
||||
{% endif %}
|
||||
</h1>
|
||||
|
||||
<div class="grid lg:grid-cols-2 gap-x-8 gap-y-4 pb-8">
|
||||
<dl class="divide-y divide-gray-100">
|
||||
|
||||
@@ -3,14 +3,10 @@
|
||||
{% block title %}Mailing{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="flex items-start justify-between pb-4">
|
||||
<h1 class="text-2xl font-bold">
|
||||
Mailing an das Team
|
||||
</h1>
|
||||
<a href="{{ returnUrl }}" class="btn btn--small btn--secondary shrink-0">
|
||||
Zurück zur Teamübersicht
|
||||
</a>
|
||||
</div>
|
||||
{{ include('_partials/_back_link.html.twig', { 'url': returnUrl, 'label': 'zurück zur Teamübersicht' }) }}
|
||||
<h1 class="text-2xl font-bold pb-4">
|
||||
Mailing an das Team
|
||||
</h1>
|
||||
|
||||
<div class="pb-6">
|
||||
{{ include('admin/teamer/_mailing_filter_summary.html.twig', { 'filterDto': filterDto }) }}
|
||||
|
||||
Reference in new issue
Block a user