Changes 0228092025 Laptop
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
// with `$trail`. This is nice for IDE type checking and completion.
|
||||
use Diglactic\Breadcrumbs\Generator as BreadcrumbTrail;
|
||||
|
||||
Breadcrumbs::for('settings.contractConfigs.index', function (BreadcrumbTrail $trail): void {
|
||||
$trail->parent('settings');
|
||||
$trail->push('Contract Configs', route('settings.contractConfigs.index'));
|
||||
});
|
||||
|
||||
// Dashboard
|
||||
Breadcrumbs::for('dashboard', function (BreadcrumbTrail $trail) {
|
||||
$trail->push('Nadzorna plošča', route('dashboard'));
|
||||
@@ -45,4 +50,22 @@
|
||||
Breadcrumbs::for('settings', function (BreadcrumbTrail $trail) {
|
||||
$trail->parent('dashboard');
|
||||
$trail->push('Nastavitve', route('settings'));
|
||||
});
|
||||
|
||||
// Dashboard > Settings > Segments
|
||||
Breadcrumbs::for('settings.segments', function (BreadcrumbTrail $trail) {
|
||||
$trail->parent('settings');
|
||||
$trail->push('Segmenti', route('settings.segments'));
|
||||
});
|
||||
|
||||
// Dashboard > Settings > Workflow
|
||||
Breadcrumbs::for('settings.workflow', function (BreadcrumbTrail $trail) {
|
||||
$trail->parent('settings');
|
||||
$trail->push('Potek dela', route('settings.workflow'));
|
||||
});
|
||||
|
||||
// Dashboard > Settings > Field Job
|
||||
Breadcrumbs::for('settings.fieldjob.index', function (BreadcrumbTrail $trail) {
|
||||
$trail->parent('settings');
|
||||
$trail->push('Terensko delo', route('settings.fieldjob.index'));
|
||||
});
|
||||
Reference in New Issue
Block a user