diff --git a/resources/views/roles/create.blade.php b/resources/views/roles/create.blade.php index 7e8431d..077cbda 100644 --- a/resources/views/roles/create.blade.php +++ b/resources/views/roles/create.blade.php @@ -1,373 +1,372 @@ @extends (config("genealabs-laravel-governor.layout-view")) @section ("content") -
- Provide name and general description of the - purpose of this specific role, and what makes it - unique. -
++ Provide name and general description of the + purpose of this specific role, and what makes it + unique. +
+- Entity - | -- Create - | -- View Any - | -- View - | -- Update - | -- Delete - | -- Restore - | -- Force Delete - | -|||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | -
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
- |||||||||||||||||||||||||||||||||||||||||||
+
| ||||||||||||||||||||||||||||||||||||||||||||||||||
+ {{ $entity }} + | +
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
- Entity - | -- Create - | -- View Any - | -- View - | -- Update - | -- Delete - | -- Restore - | -- Force Delete - | - - @foreach ($customActions->pluck("action")->unique() as $customAction) +
---|
+ Entity + | - {{ ucwords($customAction ?? "") }} + Create + | ++ View Any | - @endforeach - -|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | -
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- @foreach ($customActions->pluck("action")->unique() as $customAction)
+ View + | ++ Update + | ++ Delete + | ++ Restore + | ++ Force Delete | - @endforeach - -+ {{ ucwords($customAction ?? "") }} + | + @endforeach -||
+ | |||||||||||||||
+ | +- {{ $entity }} - - |
|
- + + |
| + |
| + |
| + |
| + |
| + |
|
+
+ @foreach ($customActions->pluck("action")->unique() as $customAction)
+ + | + @endforeach - @foreach ($customActions->unique("name") as $customAction) +
+ {{ $entity }} + | +
+ |
+
+ |
+ |
+
+ |
+
+ |
+
+ |
+
+ |
- @if ($selectedAction = $customActions->where('name', $customAction->name)->where("entity", $entity)->first())
- - | - @endforeach + @if ($selectedAction = $customActions->where('name', $customAction->name)->where("entity", $entity)->first()) +
- Provide name and general description of the - purpose of this specific role, and what makes it - unique. -
++ Provide name and general description of the + purpose of this specific role, and what makes it + unique. +
+- Entity - | -- Create - | -- View Any - | -- View - | -- Update - | -- Delete - | -- Restore - | -- Force Delete - | -||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | -
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
- ||||||||||||||||
+
| |||||||||||||||||||||||
+ {{ $entity }} + | +
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
- Provide name and general description of the - purpose of this specific role, and what makes it - unique. -
++ Provide name and general description of the + purpose of this specific role, and what makes it + unique. +
+- Invite and manage team members. -
++ Invite and manage team members. +
+- Name - | -- Status - | -- Roles - | -- Edit - | -
---|
-
-
-
-
-
-
- {{ $member->name }}
+
+ Name
+ |
+
+ Status
+ |
+
+ Roles
+ |
+
+ Edit
+ |
+ | |
+
+
-
+
-
- {{ $member->email }}
+
-
+
+ {{ $member->name }}
+
+
+ {{ $member->email }}
+
|
- + | +- @if ($team->invitations->contains("email", $member->email)) - - Pending - - @elseif ($member->getKey() === $team->owner->getKey()) - - Team Owner - - @else - - Team Member - - @endif + @if ($team->invitations->contains("email", $member->email)) + + Pending + + @elseif ($member->getKey() === $team->owner->getKey()) + + Team Owner + + @else + + Team Member + + @endif - | -+ | +- @foreach ($member->roles as $role) - {{ $role->name }}{{ $loop->last ? "" : ", " }} - @endforeach + @foreach ($member->roles as $role) + {{ $role->name }}{{ $loop->last ? "" : ", " }} + @endforeach - | -- Edit - | -+ Edit + | + + @endforeach - -
- Entity - | -- Create - | -- View Any - | -- View - | -- Update - | -- Delete - | -- Restore - | -- Force Delete - | -||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | -
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
- ||||||||||||||||
+
| |||||||||||||||||||||||
+ {{ $entity }} + | +
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+