Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
player
Commits
8920c814
Commit
8920c814
authored
Apr 07, 2022
by
David Trattnig
Browse files
Link episode image to show, remove obsolete label
parent
2217e3eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
8920c814
...
...
@@ -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=
"
,
...
...
public/episode-detail.html
View file @
8920c814
...
...
@@ -146,7 +146,6 @@
props
:
{
renderhtml
:
true
,
episodeId
:
randomId
,
labelDisplayShow
:
'
Visit
'
,
labelPlay
:
'
▶ Play
'
,
labelLinkArchive
:
'
Open in archive
'
,
urlShowDetail
:
'
/show-detail.html?slug=
'
,
...
...
src/EpisodeDetail.svelte
View file @
8920c814
...
...
@@ -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}
...
...
src/cards/EpisodeCardBig.svelte
View file @
8920c814
...
...
@@ -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}>
<EpisodeImage {episode} {show} />
<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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment