mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Adds the category in the side info on Models > View
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1763bbfbd3
commit
368bd5da3f
|
@ -221,6 +221,12 @@
|
||||||
|
|
||||||
|
|
||||||
<ul class="list-unstyled" style="line-height: 25px;">
|
<ul class="list-unstyled" style="line-height: 25px;">
|
||||||
|
@if ($model->category)
|
||||||
|
<li>{{ trans('general.category') }}:
|
||||||
|
<a href="{{ route('categories.show', $model->category->id) }}">{{ $model->category->name }}</a>
|
||||||
|
</li>
|
||||||
|
@endif
|
||||||
|
|
||||||
@if ($model->manufacturer)
|
@if ($model->manufacturer)
|
||||||
<li>
|
<li>
|
||||||
{{ trans('general.manufacturer') }}:
|
{{ trans('general.manufacturer') }}:
|
||||||
|
|
Loading…
Reference in a new issue