Skip to content

Commit ba3598d

Browse files
committed
shrink complete, reopen, hide_0 and hide_1 comment types
1 parent 66fbece commit ba3598d

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

src/Views/tickets/partials/comments.blade.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@
4444
break;
4545
}
4646
?>
47-
<div class="panel {!! $comment->user->tickets_role ? "panel-info" : "panel-default" !!}">
47+
@if (in_array($comment->type, ['complete', 'reopen', 'hide_0', 'hide_1']))
48+
<div class="row"><div class="col-xs-12"><div style="margin: 0em 0em 1em 0em; padding: 0px 15px;">
49+
<span class="glyphicons glyphicon {{ $glyphicon }}" aria-hidden="true" style="margin: 0em 0.5em 0em 0em;"></span>{!! $comment_header !!}
50+
@if ($comment->created_at!=$comment->updated_at)
51+
<span class="glyphicon glyphicon-pencil" aria-hidden="true" style="color: gray"></span>
52+
@endif
53+
{!! $comment->updated_at->diffForHumans() !!}
54+
</div></div></div>
55+
@else
56+
<div class="panel panel-default">
4857
<div class="panel-heading">
4958
<h3 class="panel-title">
5059
<span class="tooltip-info" data-toggle="tooltip" data-placement="auto bottom" title="{{ $comment_title }}"><span class="glyphicons glyphicon {{ $glyphicon }}" aria-hidden="true"></span> {!! $comment_header !!}</span>
@@ -86,6 +95,7 @@
8695
</div>
8796

8897
</div>
98+
@endif
8999
@endforeach
90100

91101
{!! CollectiveForm::open([

0 commit comments

Comments
 (0)