Individual pages now pick up a layout from the theme, if available, instead of always picking up the base one
This commit is contained in:
parent
53dc0177fa
commit
1af9f2658a
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', 'Analysing...')
|
||||
|
||||
@section('content')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', 'Gallery Admin')
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.create_group'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.create_storage'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.create_user'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.delete_album', ['name' => $album->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.delete_group', ['name' => $group->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.delete_label', ['name' => $label->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.delete_storage', ['name' => $storage->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.delete_user', ['name' => $user->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', 'Gallery Admin')
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.edit_group_title', ['group_name' => $group->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.edit_storage', ['storage_name' => $storage->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.edit_user_title', ['name' => $user->name]))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', 'Gallery Admin')
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', 'Gallery Admin')
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.list_groups_title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.list_labels_title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.storage_title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.users_title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('admin.settings_title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $album->name)
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
|
||||
@section('title', trans('auth.change_password_title'))
|
||||
@section('content')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
|
||||
@section('title', trans('auth.forgot_password_title'))
|
||||
@section('content')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
|
||||
@section('title', trans('auth.reset_password_title'))
|
||||
@section('content')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
|
||||
@section('title', trans($active_tab == 'login' ? 'auth.login_page_title' : 'auth.register_page_title'))
|
||||
@section('content')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $album->name)
|
||||
|
||||
@php ($hasChildren = $album->children()->count() > 0)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $album->name)
|
||||
|
||||
@php ($hasChildren = $album->children()->count() > 0)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $album->name)
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', 'Welcome')
|
||||
|
||||
@section('content')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $label->name)
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $label->name)
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $label->name)
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('gallery.labels_title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', $photo->name)
|
||||
|
||||
@section('breadcrumb')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('themes.base.layout')
|
||||
@extends(Theme::viewName('layout'))
|
||||
@section('title', trans('gallery.statistics.title'))
|
||||
|
||||
@section('breadcrumb')
|
||||
|
Loading…
Reference in New Issue
Block a user