Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-02-11 18:53:12 +0000
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Commit
990acbb9ac67229b45c662ea96dd3f025bcd3d82
990acbb9
2 parents
d6c00a85
17d4533e
Merge pull request #59 from nwalke/master
Updated email on users list to be a link
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
resources/views/users/index.blade.php
resources/views/users/index.blade.php
View file @
990acbb
...
...
@@ -27,12 +27,20 @@
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
<a
href=
"/users/{{$user->id}}"
>
@endif
{{$user->name}}
{{ $user->name }}
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
</a>
@endif
</td>
<td>
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
<a
href=
"/users/{{$user->id}}"
>
@endif
{{ $user->email }}
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
</a>
@endif
</td>
<td>
{{$user->email}}
</td>
<td>
{{ $user->role->display_name }}
</td>
</tr>
@endforeach
...
...
Please
register
or
sign in
to post a comment