Commit ec197c5b authored by Nicolas Widart's avatar Nicolas Widart

Translating the roles view

parent c3e8df6f
...@@ -7,6 +7,7 @@ return [ ...@@ -7,6 +7,7 @@ return [
'title' => [ 'title' => [
'roles' => 'Roles', 'roles' => 'Roles',
'edit' => 'Edit role', 'edit' => 'Edit role',
'users-with-roles' => 'Users with this role',
], ],
'breadcrumb' => [ 'breadcrumb' => [
'roles' => 'Roles', 'roles' => 'Roles',
......
...@@ -7,6 +7,7 @@ return [ ...@@ -7,6 +7,7 @@ return [
'title' => [ 'title' => [
'roles' => 'Rôles', 'roles' => 'Rôles',
'edit' => 'Editez un rôle', 'edit' => 'Editez un rôle',
'users-with-roles' => 'Utilisateurs avec ce rôle',
], ],
'breadcrumb' => [ 'breadcrumb' => [
'roles' => 'Rôles', 'roles' => 'Rôles',
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<div class="box-body"> <div class="box-body">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<h3>Users with this role</h3> <h3>{{ trans('user::roles.title.users-with-roles') }}</h3>
<ul> <ul>
<?php foreach($role->users()->get() as $user): ?> <?php foreach($role->users()->get() as $user): ?>
<li> <li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment