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*. ...@@ -263,7 +263,6 @@ Displays an *Episode Detail Card*.
props: { props: {
renderhtml: true, renderhtml: true,
episodeId: randomId, episodeId: randomId,
labelDisplayShow: "Visit",
labelPlay: "▶ Play", labelPlay: "▶ Play",
labelLinkArchive: "Open in archive", labelLinkArchive: "Open in archive",
urlShowDetail: "/show-detail.html?slug=", urlShowDetail: "/show-detail.html?slug=",
......
...@@ -146,7 +146,6 @@ ...@@ -146,7 +146,6 @@
props: { props: {
renderhtml: true, renderhtml: true,
episodeId: randomId, episodeId: randomId,
labelDisplayShow: 'Visit',
labelPlay: '▶ Play', labelPlay: '▶ Play',
labelLinkArchive: 'Open in archive', labelLinkArchive: 'Open in archive',
urlShowDetail: '/show-detail.html?slug=', urlShowDetail: '/show-detail.html?slug=',
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
/* Nested Component Props */ /* Nested Component Props */
export let labelPlay = undefined export let labelPlay = undefined
export let labelLinkArchive = undefined export let labelLinkArchive = undefined
export let labelDisplayShow = undefined
export let urlShowDetail = undefined export let urlShowDetail = undefined
export let embedCbaPlayer = undefined export let embedCbaPlayer = undefined
export let renderhtml = false // Attention: to avoid XSS attack vectors use with trusted API sources only export let renderhtml = false // Attention: to avoid XSS attack vectors use with trusted API sources only
...@@ -67,7 +66,6 @@ ...@@ -67,7 +66,6 @@
{urlShowDetail} {urlShowDetail}
{labelPlay} {labelPlay}
{labelLinkArchive} {labelLinkArchive}
{labelDisplayShow}
{embedCbaPlayer} {embedCbaPlayer}
{renderhtml} /> {renderhtml} />
{:else} {:else}
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
export let urlShowDetail = undefined export let urlShowDetail = undefined
export let labelPlay = 'Play' export let labelPlay = 'Play'
export let labelLinkArchive = 'Listen in archive' export let labelLinkArchive = 'Listen in archive'
export let labelDisplayShow = undefined
/* Messages the player to player the given episode */ /* Messages the player to player the given episode */
function play(episode) { function play(episode) {
...@@ -54,7 +53,9 @@ ...@@ -54,7 +53,9 @@
<Card class="aura-card episode"> <Card class="aura-card episode">
<LayoutGrid> <LayoutGrid>
<Cell span={4}> <Cell span={4}>
<EpisodeImage {episode} {show} /> <a href="{urlShowDetail + show.slug}">
<EpisodeImage {episode} {show} />
</a>
</Cell> </Cell>
<Cell span={8}> <Cell span={8}>
...@@ -135,17 +136,6 @@ ...@@ -135,17 +136,6 @@
{/if} {/if}
</Content> </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> </div>
</Cell> </Cell>
</LayoutGrid> </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