@saooti/octopus-sdk 30.0.63 → 30.0.64

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
@@ -559,4 +559,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
559
559
  * 30.0.60 PlaylistPodcastInlineList
560
560
  * 30.0.61 Page podcast -> init recherche
561
561
  * 30.0.62 Italian translation
562
- * 30.0.63 Italian translation
562
+ * 30.0.63 Italian translation
563
+ * 30.0.64 Modif Le soir
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.63",
3
+ "version": "30.0.64",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -238,6 +238,13 @@ body{
238
238
  .c-hand-auto {
239
239
  cursor: auto;
240
240
  }
241
+ .two-line-clamp{
242
+ overflow: hidden;
243
+ display: -webkit-box;
244
+ -webkit-line-clamp: 2;
245
+ -webkit-box-orient: vertical;
246
+ word-break: break-word;
247
+ }
241
248
 
242
249
  .html-wysiwyg-content{
243
250
  h3,h4{
@@ -50,11 +50,23 @@
50
50
  <div
51
51
  v-for="p in podcasts"
52
52
  :key="p.podcastId"
53
- class="border-top emission-item-border-color p-2 secondary-bg d-flex"
53
+ class="border-top emission-item-border-color p-2 secondary-bg d-flex flex-column"
54
54
  >
55
+ <router-link
56
+ v-if="isProgressBar"
57
+ :to="{
58
+ name: 'podcast',
59
+ params: { podcastId: p.podcastId },
60
+ query: { productor: $store.state.filter.organisationId },
61
+ }"
62
+ class="text-dark fw-bold two-line-clamp"
63
+ >
64
+ {{ p.title }}
65
+ </router-link>
55
66
  <div class="d-flex justify-content-between flex-grow-1">
56
67
  <div class="d-flex flex-column">
57
68
  <router-link
69
+ v-if="!isProgressBar"
58
70
  :to="{
59
71
  name: 'podcast',
60
72
  params: { podcastId: p.podcastId },
@@ -153,6 +165,9 @@ export default defineComponent({
153
165
  },
154
166
 
155
167
  computed: {
168
+ isProgressBar(): boolean{
169
+ return (state.emissionsPage.progressBar as boolean);
170
+ },
156
171
  buttonMore(): boolean {
157
172
  return (state.emissionsPage.buttonMore as boolean);
158
173
  },
@@ -1,14 +1,16 @@
1
1
  <template>
2
2
  <div class="page-box">
3
3
  <template v-if="loaded && !error">
4
- <h1 v-if="!isOuestFrance">
5
- {{ titlePage }}
6
- </h1>
7
- <Countdown
8
- v-if="isCounter"
9
- :time-remaining="timeRemaining"
10
- />
11
- <div class="d-flex">
4
+ <div class="page-podcast-title">
5
+ <h1 v-if="!isOuestFrance">
6
+ {{ titlePage }}
7
+ </h1>
8
+ <Countdown
9
+ v-if="isCounter"
10
+ :time-remaining="timeRemaining"
11
+ />
12
+ </div>
13
+ <div class="d-flex page-podcast">
12
14
  <div class="d-flex flex-column flex-super-grow">
13
15
  <RecordingItemButton
14
16
  v-if="
package/src/main.ts CHANGED
@@ -16,7 +16,7 @@ import 'bootstrap/dist/js/bootstrap.bundle.min.js';
16
16
 
17
17
  //TODO
18
18
  const navigatorLang = navigator.language /* || navigator.userLanguage */;
19
- let language = 'it';
19
+ let language = 'fr';
20
20
  if(navigatorLang.includes('en')){
21
21
  language = 'en';
22
22
  }