Skip to content

Commit

Permalink
Tweak role ui helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ilestis committed Jun 12, 2024
1 parent 244bb87 commit d4f9465
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions resources/views/campaigns/roles/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@
</button>
</div>
@if (!$role->isAdmin())
<x-alert type="info">
<p>{!! __('campaigns.roles.hints.role_permissions', ['name' => '<code>' . $role->name . '</code>']) !!}</p>
</x-alert>
<p>{!! __('campaigns.roles.hints.role_permissions', ['name' => '<span class="font-extrabold text-accent">' . $role->name . '</span>']) !!}</p>
@else
<x-alert type="info">
<p>{!! __('campaigns.roles.hints.role_admin', ['name' => '<code>' . $role->name . '</code>']) !!} </p>
</x-alert>
<p>{!! __('campaigns.roles.hints.role_admin', ['name' => '<span class="font-extrabold text-accent">' . $role->name . '</span>']) !!} </p>
@endif
@if (!$role->isAdmin())
<x-box>
Expand Down

0 comments on commit d4f9465

Please sign in to comment.