fix translations and layout in user CRUD

close #615 0h45
This commit is contained in:
2015-09-29 15:54:17 +02:00
parent 31f3744ad9
commit 2e650a53db
7 changed files with 39 additions and 14 deletions

View File

@@ -50,10 +50,10 @@
</tbody>
</table>
{% else %}
<p>{{ 'no permissions granted to this user'|trans }}</p>
<p>{{ 'Any permissions granted to this user'|trans }}.</p>
{% endif %}
<h2>{{ 'Grant new permissions'|trans }}</h2>
<h3>{{ 'Grant new permissions'|trans }}</h3>
{{ form_start(add_groupcenter_form) }}
{{ form_row(add_groupcenter_form.composed_groupcenter.center) }}
@@ -63,10 +63,15 @@
{{ form_end(add_groupcenter_form) }}
<ul class="record_actions">
<li>
<a href="{{ path('admin_user') }}">
{{ 'Back to the list'|trans }}
</a>
</li>
</ul>
<li>
<a href="{{ path('admin_user_show', { 'id': entity.id }) }}">
{{ 'show'|trans }}
</a>
</li>
<li>
<a href="{{ path('admin_user') }}">
{{ 'Back to the list'|trans }}
</a>
</li>
</ul>
{% endblock %}