Merge remote-tracking branch 'origin/v3' into v3-master

This commit is contained in:
snipe 2016-06-21 12:22:49 -07:00
commit 50e38cb740
2 changed files with 15 additions and 1 deletions

View file

@ -40,6 +40,8 @@ use Illuminate\Http\Request;
* *
* @version v1.0 * @version v1.0
*/ */
class UsersController extends Controller class UsersController extends Controller
{ {
@ -1132,6 +1134,8 @@ class UsersController extends Controller
*/ */
public function postLDAP() public function postLDAP()
{ {
ini_set('max_execution_time', 600); //600 seconds = 10 minutes
ini_set('memory_limit', '500M');
$location_id = e(Input::get('location_id')); $location_id = e(Input::get('location_id'));

View file

@ -260,8 +260,18 @@
<div class="col-md-4"> <div class="col-md-4">
@if ($asset->image)
<img src="{{ Config::get('app.url') }}/uploads/assets/{{{ $asset->image }}}" class="assetimg">
@else
@if ($asset->model->image!='')
<img src="{{ Config::get('app.url') }}/uploads/models/{{{ $asset->model->image }}}" class="assetimg">
@endif
@endif
@if (App\Models\Setting::getSettings()->qr_code=='1')
<img src="{{ config('get.url') }}/hardware/{{ $asset->id }}/qr_code" class="img-thumbnail pull-right" style="height: 100px; width: 100px; margin-right: 10px;"> <img src="{{ config('get.url') }}/hardware/{{ $asset->id }}/qr_code" class="img-thumbnail pull-right" style="height: 100px; width: 100px; margin-right: 10px;">
@endif
@if (($asset->assigneduser) && ($asset->assigned_to > 0) && ($asset->deleted_at=='')) @if (($asset->assigneduser) && ($asset->assigned_to > 0) && ($asset->deleted_at==''))
<h4>{{ trans('admin/hardware/form.checkedout_to') }}</h4> <h4>{{ trans('admin/hardware/form.checkedout_to') }}</h4>