mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-08 08:49:52 +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');
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user