Skip to content

Commit 7a88848

Browse files
committed
Admin - Pages index - set first 3 users as primary
1 parent ef81bba commit 7a88848

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

config/app.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
// Set to false or remove key will ignore the 'preview' settings
1717
'is_preview' => true,
1818

19-
'debug_blacklist' => [
19+
// enable this to hide the information on detailed error logs
20+
/*'debug_blacklist' => [
2021
'_ENV' => array_keys($_ENV),
2122
'_COOKIE' => array_keys($_COOKIE),
2223
'_SERVER' => array_keys($_SERVER),
23-
],
24+
],*/
2425

2526
/*
2627
|--------------------------------------------------------------------------

resources/views/admin/accounts/administrators/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<td>{{ $item->roles_string }}</td>
4545
<td>{{ ($item->logged_in_at)? $item->logged_in_at->diffForHumans():'-' }}</td>
4646
<td>
47-
@if(!config('app.is_preview') || $item->id > 2)
47+
@if(!config('app.is_preview') || $item->id > 3)
4848
<div class="btn-toolbar">
4949
@if($item->confirmed_at)
5050
<div class="btn-group">

resources/views/admin/accounts/clients/pagination.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<td>{{ $item->email }}</td>
1717
<td>{{ $item->roles_string }}</td>
1818
<td>
19-
@if(!config('app.is_preview') || $item->id > 2)
19+
@if(!config('app.is_preview') || $item->id > 3)
2020
<div class="btn-group">
2121
<a href="/admin/accounts/clients/{{$item->id}}" class="btn btn-default btn-xs" data-toggle="tooltip" title="Show {{$item->fullname}}">
2222
<i class="fa fa-eye"></i>

resources/views/admin/pages/index.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<th>Description</th>
4848
<th>Url</th>
4949
<th>Parent</th>
50+
<th>Page Views</th>
5051
<th style="min-width: 100px;">Action</th>
5152
</tr>
5253
</thead>
@@ -57,6 +58,7 @@
5758
<td>{!! $item->description !!}</td>
5859
<td>{!! $item->url !!}</td>
5960
<td>{{ ($item->parent)? $item->parent->title : '-' }}</td>
61+
<td>{{ $item->views }}</td>
6062
<td>
6163
<div class="btn-toolbar">
6264
<div class="btn-group">

0 commit comments

Comments
 (0)