Skip to content

Commit

Permalink
Merge pull request #199 from Ashurali/feature/Change_variable_name_us…
Browse files Browse the repository at this point in the history
…ed_in_show.blade.php

Change variable name used in show.blade.php
  • Loading branch information
jeremykenedy authored Nov 19, 2023
2 parents dda576f + 997380c commit c8b2a56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@
{!! trans('laravelroles::laravelroles.cards.permission-info-card.permission-desc') !!}
<span class="badge badge-pill">
@isset($typeDeleted)
@if($item->desc)
{{ $item->desc }}
@if($item->description)
{{ $item->description }}
@else
<span class="text-muted">
{!! trans('laravelroles::laravelroles.cards.permission-info-card.none') !!}
</span>
@endif
@else
@if($item['permission']->desc)
{{ $item['permission']->desc }}
@if($item['permission']->description)
{{ $item['permission']->description }}
@else
<span class="text-muted">
{!! trans('laravelroles::laravelroles.cards.permission-info-card.none') !!}
Expand Down
4 changes: 2 additions & 2 deletions src/resources/views/laravelroles/crud/roles/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
<li class="list-group-item d-flex justify-content-between align-items-center">
{!! trans('laravelroles::laravelroles.cards.role-info-card.role-desc') !!}
<span class="badge badge-pill">
@if($item->desc)
{{ $item->desc }}
@if($item->description)
{{ $item->description }}
@else
<span class="text-muted">
{!! trans('laravelroles::laravelroles.cards.role-info-card.none') !!}
Expand Down

0 comments on commit c8b2a56

Please sign in to comment.