File tree 4 files changed +16
-9
lines changed
4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 61
61
<div class =" w-40 col-span-2 md:col-span-1" >
62
62
@can (' update' , $role )
63
63
<a href =" {{ route (' campaign_roles.edit' , [$campaign , $role ]) } }" >
64
- {{ $role -> name } }
64
+ {!! $role -> name ! ! }
65
65
</a >
66
66
@if ($role -> isPublic () && ! $campaign -> isPublic () )
67
67
<x-icon class =" fa-solid fa-exclamation-triangle" tooltip :title =" __('campaigns.roles.permissions.helpers.not_public')" />
68
68
@endif
69
69
@else
70
- {{ $role -> name } }
70
+ {!! $role -> name ! ! }
71
71
@endcan
72
72
</div >
73
73
<div class =" " >
Original file line number Diff line number Diff line change 188
188
<span class =" sr-only" >{{ __ (' entities/permissions.quick.screen-reader' ) } } </span >
189
189
</span >
190
190
@endif
191
- @include (' entities.headers.cog' )
192
191
</div >
193
192
194
193
@if ($entity -> isCharacter ()&& ! empty ($entity -> child -> title ) )
Original file line number Diff line number Diff line change 11
11
</select >
12
12
</x-forms .field >
13
13
14
- <hr class = " m-0 " />
14
+ <hr />
15
15
16
- <p class =" font-extrabold m-0" >
16
+ <div class =" flex flex-col gap-1" >
17
+ <p class =" " >
17
18
{{ __ (' entities/permissions.quick.viewable-by' ) } }
18
19
</p >
19
20
@if (! empty ($visibility [' roles' ]) || ! empty ($visibility [' users' ]) )
20
21
<div class =" @if ($entity -> is_private ) line-through text-slate-400 @endif flex flex-wrap gap-2 items-center " >
21
22
@foreach ($visibility [' roles' ] as $role )
22
23
<span >
23
- <x-icon class =" fa-solid fa-user-group" />
24
- {!! $role -> name ! !}
24
+ <x-icon class =" fa-regular fa-user-group" />
25
+ @can (' update' , $role )
26
+ <a href =" {{ route (' campaign_roles.edit' , [$campaign , $role ]) } }" >
27
+ {!! $role -> name ! !}
28
+ </a >
29
+ @else
30
+ {!! $role -> name ! !}
31
+ @endif
25
32
@if ($role -> isPublic () && ! $campaign -> isPublic () )
26
33
<x-icon class =" fa-solid fa-exclamation-triangle text-accent" tooltip :title =" __('campaigns.roles.permissions.helpers.not_public')" />
27
34
@endif
30
37
@foreach ($visibility [' users' ] as $user )
31
38
<div class =" flex gap-1 items-center" >
32
39
@if ($user -> hasAvatar () )
33
- <div class =" avatar cover-background w-4 h-4 rounded-full" style =" background-image : url (' {!! $user->getAvatarUrl() !!}' )" ></div >
40
+ <div class =" avatar cover-background w-5 h-5 rounded-full" style =" background-image : url (' {!! $user->getAvatarUrl() !!}' )" ></div >
34
41
@else
35
42
<x-icon class =" fa-solid fa-user" />
36
43
@endif
43
50
{{ __ (' entities/permissions.quick.empty-permissions' ) } }
44
51
</p >
45
52
@endif
53
+ </div >
46
54
</x-grid >
Original file line number Diff line number Diff line change 1
- <button class =" btn2 btn-primary " data-target =" primary-dialog" data-url =" {{ route (' entities.permissions' , [$campaign , $entity ]) } }" data-toggle =" dialog" >
1
+ <button class =" btn2" data-target =" primary-dialog" data-url =" {{ route (' entities.permissions' , [$campaign , $entity ]) } }" data-toggle =" dialog" >
2
2
<x-icon class =" fa-solid fa-wrench" />
3
3
{{ __ (' entities/permissions.quick.manage' ) } }
4
4
</button >
You can’t perform that action at this time.
0 commit comments