A free open source IT asset/license management system
Fixed admin string
snipec46a9a773d8e
diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.phpindex bd22562a62..33afac5312 100644--- a/app/Http/Controllers/ReportsController.php+++ b/app/Http/Controllers/ReportsController.php@@ -243,7 +243,7 @@ class ReportsController extends Controller$header = [trans('general.date'),- trans('general.admin'),+ trans('general.created_by'),trans('general.action'),trans('general.type'),trans('general.item'),diff --git a/app/Presenters/AccessoryPresenter.php b/app/Presenters/AccessoryPresenter.phpindex 6d423bed78..86b4d1bc0f 100644--- a/app/Presenters/AccessoryPresenter.php+++ b/app/Presenters/AccessoryPresenter.php@@ -229,7 +229,7 @@ class AccessoryPresenter extends Presenter'field' => 'created_by','searchable' => false,'sortable' => false,- 'title' => trans('general.admin'),+ 'title' => trans('general.created_by'),'visible' => false,'formatter' => 'usersLinkObjFormatter',],diff --git a/app/Presenters/LocationPresenter.php b/app/Presenters/LocationPresenter.phpindex 42f56a309d..e36a386821 100644--- a/app/Presenters/LocationPresenter.php+++ b/app/Presenters/LocationPresenter.php@@ -262,7 +262,7 @@ class LocationPresenter extends Presenter'field' => 'created_by','searchable' => false,'sortable' => false,- 'title' => trans('general.admin'),+ 'title' => trans('general.created_by'),'visible' => false,'formatter' => 'usersLinkObjFormatter',],diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.phpindex a4f4656bf7..41ffbb95fe 100644--- a/resources/views/accessories/view.blade.php+++ b/resources/views/accessories/view.blade.php@@ -125,7 +125,7 @@<thead><tr><th class="col-sm-2" data-visible="false" data-sortable="true" data-field="created_at" data-formatter="dateDisplayFormatter">{{ trans('general.record_created') }}</th>- <th class="col-sm-2"data-visible="true" data-sortable="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>+ <th class="col-sm-2"data-visible="true" data-sortable="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.created_by') }}</th><th class="col-sm-2" data-sortable="true" data-visible="true" data-field="action_type">{{ trans('general.action') }}</th><th class="col-sm-2" data-field="file" data-visible="false" data-formatter="fileUploadNameFormatter">{{ trans('general.file_name') }}</th><th class="col-sm-2" data-sortable="true" data-visible="true" data-field="item" data-formatter="polymorphicItemFormatter">{{ trans('general.item') }}</th>diff --git a/resources/views/consumables/view.blade.php b/resources/views/consumables/view.blade.phpindex 93031b63cf..4ef82efc8e 100644--- a/resources/views/consumables/view.blade.php+++ b/resources/views/consumables/view.blade.php@@ -421,7 +421,7 @@{{ trans('general.date') }}</th><th data-searchable="false" data-sortable="false" data-field="note">{{ trans('general.notes') }}</th>- <th data-searchable="false" data-sortable="false" data-field="admin">{{ trans('general.admin') }}</th>+ <th data-searchable="false" data-sortable="false" data-field="admin">{{ trans('general.created_by') }}</th></tr></thead></table>@@ -472,7 +472,7 @@<tr><th data-visible="true" data-field="icon" style="width: 40px;" class="hidden-xs" data-formatter="iconFormatter">{{ trans('admin/hardware/table.icon') }}</th><th data-visible="true" data-field="action_date" data-sortable="true" data-formatter="dateDisplayFormatter">{{ trans('general.date') }}</th>- <th data-visible="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>+ <th data-visible="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.created_by') }}</th><th data-visible="true" data-field="action_type">{{ trans('general.action') }}</th><th class="col-sm-2" data-field="file" data-visible="false" data-formatter="fileUploadNameFormatter">{{ trans('general.file_name') }}</th><th data-visible="true" data-field="item" data-formatter="polymorphicItemFormatter">{{ trans('general.item') }}</th>diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.phpindex ffcc94621b..6d7b406df9 100755--- a/resources/views/licenses/view.blade.php+++ b/resources/views/licenses/view.blade.php@@ -498,7 +498,7 @@<thead><tr><th class="col-sm-2" data-visible="false" data-sortable="true" data-field="created_at" data-formatter="dateDisplayFormatter">{{ trans('general.record_created') }}</th>- <th class="col-sm-2"data-visible="true" data-sortable="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>+ <th class="col-sm-2"data-visible="true" data-sortable="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.created_by') }}</th><th class="col-sm-2" data-sortable="true" data-visible="true" data-field="action_type">{{ trans('general.action') }}</th><th class="col-sm-2" data-field="file" data-visible="false" data-formatter="fileUploadNameFormatter">{{ trans('general.file_name') }}</th><th class="col-sm-2" data-sortable="true" data-visible="true" data-field="item" data-formatter="polymorphicItemFormatter">{{ trans('general.item') }}</th>diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.phpindex 6ee75d6bff..345a40a3d3 100644--- a/resources/views/locations/view.blade.php+++ b/resources/views/locations/view.blade.php@@ -434,7 +434,7 @@<tr><th data-visible="true" data-field="icon" style="width: 40px;" class="hidden-xs" data-formatter="iconFormatter">{{ trans('admin/hardware/table.icon') }}</th><th class="col-sm-2" data-visible="true" data-field="action_date" data-formatter="dateDisplayFormatter">{{ trans('general.date') }}</th>- <th class="col-sm-1" data-visible="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>+ <th class="col-sm-1" data-visible="true" data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.created_by') }}</th><th class="col-sm-1" data-visible="true" data-field="action_type">{{ trans('general.action') }}</th><th class="col-sm-2" data-visible="true" data-field="item" data-formatter="polymorphicItemFormatter">{{ trans('general.item') }}</th><th class="col-sm-2" data-visible="true" data-field="target" data-formatter="polymorphicItemFormatter">{{ trans('general.target') }}</th>diff --git a/resources/views/reports/asset_maintenances.blade.php b/resources/views/reports/asset_maintenances.blade.phpindex 3da2e798fd..406375ccd8 100644--- a/resources/views/reports/asset_maintenances.blade.php+++ b/resources/views/reports/asset_maintenances.blade.php@@ -46,7 +46,7 @@<th data-sortable="true" data-field="location" data-formatter="deployedLocationFormatter" data-visible="false">{{ trans('general.location') }}</th><th data-sortable="true" data-field="rtd_location" data-formatter="deployedLocationFormatter" data-visible="false">{{ trans('admin/hardware/form.default_location') }}</th><th data-searchable="true" data-sortable="true" data-field="is_warranty" data-formatter="trueFalseFormatter">{{ trans('admin/asset_maintenances/table.is_warranty') }}</th>- <th data-searchable="true" data-sortable="true" data-field="user_id" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>+ <th data-searchable="true" data-sortable="true" data-field="user_id" data-formatter="usersLinkObjFormatter">{{ trans('general.created_by') }}</th><th data-searchable="true" data-sortable="true" data-field="notes" data-visible="false">{{ trans('admin/asset_maintenances/form.notes') }}</th></tr></thead>diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.phpindex 7ee3c4926c..e77ab3bd23 100755--- a/resources/views/users/view.blade.php+++ b/resources/views/users/view.blade.php@@ -1003,7 +1003,7 @@<th data-field="signature_file" data-visible="false" data-formatter="imageFormatter">{{ trans('general.signature') }}</th>@endif<th data-field="item.serial" data-visible="false">{{ trans('admin/hardware/table.serial') }}</th>- <th data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.admin') }}</th>+ <th data-field="admin" data-formatter="usersLinkObjFormatter">{{ trans('general.created_by') }}</th><th data-field="remote_ip" data-visible="false" data-sortable="true">{{ trans('admin/settings/general.login_ip') }}</th><th data-field="user_agent" data-visible="false" data-sortable="true">{{ trans('admin/settings/general.login_user_agent') }}</th><th data-field="action_source" data-visible="false" data-sortable="true">{{ trans('general.action_source') }}</th>