2023-10-09 00:03:03 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2023-10-14 18:26:21 +02:00
|
|
|
{% block title %}Podcast {{ podcast.name }}{% endblock %}
|
2023-10-09 00:03:03 +02:00
|
|
|
|
2023-10-14 18:26:09 +02:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<style>
|
|
|
|
th { min-width: 8em; }
|
|
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
|
2023-10-09 00:03:03 +02:00
|
|
|
{% block body %}
|
2023-10-14 18:26:09 +02:00
|
|
|
<h1>Podcast {{ podcast.name }}</h1>
|
2023-10-09 00:03:03 +02:00
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2023-10-14 18:26:21 +02:00
|
|
|
<th>ID</th>
|
2023-10-09 00:03:03 +02:00
|
|
|
<td>{{ podcast.id }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<td>{{ podcast.name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Slug</th>
|
|
|
|
<td>{{ podcast.slug }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Website</th>
|
|
|
|
<td>{{ podcast.website }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Description</th>
|
|
|
|
<td>{{ podcast.description }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Author</th>
|
|
|
|
<td>{{ podcast.author }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Email</th>
|
|
|
|
<td>{{ podcast.email }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2023-10-14 18:26:21 +02:00
|
|
|
<th>Logo file name</th>
|
2023-10-09 00:03:03 +02:00
|
|
|
<td>{{ podcast.logoFilename }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Logo</th>
|
|
|
|
<td><img src="{{ podcast.logoPath }}" alt="{{ podcast.name }} logo"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Owner</th>
|
|
|
|
<td>{{ podcast.owner }}</td>
|
|
|
|
</tr>
|
2023-10-14 18:26:21 +02:00
|
|
|
<tr>
|
|
|
|
<th>Episodes</th>
|
|
|
|
<td>
|
|
|
|
<a href="{{ path('app_podcast_episodes_index', {'id': podcast.id}) }}"
|
|
|
|
>Manage episodes</a>
|
|
|
|
<ol>
|
|
|
|
{% for episode in podcast.episodes %}
|
|
|
|
<li>{{ episode.title }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2023-10-09 00:03:03 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2023-10-14 18:26:21 +02:00
|
|
|
<a href="{{ path('app_podcast_index') }}">Go back to list</a>
|
2023-10-09 00:03:03 +02:00
|
|
|
|
2024-02-25 20:18:24 +01:00
|
|
|
<a
|
|
|
|
href="{{ path('app_podcast_edit', {'id': podcast.id}) }}"
|
|
|
|
class="btn btn-primary"
|
|
|
|
>Edit</a>
|
2023-10-09 00:03:03 +02:00
|
|
|
|
|
|
|
{{ include('podcast/_delete_form.html.twig') }}
|
|
|
|
{% endblock %}
|