mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Merge pull request #11676 from snipe/fixes/added_category_to_model_info
Adds the category in the side info on Models > View
This commit is contained in:
commit
40bc13a946
|
@ -221,6 +221,12 @@
|
|||
|
||||
|
||||
<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)
|
||||
<li>
|
||||
{{ trans('general.manufacturer') }}:
|
||||
|
|
Loading…
Reference in a new issue