File tree 3 files changed +17
-2
lines changed
3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ yarn-debug.log*
21
21
yarn-error.log *
22
22
23
23
/.vscode
24
+ /.vscode /launch.json
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export class TopBottomNEpisodes extends Component {
78
78
glyph = { this . state . up ? 'chevron-up' : 'chevron-down' }
79
79
/>
80
80
</ th >
81
+ < th colSpan = "2" > Dinle</ th >
81
82
</ tr >
82
83
</ thead >
83
84
< tbody >
@@ -95,15 +96,23 @@ export class TopBottomNEpisodes extends Component {
95
96
return (
96
97
< tr key = { episode . id } >
97
98
< td >
98
- < a href = { episode . audio_url } > { episode . title } </ a >
99
+ { episode . title }
99
100
</ td >
100
101
< td > { episode . stats . total_listens } </ td >
101
102
< td >
102
103
{ episode . videoRef
103
104
? episode . videoRef . statistics . viewCount
104
- : 'N/A' }
105
+ : 'N/A' }
105
106
</ td >
106
107
< td > { episode . grandTotal } </ td >
108
+ < td > < a href = { episode . sharing_url } target = "_blank" rel = "noopener noreferrer" title = "Simplecast'de dinle" >
109
+ < Glyphicon glyph = "play-circle" />
110
+ </ a >
111
+ </ td >
112
+ < td >
113
+ < a href = { "https://www.youtube.com/watch?v=" + episode . videoRef . snippet . resourceId . videoId }
114
+ title = "Youtube'da izle" target = "_blank" rel = "noopener noreferrer" >
115
+ < Glyphicon glyph = "play-circle" /> </ a > </ td >
107
116
</ tr >
108
117
) ;
109
118
} ) }
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ export const DashboardQuery = gql`
11
11
title
12
12
id
13
13
audio_url
14
+ sharing_url
15
+ guid
14
16
stats(timeframe: all) {
15
17
data {
16
18
date
@@ -27,6 +29,9 @@ export const DashboardQuery = gql`
27
29
videos {
28
30
snippet {
29
31
title
32
+ resourceId {
33
+ videoId
34
+ }
30
35
}
31
36
statistics {
32
37
viewCount
You can’t perform that action at this time.
0 commit comments