@extends('layouts.app') @section('content')

{{ $channel->display_name ?? $channel->name }}

{{ $channel->platformInstance->name }} Channel

@if(session('success'))
{{ session('success') }}
@endif

Channel Status

Enable or disable publishing to this channel

@if($channel->is_active)
@else
@endif
{{ $channel->is_active ? 'Active' : 'Inactive' }}
@csrf
@if(!$channel->is_active)

This channel is inactive. No articles will be published here until reactivated.

@endif

Channel Details

Channel Name
{{ $channel->name }}
Display Name
{{ $channel->display_name ?? $channel->name }}
Platform
{{ $channel->platformInstance->name }}
Channel ID
{{ $channel->channel_id ?? 'Not set' }}
@if($channel->language)
Language
{{ $channel->language->name }}
@endif
Created
{{ $channel->created_at->format('M j, Y') }}
@if($channel->description)
Description
{{ $channel->description }}
@endif
@if($channel->feeds->count() > 0)

Connected Feeds

Feeds that route content to this channel

    @foreach($channel->feeds as $feed)
  • @if($feed->type === 'rss') @else @endif

    {{ $feed->name }}

    {{ $feed->url }}

    @if(!$feed->pivot->is_active) Route Inactive @endif
  • @endforeach
@else

No feeds connected

This channel doesn't have any feeds routing content to it yet.

Create Route
@endif
@endsection