Skip to content

Commit

Permalink
[User] Add groups to user list.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Oct 25, 2015
1 parent b15d646 commit 21e9fb4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
list:
username: Username
roles: Roles
groups: Groups
user:
profile:
title: Profile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
list:
username: Gebruikersnaam
roles: Rollen
groups: Groepen
user:
profile:
title: Profiel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<tr>
<th></th>
<th>{{ 'list.username'|trans }}</th>
<th>{{ 'list.groups'|trans }}</th>
<th>{{ 'list.roles'|trans }}</th>
</tr>
{% endblock %}
Expand All @@ -17,6 +18,11 @@
<a class="btn btn-danger btn-xs" href="{{ path('clastic_node_delete', {type: type, id: record.id}) }}"><i class="fa fa-trash"></i></a>
</td>
<td>{{ record.username }}</td>
<td>
{% for group in record.groups %}
<span class="label label-default">{{ group }}</span>
{% endfor %}
</td>
<td>
{% for role in record.roles %}
<span class="label label-default">{{ role }}</span>
Expand Down

0 comments on commit 21e9fb4

Please sign in to comment.