@saooti/octopus-sdk 30.0.85 → 30.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -581,4 +581,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
581
581
  * 30.0.82 Cherry pick Color Qr code
582
582
  * 30.0.83 Locales parlement
583
583
  * 30.0.84 Une émission non visible n'apparaît pas dans la page émission
584
- * 30.0.85 PB en cliquant sur le bouton "tous les épisodes de l'organisation" dans la page d'un épisode
584
+ * 30.0.85 PB en cliquant sur le bouton "tous les épisodes de l'organisation" dans la page d'un épisode
585
+ * 30.0.86 Podcastmaker newest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.85",
3
+ "version": "30.0.86",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -47,7 +47,21 @@
47
47
  {{ duration }}
48
48
  </div>
49
49
  </div>
50
- <AnimatorsItem :animators="podcast.animators" />
50
+ <router-link
51
+ v-if="podcastItemShowEmission"
52
+ class="podcast-item-emission"
53
+ :to="{
54
+ name: 'emission',
55
+ params: { emissionId: podcast.emission.emissionId },
56
+ query: { productor: $store.state.filter.organisationId },
57
+ }"
58
+ >
59
+ {{ podcast.emission.name }}
60
+ </router-link>
61
+ <AnimatorsItem
62
+ v-else
63
+ :animators="podcast.animators"
64
+ />
51
65
  <router-link
52
66
  :to="{
53
67
  name: 'podcast',
@@ -65,6 +79,7 @@
65
79
  class="mx-2"
66
80
  />
67
81
  <div class="d-flex justify-content-between">
82
+ <div class="useless-div-for-podcastmaker" />
68
83
  <router-link
69
84
  v-if="!isPodcastmaker"
70
85
  :to="{
@@ -127,6 +142,9 @@ export default defineComponent({
127
142
  podcastBorderBottom(): boolean {
128
143
  return (state.podcastsPage.podcastBorderBottom as boolean);
129
144
  },
145
+ podcastItemShowEmission(): boolean {
146
+ return (state.podcastPage.podcastItemShowEmission as boolean);
147
+ },
130
148
  date(): string {
131
149
  return moment(this.podcast.pubDate).format('D MMMM YYYY, HH[h]mm');
132
150
  },
@@ -31,7 +31,8 @@ const state:paramStore = {
31
31
  downloadButton: false,
32
32
  hlsUri: 'https://hls.preprod.saooti.org/',
33
33
  mainRubrique: 0,
34
- resourceUrl: undefined
34
+ resourceUrl: undefined,
35
+ podcastItemShowEmission: false
35
36
  },
36
37
  podcastsPage: {
37
38
  ProductorSearch: true,
@@ -124,6 +125,7 @@ export interface PodcastPage{
124
125
  hlsUri?: string,
125
126
  mainRubrique?: number,
126
127
  resourceUrl?: string |undefined,
128
+ podcastItemShowEmission?: boolean,
127
129
  }
128
130
  export interface PodcastsPage{
129
131
  ProductorSearch?: boolean,