mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
Add export button to template
This commit is contained in:
@@ -47,7 +47,6 @@ class SocialIssuesExportController extends AbstractController
|
|||||||
throw new AccessDeniedHttpException('Only ROLE_ADMIN can export this list');
|
throw new AccessDeniedHttpException('Only ROLE_ADMIN can export this list');
|
||||||
}
|
}
|
||||||
|
|
||||||
// $socialIssues = $this->socialIssueRepository->findAllAsArray();
|
|
||||||
$socialIssues = $this->socialIssueRepository->findAll();
|
$socialIssues = $this->socialIssueRepository->findAll();
|
||||||
|
|
||||||
$socialIssues = array_map(function ($issue) {
|
$socialIssues = array_map(function ($issue) {
|
||||||
|
@@ -35,6 +35,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block actions_before %}
|
{% block actions_before %}
|
||||||
|
<li>
|
||||||
|
<a href="{{ path('chill_person_social_issue_export_list') }}" class="btn btn-download"></a>
|
||||||
|
</li>
|
||||||
<li class='cancel'>
|
<li class='cancel'>
|
||||||
<a href="{{ path('chill_main_admin_central') }}" class="btn btn-cancel">{{'Back to the admin'|trans}}</a>
|
<a href="{{ path('chill_main_admin_central') }}" class="btn btn-cancel">{{'Back to the admin'|trans}}</a>
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user