mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +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');
|
||||
}
|
||||
|
||||
// $socialIssues = $this->socialIssueRepository->findAllAsArray();
|
||||
$socialIssues = $this->socialIssueRepository->findAll();
|
||||
|
||||
$socialIssues = array_map(function ($issue) {
|
||||
|
@@ -35,6 +35,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block actions_before %}
|
||||
<li>
|
||||
<a href="{{ path('chill_person_social_issue_export_list') }}" class="btn btn-download"></a>
|
||||
</li>
|
||||
<li class='cancel'>
|
||||
<a href="{{ path('chill_main_admin_central') }}" class="btn btn-cancel">{{'Back to the admin'|trans}}</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user