Skip to content

Commit

Permalink
Fix message shown in user profile when no roles are assigned to the user
Browse files Browse the repository at this point in the history
  • Loading branch information
zulfajuniadi committed Dec 20, 2015
1 parent 92af98e commit fd00571
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion resources/lang/en/users.php
Expand Up @@ -45,6 +45,5 @@
'edit_profile' => 'Edit Your Profile',
'change_password' => 'Change Password',
'password_updated' => 'Your password has been updated. Please login back.',
'profile_no_roles' => 'No roles assigned to you',
'profile_updated' => 'Your profile has been updated',
];
1 change: 0 additions & 1 deletion resources/lang/ms/users.php
Expand Up @@ -45,6 +45,5 @@
'edit_profile' => 'Kemaskini Profil Anda',
'change_password' => 'Tukar Kata Laluan',
'password_updated' => 'Kata laluan and telah berjaya ditukar. Sila log masuk semula.',
'profile_no_roles' => 'Tiada peranan yang telah diberikan kepada anda',
'profile_updated' => 'Profil anda telah dikemaskini',
];
2 changes: 1 addition & 1 deletion resources/views/users/profile-inner.blade.php
Expand Up @@ -27,7 +27,7 @@
@forelse($user->roles as $role)
<li>{{$role->display_name}}</li>
@empty
{{trans('user.profile_no_roles')}}
{{trans('users.profile_no_roles')}}
@endforelse
</ul>
</dd>
Expand Down

0 comments on commit fd00571

Please sign in to comment.