A documentation section has been added to the admin panel.

This commit is contained in:
2024-05-17 21:05:13 +05:00
parent 156d8a9f68
commit 45504791c0
93 changed files with 3495 additions and 10 deletions

View File

@@ -12,6 +12,18 @@
</tr>
</thead>
<tbody>
@can('viewAny', \App\Models\DocumentationVersion::class)
<tr>
<td>
<a href="{{ route('admin.projects.documentation-versions.index', ['project' => $project->id]) }}" class="fw-bold">
<svg width="16" height="16" class="align-text-top" data-slot="icon" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"></path>
</svg>
{{ __('admin-sections.Documentation') }}
</a>
</td>
</tr>
@endcan
@can('viewAny', \App\Models\ProjectContent::class)
<tr>
<td>