-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for #766 - add activity report
- Loading branch information
Showing
7 changed files
with
101 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
return array ( | ||
'app_version' => 'v1.2.6.1-216', | ||
'hash_version' => 'v1.2.6.1-216-ge6d0d83', | ||
'app_version' => 'v1.2.6.1-217', | ||
'hash_version' => 'v1.2.6.1-217-gb4b273f', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
@extends('backend/layouts/default') | ||
|
||
{{-- Page title --}} | ||
@section('title') | ||
@lang('general.license_report') :: | ||
@parent | ||
@stop | ||
|
||
{{-- Page content --}} | ||
@section('content') | ||
|
||
|
||
<div class="page-header"> | ||
|
||
<h3>@lang('general.activity_report')</h3> | ||
</div> | ||
|
||
<div class="row"> | ||
|
||
<div class="table-responsive"> | ||
<table id="example"> | ||
<thead> | ||
<tr role="row"> | ||
<th class="col-sm-1">Admin</th> | ||
<th class="col-sm-1">@lang('table.action')</th> | ||
<th class="col-sm-1"></th> | ||
<th class="col-sm-1">Type</th> | ||
<th class="col-sm-1">Item</th> | ||
<th class="col-sm-1">Date</th | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
@foreach ($log_actions as $log_action) | ||
<tr> | ||
<td><a href="../admin/users/{{ $log_action->adminlog->id }}/view">{{ $log_action->adminlog->fullName() }}</a></td> | ||
<td>{{{ $log_action->action_type }}}</td> | ||
<td> | ||
@if ($log_action->userlog) | ||
<a href="../admin/users/{{ $log_action->userlog->id }}/view">{{ $log_action->userlog->fullName() }}</a> | ||
@endif | ||
</td> | ||
<td> | ||
@if ($log_action->assetlog) | ||
Asset | ||
@elseif ($log_action->licenselog) | ||
License | ||
@elseif ($log_action->accessorylog) | ||
Accessory | ||
@endif | ||
|
||
</td> | ||
<td> | ||
|
||
@if ($log_action->assetlog) | ||
{{ $log_action->assetlog->name }} | ||
@elseif ($log_action->licenselog) | ||
{{ $log_action->licenselog->name }} | ||
@elseif ($log_action->accessorylog) | ||
{{ $log_action->accessorylog->name }} | ||
@endif | ||
|
||
|
||
</td> | ||
<td>{{{ $log_action->created_at }}}</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
|
||
@stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters