Skip to content

A free open source IT asset/license management system

Small display improvements

snipe985e683896c7
diff --git a/resources/lang/en/admin/locations/general.php b/resources/lang/en/admin/locations/general.php
new file mode 100644
index 0000000000..822fd66c8b
--- /dev/null
+++ b/resources/lang/en/admin/locations/general.php
@@ -0,0 +1,9 @@
+<?php
+
+return array(
+ 'assigned_location' => 'Assigned to :location Location',
+ 'asset_management_system' => 'Asset Management System',
+ 'assigned_to' => 'Assigned To:',
+ 'manager' => 'Manager',
+ 'date' => 'Current Date:',
+);
\ No newline at end of file
diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php
index b9c664e654..7fc02ea6e7 100644
--- a/resources/views/locations/print.blade.php
+++ b/resources/views/locations/print.blade.php
@@ -156,34 +156,23 @@
<table>
<tr>
<td>{{ trans('admin/locations/table.signed_by_asset_auditor') }}</td>
- <td>___________________________</td>
- <td></td>
+ <td><br>------------------------------------------------------ &nbsp;&nbsp;&nbsp;<br></td>
<td>{{ trans('admin/locations/table.date') }}</td>
- <td>____________________</td>
+ <td><br>------------------------------ &nbsp;&nbsp;&nbsp;<br></td>
</tr>
-</table>
-<br>
-<br>
-<br>
-<table>
+
<tr>
<td>{{ trans('admin/locations/table.signed_by_finance_auditor') }}</td>
- <td>____________________</td>
- <td></td>
+ <td><br>------------------------------------------------------ &nbsp;&nbsp;&nbsp;<br></td>
<td>{{ trans('admin/locations/table.date') }}</td>
- <td>____________________</td>
+ <td><br>------------------------------ &nbsp;&nbsp;&nbsp;<br></td>
</tr>
-</table>
-<br>
-<br>
-<br>
-<table>
+
<tr>
<td>{{ trans('admin/locations/table.signed_by_location_manager') }}</td>
- <td>_______________________</td>
- <td></td>
+ <td><br>------------------------------------------------------ &nbsp;&nbsp;&nbsp;<br></td>
<td>{{ trans('admin/locations/table.date') }}</td>
- <td>____________________</td>
+ <td><br>------------------------------ &nbsp;&nbsp;&nbsp;<br></td>
</tr>
</table>
diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php
index 87eaf7c1ae..771538df5e 100644
--- a/resources/views/locations/view.blade.php
+++ b/resources/views/locations/view.blade.php
@@ -191,9 +191,20 @@
<div class="col-md-3">
+ <div class="col-md-12">
+ <a href="{{ route('locations.edit', ['location' => $location->id]) }}" style="width: 100%;" class="btn btn-sm btn-primary pull-left">{{ trans('admin/locations/table.update') }} </a>
+ </div>
+ <div class="col-md-12" style="padding-top: 5px;">
+ <a href="{{ route('locations.print_assigned', ['locationId' => $location->id]) }}" style="width: 100%;" class="btn btn-sm btn-default pull-left">{{ trans('admin/locations/table.print_assigned') }} </a>
+ </div>
+ <div class="col-md-12" style="padding-top: 5px; padding-bottom: 20px;">
+ <a href="{{ route('locations.print_all_assigned', ['locationId' => $location->id]) }}" style="width: 100%;" class="btn btn-sm btn-default pull-left">{{ trans('admin/locations/table.print_all_assigned') }} </a>
+ </div>
+
+
@if ($location->image!='')
<div class="col-md-12 text-center" style="padding-bottom: 20px;">
- <img src="{{ Storage::disk('public')->url('locations/'.e($location->image)) }}" class="img-responsive img-thumbnail" alt="{{ $location->name }}">
+ <img src="{{ Storage::disk('public')->url('locations/'.e($location->image)) }}" class="img-responsive img-thumbnail" style="width:100%" alt="{{ $location->name }}">
</div>
@endif
<div class="col-md-12">
@@ -220,21 +231,13 @@
@if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
<div class="col-md-12 text-center">
- <img src="https://maps.googleapis.com/maps/api/staticmap?markers={{ urlencode($location->address.','.$location->city.' '.$location->state.' '.$location->country.' '.$location->zip) }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-responsive img-thumbnail" alt="Map">
+ <img src="https://maps.googleapis.com/maps/api/staticmap?markers={{ urlencode($location->address.','.$location->city.' '.$location->state.' '.$location->country.' '.$location->zip) }}&size=700x500&maptype=roadmap&key={{ config('services.google.maps_api_key') }}" class="img-thumbnail" style="width:100%" alt="Map">
</div>
@endif
</div>
- <div class="col-md-12">
- <a href="{{ route('locations.edit', ['location' => $location->id]) }}" style="width: 50%;" class="btn btn-sm btn-primary pull-left">{{ trans('admin/locations/table.update') }} </a>
- </div>
- <div class="col-md-12" style="padding-top: 5px;">
- <a href="{{ route('locations.print_assigned', ['locationId' => $location->id]) }}" style="width: 50%;" class="btn btn-sm btn-default pull-left">{{ trans('admin/locations/table.print_assigned') }} </a>
- </div>
- <div class="col-md-12" style="padding-top: 5px;">
- <a href="{{ route('locations.print_all_assigned', ['locationId' => $location->id]) }}" style="width: 50%;" class="btn btn-sm btn-default pull-left">{{ trans('admin/locations/table.print_all_assigned') }} </a>
- </div>
+
</div>