Skip to content

Commit

Permalink
Fixed actor-with-warning display to only show the warning for the "cl…
Browse files Browse the repository at this point in the history
…ient" role
  • Loading branch information
jjdejong committed Jul 9, 2024
1 parent 1dd0b21 commit 95f2cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/matter/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@
<ul class="list-unstyled mb-0">
@foreach ( $role_group as $actor )
<li class="text-truncate {{ $actor->inherited ? 'fst-italic' : '' }}">
@if ( $actor->warn )
@if ( $actor->warn && $actor->role_code == 'CLI')
<span class="text-danger" title="Special instructions">
<svg width="12" height="12" fill="currentColor"><use xlink:href="#exclamation-triangle-fill"/></svg>
</span>
@endif
<a @if ($actor->warn) class="text-danger" @endif
<a @if ($actor->warn && $actor->role_code == 'CLI') class="text-danger" @endif
href="/actor/{{ $actor->actor_id }}"
data-bs-toggle="modal"
data-bs-target="#ajaxModal"
Expand Down

0 comments on commit 95f2cbc

Please sign in to comment.