Commit 8920c814 authored by David Trattnig's avatar David Trattnig
Browse files

Link episode image to show, remove obsolete label

parent 2217e3eb
......@@ -263,7 +263,6 @@ Displays an *Episode Detail Card*.
props: {
renderhtml: true,
episodeId: randomId,
labelDisplayShow: "Visit",
labelPlay: "▶ Play",
labelLinkArchive: "Open in archive",
urlShowDetail: "/show-detail.html?slug=",
......
......@@ -146,7 +146,6 @@
props: {
renderhtml: true,
episodeId: randomId,
labelDisplayShow: 'Visit',
labelPlay: '▶ Play',
labelLinkArchive: 'Open in archive',
urlShowDetail: '/show-detail.html?slug=',
......
......@@ -10,7 +10,6 @@
/* Nested Component Props */
export let labelPlay = undefined
export let labelLinkArchive = undefined
export let labelDisplayShow = undefined
export let urlShowDetail = undefined
export let embedCbaPlayer = undefined
export let renderhtml = false // Attention: to avoid XSS attack vectors use with trusted API sources only
......@@ -67,7 +66,6 @@
{urlShowDetail}
{labelPlay}
{labelLinkArchive}
{labelDisplayShow}
{embedCbaPlayer}
{renderhtml} />
{:else}
......
......@@ -15,7 +15,6 @@
export let urlShowDetail = undefined
export let labelPlay = 'Play'
export let labelLinkArchive = 'Listen in archive'
export let labelDisplayShow = undefined
/* Messages the player to player the given episode */
function play(episode) {
......@@ -54,7 +53,9 @@
<Card class="aura-card episode">
<LayoutGrid>
<Cell span={4}>
<a href="{urlShowDetail + show.slug}">
<EpisodeImage {episode} {show} />
</a>
</Cell>
<Cell span={8}>
......@@ -135,17 +136,6 @@
{/if}
</Content>
<Content class="mdc-typography--body2 footer">
<Button
class="visit-show"
on:click={openLink(urlShowDetail + show.slug)}>
<Label>
{labelDisplayShow}
<i>{show.name}</i>
</Label>
</Button>
</Content>
</div>
</Cell>
</LayoutGrid>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment