mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add export button to template
This commit is contained in:
parent
c379bccad4
commit
edb51dd3cd
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user