-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added redirections bulk delete action
- Loading branch information
1 parent
a98a9e1
commit 6652e67
Showing
24 changed files
with
240 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
<script src="{{ asset('js/vendor.114786243d392ad06f4d.js', 'Rozier') }}" defer type="text/javascript"></script> | ||
<script src="{{ asset('js/vendor.118e12fff2243a310d56.js', 'Rozier') }}" defer type="text/javascript"></script> | ||
|
||
<script src="{{ asset('js/app.114786243d392ad06f4d.js', 'Rozier') }}" defer type="text/javascript"></script> | ||
<script src="{{ asset('js/app.118e12fff2243a310d56.js', 'Rozier') }}" defer type="text/javascript"></script> | ||
|
2 changes: 1 addition & 1 deletion
2
lib/Rozier/src/Resources/views/partials/simple-js-inject.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
<script src="{{ asset('js/simple.114786243d392ad06f4d.js', 'Rozier') }}" defer type="text/javascript"></script> | ||
<script src="{{ asset('js/simple.118e12fff2243a310d56.js', 'Rozier') }}" defer type="text/javascript"></script> | ||
|
39 changes: 39 additions & 0 deletions
39
lib/Rozier/src/Resources/views/redirections/bulk_base.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% extends '@RoadizRozier/admin/base.html.twig' %} | ||
|
||
{% block title %}{{ block('bulk_title') }} | {{ parent() }}{% endblock %} | ||
{% block content_title %}{% block bulk_title %}{% endblock %}{% endblock %} | ||
|
||
{% block content_count_filters %} | ||
{% include '@RoadizRozier/widgets/countFiltersBar.html.twig' %} | ||
{% endblock %} | ||
|
||
{% block content_header_nav %} | ||
<a class="content-header-nav-back uk-navbar-content" | ||
href="{{ path('redirectionsHomePage') }}" | ||
title="{% trans %}back_to.redirections{% endtrans %}" | ||
data-uk-tooltip="{animation:true}"><i class="uk-icon-rz-back-parent"></i></a> | ||
{% endblock %} | ||
|
||
{% block content_body %} | ||
<article class="content content-no-action-menu"> | ||
<div class="content-table-cont"> | ||
<table class="items content-table uk-table"> | ||
<thead> | ||
<tr> | ||
{% include '@RoadizRozier/redirections/redirection_row_header.html.twig' with { no_sort: true } %} | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for item in items %} | ||
<tr> | ||
{% include '@RoadizRozier/redirections/redirection_row.html.twig' %} | ||
</tr> | ||
{% else %} | ||
<tr><td colspan="4">{% trans %}no_redirections{% endtrans %}</td></tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
{% block bulk_form %}{% endblock %} | ||
</article> | ||
{% endblock %} |
20 changes: 20 additions & 0 deletions
20
lib/Rozier/src/Resources/views/redirections/bulk_delete.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends '@RoadizRozier/redirections/bulk_base.html.twig' %} | ||
{% block bulk_title %}{% trans %}redirections.bulk_delete.title{% endtrans %}{% endblock %} | ||
{% block bulk_form %} | ||
{% if form %} | ||
<article class="content content-delete content-no-action-menu"> | ||
{% form_theme form '@RoadizRozier/forms.html.twig' %} | ||
{{ form_start(form, { | ||
'attr': { | ||
'class': 'uk-form uk-form-stacked' | ||
} | ||
}) }}{{ form_widget(form) }} | ||
<fieldset data-uk-margin> | ||
<legend class="uk-alert uk-alert-danger"><i class="uk-icon uk-icon-warning"></i> {% trans %}are_you_sure.bulk_delete.redirections{% endtrans %}</legend> | ||
<a href="{{ path('redirectionsHomePage') }}" class="uk-button"><i class="uk-icon-rz-back-parent"></i> {% trans %}cancel{% endtrans %}</a> | ||
<button class="uk-button uk-button-danger" type="submit"><i class="uk-icon-rz-trash-mini-o"></i> {% trans %}delete{% endtrans %}</button> | ||
</fieldset> | ||
{{ form_end(form) }} | ||
</article> | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.