Add breadcrumbs to admin projects views
- Implement breadcrumbs for index, create, edit, and show views.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
@section('meta_title', __('admin-sections.Projects'))
|
@section('meta_title', __('admin-sections.Projects'))
|
||||||
@section('h1', __('admin-sections.Projects'))
|
@section('h1', __('admin-sections.Projects'))
|
||||||
|
@section('breadcrumbs', Breadcrumbs::render('admin.projects.create'))
|
||||||
<x-admin.layout>
|
<x-admin.layout>
|
||||||
@include('admin.projects._top')
|
@include('admin.projects._top')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
@section('meta_title', __('admin-sections.Projects'))
|
@section('meta_title', __('admin-sections.Projects'))
|
||||||
@section('h1', __('admin-sections.Projects'))
|
@section('h1', __('admin-sections.Projects'))
|
||||||
|
@section('breadcrumbs', Breadcrumbs::render('admin.projects.edit', $project))
|
||||||
<x-admin.layout>
|
<x-admin.layout>
|
||||||
@include('admin.projects._top')
|
@include('admin.projects._top')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 mb-4">
|
<div class="col-12 mb-4">
|
||||||
<div class="card border-0 shadow components-section">
|
<div class="card border-0 shadow components-section">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<h3 id="category" class="mb-4">{{ __('admin-sections.Project') . ': ' . $project->name }}</h3>
|
||||||
<form method="post" action="{{ route('admin.projects.update', $project) }}">
|
<form method="post" action="{{ route('admin.projects.update', $project) }}">
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
@include('admin.projects._from')
|
@include('admin.projects._from')
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
@section('meta_title', __('admin-sections.Projects'))
|
@section('meta_title', __('admin-sections.Projects'))
|
||||||
@section('h1', __('admin-sections.Projects'))
|
@section('h1', __('admin-sections.Projects'))
|
||||||
|
@section('breadcrumbs', Breadcrumbs::render('admin.projects.index'))
|
||||||
<x-admin.layout>
|
<x-admin.layout>
|
||||||
@include('admin.projects._top')
|
@include('admin.projects._top')
|
||||||
<div class="card border-0 shadow mb-4">
|
<div class="card border-0 shadow mb-4">
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
@section('meta_title', __('admin-sections.Project') . ': ' . $project->name)
|
@section('meta_title', __('admin-sections.Project') . ': ' . $project->name)
|
||||||
@section('h1', __('admin-sections.Project') . ': ' . $project->name)
|
@section('h1', __('admin-sections.Project') . ': ' . $project->name)
|
||||||
|
@section('breadcrumbs', Breadcrumbs::render('admin.projects.show', $project))
|
||||||
<x-admin.layout>
|
<x-admin.layout>
|
||||||
@include('admin.projects._top')
|
@include('admin.projects._top')
|
||||||
<div class="card border-0 shadow mb-4">
|
<div class="card border-0 shadow mb-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user