@paris-ias/list 1.0.97 → 1.0.98

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paris-ias/list",
3
3
  "configKey": "list",
4
- "version": "1.0.97",
4
+ "version": "1.0.98",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.0",
7
7
  "unbuild": "3.5.0"
@@ -4,7 +4,7 @@
4
4
  </div>
5
5
  <div>
6
6
  <div>{{ startDay }}</div>
7
- <div>{{ startTime }} - {{ stopTime }}</div>
7
+ <div>{{ $t("from-starttime-to-stoptime", [startTime, stopTime]) }}</div>
8
8
  </div>
9
9
 
10
10
  <div class="text-overline font-weight-bold mt-md-4">
@@ -24,9 +24,16 @@
24
24
  link="activities-events-slug"
25
25
  :slug="item.id"
26
26
  :loading="loading"
27
+ :to="
28
+ localePath({
29
+ name: 'activities-events-slug',
30
+ params: { slug: item.slug[locale] },
31
+ })
32
+ "
33
+ style="cursor: pointer"
27
34
  />
28
35
  <nuxt-link
29
- class="mt-6 pl-0 text-h5 text-md-h4 font-weight-medium sliding-item-title cursor-pointer"
36
+ class="mt-6 pl-0 text-h6 text-md-h5 font-weight-medium sliding-item-title cursor-pointer"
30
37
  :to="
31
38
  localePath({
32
39
  name: 'activities-events-slug',
@@ -34,6 +41,9 @@
34
41
  })
35
42
  "
36
43
  >
44
+ <div class="text-overline text-uppercase">
45
+ {{ $t(item.category) }}
46
+ </div>
37
47
  {{ item.name }}
38
48
  </nuxt-link>
39
49
  </div>
@@ -29,6 +29,7 @@
29
29
  />
30
30
 
31
31
  <template v-else>
32
+ <div v-if="item.type" class="text-overline">{{ $t(item.type) }}</div>
32
33
  <div class="text-h5 text-sm-h3 text-md-h4 text-md-h4 my-6">
33
34
  {{ item.name }}
34
35
  </div>
@@ -19,6 +19,7 @@ query listPublications(
19
19
  summary
20
20
  description
21
21
  name
22
+ type
22
23
  url
23
24
  tags {
24
25
  createdAt
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "AGPL-3.0-only",
3
3
  "main": "./dist/module.mjs",
4
- "version": "1.0.97",
4
+ "version": "1.0.98",
5
5
  "name": "@paris-ias/list",
6
6
  "repository": {
7
7
  "url": "git+https://github.com/IEA-Paris/list.git",