Skip to content

Commit

Permalink
Changing index orders
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Jun 26, 2015
1 parent bcb8ad0 commit 58928d1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
13 changes: 10 additions & 3 deletions Resources/views/admin/roles/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
<table class="data-table table table-bordered table-hover">
<thead>
<tr>
<th>{{ trans('user::users.table.created-at') }}</th>
<td>Id</td>
<th>{{ trans('user::roles.table.name') }}</th>
<th>{{ trans('user::users.table.created-at') }}</th>
<th>Actions</th>
</tr>
</thead>
Expand All @@ -39,14 +40,19 @@
<tr>
<td>
<a href="{{ URL::route('admin.user.role.edit', [$role->id]) }}">
{{ $role->created_at }}
{{ $role->id }}
</a>
</td>
<td>
<a href="{{ URL::route('admin.user.role.edit', [$role->id]) }}">
{{ $role->name }}
</a>
</td>
<td>
<a href="{{ URL::route('admin.user.role.edit', [$role->id]) }}">
{{ $role->created_at }}
</a>
</td>
<td>
<div class="btn-group">
<a href="{{ URL::route('admin.user.role.edit', [$role->id]) }}" class="btn btn-default btn-flat"><i class="glyphicon glyphicon-pencil"></i></a>
Expand All @@ -59,8 +65,9 @@
</tbody>
<tfoot>
<tr>
<th>{{ trans('user::users.table.created-at') }}</th>
<td>Id</td>
<th>{{ trans('user::roles.table.name') }}</th>
<th>{{ trans('user::users.table.created-at') }}</th>
<th>Actions</th>
</tr>
</tfoot>
Expand Down
13 changes: 10 additions & 3 deletions Resources/views/admin/users/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@
<table class="data-table table table-bordered table-hover">
<thead>
<tr>
<th>{{ trans('user::users.table.created-at') }}</th>
<th>Id</th>
<th>{{ trans('user::users.table.first-name') }}</th>
<th>{{ trans('user::users.table.last-name') }}</th>
<th>{{ trans('user::users.table.email') }}</th>
<th>{{ trans('user::users.table.created-at') }}</th>
<th>{{ trans('user::users.table.actions') }}</th>
</tr>
</thead>
Expand All @@ -41,7 +42,7 @@
<tr>
<td>
<a href="{{ URL::route('admin.user.user.edit', [$user->id]) }}">
{{ $user->created_at }}
{{ $user->id }}
</a>
</td>
<td>
Expand All @@ -59,6 +60,11 @@
{{ $user->email }}
</a>
</td>
<td>
<a href="{{ URL::route('admin.user.user.edit', [$user->id]) }}">
{{ $user->created_at }}
</a>
</td>
<td>
<div class="btn-group">
<a href="{{ URL::route('admin.user.user.edit', [$user->id]) }}" class="btn btn-default btn-flat"><i class="glyphicon glyphicon-pencil"></i></a>
Expand All @@ -73,10 +79,11 @@
</tbody>
<tfoot>
<tr>
<th>{{ trans('user::users.table.created-at') }}</th>
<th>Id</th>
<th>{{ trans('user::users.table.first-name') }}</th>
<th>{{ trans('user::users.table.last-name') }}</th>
<th>{{ trans('user::users.table.email') }}</th>
<th>{{ trans('user::users.table.created-at') }}</th>
<th>{{ trans('user::users.table.actions') }}</th>
</tr>
</tfoot>
Expand Down

0 comments on commit 58928d1

Please sign in to comment.