12345678910111213141516171819202122232425262728293031323334353637 |
- {#
- This file is part of the Sonata package.
- (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
- For the full copyright and license information, please view the LICENSE
- file that was distributed with this source code.
- #}
- {% extends base_template %}
- {% block title %}{% trans 'title_dashboard' from 'BaseApplicationBundle' %}{% endblock%}
- {% block content %}
- {% for code, group in groups %}
- <table class="sonata-ba-list">
- <thead>
- <tr>
- <th colspan="3">{{ code }}</td>
- </tr>
- </thead>
- <tbody>
- {% for admin in group %}
- <tr>
- <td class="sonata-ba-list-label">{{ admin.label}}</td>
- <td><a href="{{ admin.generateUrl('create')}}"><img src="{{ asset('bundles/sonatabaseapplication/famfamfam/add.png') }}" /> {% trans 'link_add' from 'BaseApplicationBundle' %}</a></td>
- <td><a href="{{ admin.generateUrl('list')}}"><img src="{{ asset('bundles/sonatabaseapplication/famfamfam/application_view_list.png') }}" />{% trans 'link_list' from 'BaseApplicationBundle' %}</a></td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endfor %}
- {% endblock %}
|