mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Used inline markdown in views
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b5695c9ab7
commit
a569a99e61
|
@ -93,7 +93,7 @@ use Carbon\Carbon;
|
|||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12" style="padding-bottom: 10px; margin-left: 15px; word-wrap: break-word;">
|
||||
<strong>{{ trans('admin/asset_maintenances/form.notes') }}: </strong>
|
||||
{{ $assetMaintenance->notes }}
|
||||
{!! nl2br(Helper::parseEscapedMarkedownInline($assetMaintenance->notes)) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!-- 5th Row End -->
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
|
||||
<td>
|
||||
@if ($file->note)
|
||||
{{ $file->note }}
|
||||
{!! nl2br(Helper::parseEscapedMarkedownInline($file->note)) !!}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
|
@ -275,7 +275,7 @@
|
|||
</strong>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
{!! nl2br(e($consumable->notes)) !!}
|
||||
{!! nl2br(Helper::parseEscapedMarkedownInline($consumable->notes)) !!}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
@ -730,7 +730,7 @@
|
|||
</strong>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
{!! nl2br(e($asset->notes)) !!}
|
||||
{!! nl2br(Helper::parseEscapedMarkedownInline($asset->notes)) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -338,7 +338,7 @@
|
|||
@endif
|
||||
|
||||
@if ($supplier->notes!='')
|
||||
<li><i class="fa fa-comment"></i> {{ $supplier->notes }}</li>
|
||||
<li><i class="fa fa-comment"></i> {!! nl2br(Helper::parseEscapedMarkedownInline($supplier->notes)) !!}</li>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
|
|
|
@ -633,7 +633,7 @@
|
|||
{{ trans('admin/users/table.notes') }}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
{{ $user->notes }}
|
||||
{!! nl2br(Helper::parseEscapedMarkedownInline($user->notes)) !!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue