@extends('layouts.admin') @section('title', 'Global Templates') @section('page-title', 'Global Content Templates') @section('page-subtitle', 'View available templates to copy to your branch') @section('content')
Copy these templates to your branch and customize them
These are global templates available for all branches. Click "Copy" to add a template to your branch, or "Copy All to Branch" to add all templates at once. Copied items will override the default content on your branch's website.
| Key | Section | Type | Preview | Status | Actions |
|---|---|---|---|---|---|
|
{{ $content->key }} {{ Str::limit($content->value, 50) }} |
{{ $sections[$content->section] ?? $content->section }} | @if($content->type === 'image') Image @elseif($content->type === 'url') URL @else Text @endif |
@if($content->type === 'image' && $content->value)
|
@if($hasBranchCopy) Copied @elseif($content->is_active) Available @else Inactive @endif | |
|
@if(request('search'))
No templates found matching "{{ request('search') }}" Clear search @elseNo global templates available. @endif |
|||||