1234567891011121314151617181920212223242526272829303132333435363738 |
- {#
- 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 from 'AdminBundle' %}title_dashboard{% endtrans %}{% endblock%}
- {% block breadcrumb %}{% trans from 'AdminBundle' %}title_dashboard{% endtrans %}{% endblock %}
- {% block content %}
- {% for code, group in groups %}
- <table class="sonata-ba-list">
- <thead>
- <tr>
- <th colspan="3">{{ code|trans({}, 'AdminBundle') }}</td>
- </tr>
- </thead>
- <tbody>
- {% for admin in group %}
- <tr>
- <td class="sonata-ba-list-label">{{ admin.label|trans({}, admin.translationdomain) }}</td>
- <td><a href="{{ admin.generateUrl('create')}}"><img src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}" /> {% trans from 'AdminBundle' %}link_add{% endtrans %}</a></td>
- <td><a href="{{ admin.generateUrl('list')}}"><img src="{{ asset('bundles/sonataadmin/famfamfam/application_view_list.png') }}" />{% trans from 'AdminBundle' %}link_list{% endtrans %}</a></td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endfor %}
- {% endblock %}
|