design-comuni-plone-theme 10.4.0 → 10.4.1
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/CHANGELOG.md +19 -0
- package/RELEASE.md +10 -0
- package/error-503.html +52 -50
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx +110 -104
- package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block.jsx +1 -7
- package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_search.scss +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [10.4.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.4.0...v10.4.1) (2023-11-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* BandiInEvidenceTemplate layout to space bando dati when titles have different lengths ([#410](https://github.com/RedTurtle/design-comuni-plone-theme/issues/410)) ([4780b12](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4780b127497e247df7dd59ffcba274537b2bc5a5))
|
|
9
|
+
* class no-after added to simple card text block ([#413](https://github.com/RedTurtle/design-comuni-plone-theme/issues/413)) ([10073e8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/10073e8bdf50c9e4b8d4245c05ad38bdac8423e3))
|
|
10
|
+
* search block column template + button text color ([#408](https://github.com/RedTurtle/design-comuni-plone-theme/issues/408)) ([72f7eae](https://github.com/RedTurtle/design-comuni-plone-theme/commit/72f7eae3bac35aaaa01e725a89a65de8a2b02b60))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Maintenance
|
|
14
|
+
|
|
15
|
+
* how to customize the 503 file ([#405](https://github.com/RedTurtle/design-comuni-plone-theme/issues/405)) ([b444ba8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b444ba84de9a31edffb01f778b66677ac72971cb))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Documentation
|
|
19
|
+
|
|
20
|
+
* updated publiccode and release log ([5be0543](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5be054313163816dd764149e8f7cb1717c52eab2))
|
|
21
|
+
|
|
3
22
|
## [10.4.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.3.0...v10.4.0) (2023-11-14)
|
|
4
23
|
|
|
5
24
|
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,16 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 10.4.1 (21/11/2023)
|
|
45
|
+
|
|
46
|
+
### Migliorie
|
|
47
|
+
|
|
48
|
+
- Migliorato l'allineamento delle informazioni dei bandi nelle card dei blocchi elenco
|
|
49
|
+
|
|
50
|
+
### Fix
|
|
51
|
+
|
|
52
|
+
- Nel blocco Cerca, quando viene selezionata la variazione "Colonna a destra" o "Colonna a sinistra" i blocchi si allineano correttamente, e i bottoni nella testata si vedono correttamente in modalità Edit.
|
|
53
|
+
|
|
44
54
|
## Versione 10.4.0 (14/11/2023)
|
|
45
55
|
|
|
46
56
|
### Novità
|
package/error-503.html
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
WHAT YOU NEED TO CHANGE IN THIS FILE:
|
|
3
|
+
|
|
4
|
+
[ ] - Base64 favicon (~LINE 29)
|
|
5
|
+
[ ] - Root variable colors (~LINE 110)
|
|
6
|
+
[ ] - Slim header region (href and content) (~LINE 581)
|
|
7
|
+
[ ] - Header brand Base64 image and alt title (~LINE 596)
|
|
8
|
+
[ ] - Header brand title (~LINE 603)
|
|
9
|
+
[ ] - Header brand tagline (~LINE 605)
|
|
10
|
+
[ ] - Footer Base64 image and alt title (~LINE 635)
|
|
11
|
+
[ ] - Footer brand title (~LINE 638)
|
|
12
|
+
[ ] - Footer brand tagline (~LINE 640)
|
|
13
|
+
[ ] - Footer column "Contatti" - one item per <p> - Pay attention to href links (~LINE 662)
|
|
14
|
+
-->
|
|
15
|
+
|
|
1
16
|
<!DOCTYPE html>
|
|
2
17
|
<html lang="it">
|
|
3
18
|
<head>
|
|
@@ -207,11 +222,7 @@
|
|
|
207
222
|
padding-right: 6px;
|
|
208
223
|
padding-left: 6px;
|
|
209
224
|
}
|
|
210
|
-
|
|
211
|
-
width: 32px;
|
|
212
|
-
height: 32px;
|
|
213
|
-
vertical-align: middle;
|
|
214
|
-
}
|
|
225
|
+
|
|
215
226
|
@media (min-width: 576px) {
|
|
216
227
|
body,
|
|
217
228
|
html {
|
|
@@ -335,8 +346,7 @@
|
|
|
335
346
|
|
|
336
347
|
.it-header-center-wrapper
|
|
337
348
|
.it-header-center-content-wrapper
|
|
338
|
-
.it-brand-wrapper
|
|
339
|
-
a {
|
|
349
|
+
.it-brand-wrapper {
|
|
340
350
|
display: flex;
|
|
341
351
|
color: var(--header-text);
|
|
342
352
|
align-items: center;
|
|
@@ -347,7 +357,6 @@
|
|
|
347
357
|
.it-header-center-wrapper
|
|
348
358
|
.it-header-center-content-wrapper
|
|
349
359
|
.it-brand-wrapper
|
|
350
|
-
a
|
|
351
360
|
.icon {
|
|
352
361
|
/********** if is a image, delete the "fill" prop above ***********/
|
|
353
362
|
fill: #fff;
|
|
@@ -365,12 +374,10 @@
|
|
|
365
374
|
.it-header-center-wrapper
|
|
366
375
|
.it-header-center-content-wrapper
|
|
367
376
|
.it-brand-wrapper
|
|
368
|
-
a
|
|
369
377
|
.it-brand-title,
|
|
370
378
|
.it-header-center-wrapper
|
|
371
379
|
.it-header-center-content-wrapper
|
|
372
380
|
.it-brand-wrapper
|
|
373
|
-
a
|
|
374
381
|
h2 {
|
|
375
382
|
font-size: 1.25em;
|
|
376
383
|
margin-bottom: 0;
|
|
@@ -386,7 +393,6 @@
|
|
|
386
393
|
.it-header-center-wrapper
|
|
387
394
|
.it-header-center-content-wrapper
|
|
388
395
|
.it-brand-wrapper
|
|
389
|
-
a
|
|
390
396
|
h3 {
|
|
391
397
|
font-size: 0.889em;
|
|
392
398
|
font-weight: 400;
|
|
@@ -427,7 +433,6 @@
|
|
|
427
433
|
.it-header-center-wrapper
|
|
428
434
|
.it-header-center-content-wrapper
|
|
429
435
|
.it-brand-wrapper
|
|
430
|
-
a
|
|
431
436
|
.icon {
|
|
432
437
|
width: auto;
|
|
433
438
|
height: 82px;
|
|
@@ -436,12 +441,10 @@
|
|
|
436
441
|
.it-header-center-wrapper
|
|
437
442
|
.it-header-center-content-wrapper
|
|
438
443
|
.it-brand-wrapper
|
|
439
|
-
a
|
|
440
444
|
.it-brand-title,
|
|
441
445
|
.it-header-center-wrapper
|
|
442
446
|
.it-header-center-content-wrapper
|
|
443
447
|
.it-brand-wrapper
|
|
444
|
-
a
|
|
445
448
|
h2 {
|
|
446
449
|
font-size: 1.778em;
|
|
447
450
|
margin-bottom: 0;
|
|
@@ -450,12 +453,10 @@
|
|
|
450
453
|
.it-header-center-wrapper
|
|
451
454
|
.it-header-center-content-wrapper
|
|
452
455
|
.it-brand-wrapper
|
|
453
|
-
a
|
|
454
456
|
.it-brand-tagline,
|
|
455
457
|
.it-header-center-wrapper
|
|
456
458
|
.it-header-center-content-wrapper
|
|
457
459
|
.it-brand-wrapper
|
|
458
|
-
a
|
|
459
460
|
h3 {
|
|
460
461
|
font-size: 0.889em;
|
|
461
462
|
font-weight: 400;
|
|
@@ -502,7 +503,7 @@
|
|
|
502
503
|
.it-footer-main .it-brand-wrapper {
|
|
503
504
|
padding: 32px 0;
|
|
504
505
|
}
|
|
505
|
-
.it-footer-main .it-brand-wrapper
|
|
506
|
+
.it-footer-main .it-brand-wrapper {
|
|
506
507
|
display: flex;
|
|
507
508
|
color: var(--footer-text);
|
|
508
509
|
align-items: center;
|
|
@@ -510,7 +511,7 @@
|
|
|
510
511
|
}
|
|
511
512
|
|
|
512
513
|
/******** Logo footer ***********/
|
|
513
|
-
.it-footer-main .it-brand-wrapper
|
|
514
|
+
.it-footer-main .it-brand-wrapper .icon {
|
|
514
515
|
/* if is a image, delete the "fill" prop above */
|
|
515
516
|
fill: var(--logo);
|
|
516
517
|
width: auto;
|
|
@@ -518,14 +519,14 @@
|
|
|
518
519
|
margin-right: 8px;
|
|
519
520
|
flex-shrink: 0;
|
|
520
521
|
}
|
|
521
|
-
.it-footer-main .it-brand-wrapper
|
|
522
|
+
.it-footer-main .it-brand-wrapper h2 {
|
|
522
523
|
font-size: 1.25em;
|
|
523
524
|
margin-bottom: 0;
|
|
524
525
|
font-weight: 600;
|
|
525
526
|
letter-spacing: unset;
|
|
526
527
|
line-height: 1.1;
|
|
527
528
|
}
|
|
528
|
-
.it-footer-main .it-brand-wrapper
|
|
529
|
+
.it-footer-main .it-brand-wrapper h3 {
|
|
529
530
|
font-size: 0.889em;
|
|
530
531
|
font-weight: 400;
|
|
531
532
|
margin-bottom: 0;
|
|
@@ -547,7 +548,7 @@
|
|
|
547
548
|
padding-bottom: 8px !important;
|
|
548
549
|
}
|
|
549
550
|
|
|
550
|
-
.it-footer-main h4
|
|
551
|
+
.it-footer-main h4 {
|
|
551
552
|
color: var(--footer-text);
|
|
552
553
|
text-decoration: none;
|
|
553
554
|
text-transform: uppercase;
|
|
@@ -577,7 +578,9 @@
|
|
|
577
578
|
<div class="row">
|
|
578
579
|
<div class="col-12">
|
|
579
580
|
<div class="it-header-slim-wrapper-content">
|
|
580
|
-
<a class="d-lg-block navbar-brand"
|
|
581
|
+
<a href="#" target="_blank" class="d-lg-block navbar-brand"
|
|
582
|
+
>Nome della Regione</a
|
|
583
|
+
>
|
|
581
584
|
</div>
|
|
582
585
|
</div>
|
|
583
586
|
</div>
|
|
@@ -590,20 +593,18 @@
|
|
|
590
593
|
<div class="col-12">
|
|
591
594
|
<div class="it-header-center-content-wrapper">
|
|
592
595
|
<div class="it-brand-wrapper">
|
|
593
|
-
<
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
<div class="it-brand-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
Uno dei tanti Comuni d'Italia
|
|
604
|
-
</div>
|
|
596
|
+
<img
|
|
597
|
+
class="icon"
|
|
598
|
+
alt="Logo io-Comune"
|
|
599
|
+
src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIKICAgICB2aWV3Qm94PSIwIDAgMjQgMjQiPgogIDx0aXRsZT5QQTwvdGl0bGU+CiAgPGc+CiAgICA8cGF0aAogICAgZmlsbD0iI2ZmZiIKICAgICAgZD0iTTMsMjFIMjF2MUgzWm0wLTFIMjFWMTlIM1pNMjIsOUgyTDEyLDJaTTUuMiw4SDE4LjhMMTIsMy4yWk02LDE4VjEwSDV2OFptNCwwVjEwSDl2OFptNSwwVjEwSDE0djhabTQsMFYxMEgxOHY4WiIKICAgICAgLz4KICA8L2c+CiAgPGc+CiAgICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiLz4KICA8L2c+Cjwvc3ZnPgo="
|
|
600
|
+
/>
|
|
601
|
+
|
|
602
|
+
<div class="it-brand-text">
|
|
603
|
+
<div class="it-brand-title">Nome del Comune</div>
|
|
604
|
+
<div class="it-brand-tagline d-none d-md-block">
|
|
605
|
+
Uno dei tanti Comuni d'Italia
|
|
605
606
|
</div>
|
|
606
|
-
</
|
|
607
|
+
</div>
|
|
607
608
|
</div>
|
|
608
609
|
</div>
|
|
609
610
|
</div>
|
|
@@ -628,19 +629,17 @@
|
|
|
628
629
|
<div class="row clearfix">
|
|
629
630
|
<div class="col-sm-12">
|
|
630
631
|
<div class="it-brand-wrapper">
|
|
631
|
-
<
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
<
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
</div>
|
|
643
|
-
</a>
|
|
632
|
+
<img
|
|
633
|
+
class="icon"
|
|
634
|
+
alt="Logo io-Comune"
|
|
635
|
+
src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIKICAgICB2aWV3Qm94PSIwIDAgMjQgMjQiPgogIDx0aXRsZT5QQTwvdGl0bGU+CiAgPGc+CiAgICA8cGF0aAogICAgZmlsbD0iI2ZmZiIKICAgICAgZD0iTTMsMjFIMjF2MUgzWm0wLTFIMjFWMTlIM1pNMjIsOUgyTDEyLDJaTTUuMiw4SDE4LjhMMTIsMy4yWk02LDE4VjEwSDV2OFptNCwwVjEwSDl2OFptNSwwVjEwSDE0djhabTQsMFYxMEgxOHY4WiIKICAgICAgLz4KICA8L2c+CiAgPGc+CiAgICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiLz4KICA8L2c+Cjwvc3ZnPgo="
|
|
636
|
+
/>
|
|
637
|
+
<div class="it-brand-text">
|
|
638
|
+
<h2 class="no_toc">Nome del Comune</h2>
|
|
639
|
+
<h3 class="no_toc d-none d-md-block">
|
|
640
|
+
Uno dei tanti Comuni d'Italia
|
|
641
|
+
</h3>
|
|
642
|
+
</div>
|
|
644
643
|
</div>
|
|
645
644
|
</div>
|
|
646
645
|
</div>
|
|
@@ -650,7 +649,7 @@
|
|
|
650
649
|
<div class="row">
|
|
651
650
|
<div class="col-lg-3 col-md-3 pb-2">
|
|
652
651
|
<h4>
|
|
653
|
-
|
|
652
|
+
Amministrazione trasparente
|
|
654
653
|
</h4>
|
|
655
654
|
<p>
|
|
656
655
|
I dati personali pubblicati sono riutilizzabili solo alle
|
|
@@ -660,13 +659,16 @@
|
|
|
660
659
|
</div>
|
|
661
660
|
<div class="col-lg-3 col-md-3 pb-2">
|
|
662
661
|
<h4>
|
|
663
|
-
|
|
662
|
+
Contatti
|
|
664
663
|
</h4>
|
|
665
664
|
<p>
|
|
666
665
|
<strong>Nome del Comune</strong><br />
|
|
667
666
|
Via Roma 0 - 00000 Lorem Ipsum Codice fiscale / P. IVA:
|
|
668
667
|
000000000
|
|
669
668
|
</p>
|
|
669
|
+
<p>
|
|
670
|
+
<a href="#">info@io-comune.it</a>
|
|
671
|
+
</p>
|
|
670
672
|
</div>
|
|
671
673
|
</div>
|
|
672
674
|
</section>
|
package/package.json
CHANGED
package/publiccode.yml
CHANGED
|
@@ -227,9 +227,9 @@ maintenance:
|
|
|
227
227
|
name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
|
|
228
228
|
platforms:
|
|
229
229
|
- web
|
|
230
|
-
releaseDate: '2023-11-
|
|
230
|
+
releaseDate: '2023-11-21'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 10.4.
|
|
232
|
+
softwareVersion: 10.4.1
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -103,126 +103,132 @@ const BandiInEvidenceTemplate = ({
|
|
|
103
103
|
{show_description && listingText && (
|
|
104
104
|
<div className="bando-description">{listingText}</div>
|
|
105
105
|
)}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</span>
|
|
123
|
-
)}
|
|
124
|
-
|
|
125
|
-
{/* Tipologia */}
|
|
126
|
-
{show_tipologia && item?.tipologia_bando && (
|
|
127
|
-
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
128
|
-
<div className="bando-dati-label me-2">
|
|
129
|
-
{intl.formatMessage(messages.tipologia)}:
|
|
130
|
-
</div>
|
|
131
|
-
<span className="bando-dati-date">
|
|
132
|
-
{item.tipologia_bando}
|
|
106
|
+
<div className="bando-lower-section">
|
|
107
|
+
<div className="bando-dati mb-2">
|
|
108
|
+
{/* Ente */}
|
|
109
|
+
{show_ente && item.ente_bando?.length > 0 && (
|
|
110
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
111
|
+
<div className="bando-dati-label me-2">
|
|
112
|
+
{intl.formatMessage(messages.ente)}:
|
|
113
|
+
</div>
|
|
114
|
+
<span className="bando-dati-date">
|
|
115
|
+
{item.ente_bando.map((ente, i) => (
|
|
116
|
+
<span>
|
|
117
|
+
{ente}
|
|
118
|
+
{i < item.ente_bando.length - 1 ? ', ' : ''}
|
|
119
|
+
</span>
|
|
120
|
+
))}
|
|
121
|
+
</span>
|
|
133
122
|
</span>
|
|
134
|
-
|
|
135
|
-
)}
|
|
123
|
+
)}
|
|
136
124
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
125
|
+
{/* Tipologia */}
|
|
126
|
+
{show_tipologia && item?.tipologia_bando && (
|
|
127
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
128
|
+
<div className="bando-dati-label me-2">
|
|
129
|
+
{intl.formatMessage(messages.tipologia)}:
|
|
130
|
+
</div>
|
|
131
|
+
<span className="bando-dati-date">
|
|
132
|
+
{item.tipologia_bando}
|
|
133
|
+
</span>
|
|
145
134
|
</span>
|
|
146
|
-
|
|
147
|
-
)}
|
|
135
|
+
)}
|
|
148
136
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
viewDate(
|
|
137
|
+
{/* Pubblicazione */}
|
|
138
|
+
{item.effective && (
|
|
139
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
140
|
+
<div className="bando-dati-label me-2">
|
|
141
|
+
{intl.formatMessage(messages.pubblicazione)}:
|
|
142
|
+
</div>
|
|
143
|
+
<span className="bando-dati-date">
|
|
144
|
+
{viewDate(
|
|
158
145
|
intl.locale,
|
|
159
|
-
item.
|
|
146
|
+
item.effective,
|
|
160
147
|
'DD-MM-YYYY',
|
|
161
148
|
)}
|
|
149
|
+
</span>
|
|
162
150
|
</span>
|
|
163
|
-
|
|
164
|
-
)}
|
|
151
|
+
)}
|
|
165
152
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
153
|
+
{/* Scadenza */}
|
|
154
|
+
{item.scadenza_bando && (
|
|
155
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
156
|
+
<div className="bando-dati-label me-2">
|
|
157
|
+
{intl.formatMessage(messages.scadenza)}:
|
|
158
|
+
</div>
|
|
159
|
+
<span className="bando-dati-date">
|
|
160
|
+
{item.scadenza_bando &&
|
|
161
|
+
viewDate(
|
|
162
|
+
intl.locale,
|
|
163
|
+
item.scadenza_bando,
|
|
164
|
+
'DD-MM-YYYY',
|
|
165
|
+
)}
|
|
166
|
+
</span>
|
|
179
167
|
</span>
|
|
180
|
-
|
|
181
|
-
)}
|
|
182
|
-
|
|
183
|
-
{/* Stato */}
|
|
184
|
-
{item?.bando_state?.length > 0 && (
|
|
185
|
-
<span className="d-flex align-items-baseline bando-dati-info">
|
|
186
|
-
<div className="bando-dati-label me-3">
|
|
187
|
-
{intl.formatMessage(messages.stato)}:
|
|
188
|
-
</div>
|
|
168
|
+
)}
|
|
189
169
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
'scheduled',
|
|
197
|
-
),
|
|
198
|
-
'in-progress': item.bando_state?.includes(
|
|
199
|
-
'inProgress',
|
|
200
|
-
),
|
|
201
|
-
})}
|
|
202
|
-
>
|
|
203
|
-
<BandoStatus content={item} />
|
|
170
|
+
{/* Chiusura procedimento */}
|
|
171
|
+
{item.chiusura_procedimento_bando && (
|
|
172
|
+
<span className="d-flex flex-wrap align-items-baseline bando-dati-info">
|
|
173
|
+
<div className="bando-dati-label me-2">
|
|
174
|
+
{intl.formatMessage(messages.chiusura_procedimento)}
|
|
175
|
+
:
|
|
204
176
|
</div>
|
|
177
|
+
<span className="bando-dati-date">
|
|
178
|
+
{item.chiusura_procedimento_bando &&
|
|
179
|
+
viewDate(
|
|
180
|
+
intl.locale,
|
|
181
|
+
item.chiusura_procedimento_bando,
|
|
182
|
+
'DD-MM-YYYY',
|
|
183
|
+
)}
|
|
184
|
+
</span>
|
|
205
185
|
</span>
|
|
206
|
-
|
|
207
|
-
)}
|
|
186
|
+
)}
|
|
208
187
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
188
|
+
{/* Stato */}
|
|
189
|
+
{item?.bando_state?.length > 0 && (
|
|
190
|
+
<span className="d-flex align-items-baseline bando-dati-info">
|
|
191
|
+
<div className="bando-dati-label me-3">
|
|
192
|
+
{intl.formatMessage(messages.stato)}:
|
|
193
|
+
</div>
|
|
194
|
+
|
|
195
|
+
<span className="bando-dati-date">
|
|
196
|
+
<div
|
|
197
|
+
className={cx('bando-state', {
|
|
198
|
+
open: item.bando_state?.includes('open'),
|
|
199
|
+
closed: item.bando_state?.includes('closed'),
|
|
200
|
+
scheduled: item.bando_state?.includes(
|
|
201
|
+
'scheduled',
|
|
202
|
+
),
|
|
203
|
+
'in-progress': item.bando_state?.includes(
|
|
204
|
+
'inProgress',
|
|
205
|
+
),
|
|
206
|
+
})}
|
|
207
|
+
>
|
|
208
|
+
<BandoStatus content={item} />
|
|
209
|
+
</div>
|
|
210
|
+
</span>
|
|
215
211
|
</span>
|
|
216
212
|
)}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
213
|
+
|
|
214
|
+
{/* Note aggiornamenti */}
|
|
215
|
+
{item.update_note &&
|
|
216
|
+
(item.bando_state?.includes('open') ||
|
|
217
|
+
item.bando_state?.includes('inProgress')) && (
|
|
218
|
+
<span className="d-flex bando-note">
|
|
219
|
+
<strong>{item.update_note}</strong>
|
|
220
|
+
</span>
|
|
221
|
+
)}
|
|
222
|
+
</div>
|
|
223
|
+
<div className="read-more">
|
|
224
|
+
<CardReadMore
|
|
225
|
+
iconName="it-arrow-right"
|
|
226
|
+
tag={UniversalLink}
|
|
227
|
+
item={!isEditMode ? item : null}
|
|
228
|
+
href={isEditMode ? '#' : null}
|
|
229
|
+
text={intl.formatMessage(messages.vedi)}
|
|
230
|
+
/>
|
|
231
|
+
</div>
|
|
226
232
|
</div>
|
|
227
233
|
</CardBody>
|
|
228
234
|
</Card>
|
|
@@ -52,13 +52,7 @@ const Block = ({
|
|
|
52
52
|
|
|
53
53
|
return (
|
|
54
54
|
<div className="simple-text-card-wrapper">
|
|
55
|
-
<Card
|
|
56
|
-
color="white"
|
|
57
|
-
className=" card-bg rounded"
|
|
58
|
-
noWrapper={false}
|
|
59
|
-
space
|
|
60
|
-
tag="div"
|
|
61
|
-
>
|
|
55
|
+
<Card color="white" className="no-after card-bg rounded" space tag="div">
|
|
62
56
|
<CardBody>
|
|
63
57
|
<div className={cx('simple-text-card', { 'cms-ui': inEditMode })}>
|
|
64
58
|
{inEditMode ? (
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
.search-results .public-ui .template-wrapper {
|
|
60
60
|
.container {
|
|
61
61
|
padding: 0 !important;
|
|
62
|
+
max-width: 100%;
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
.sideColumn {
|
|
@@ -215,3 +216,7 @@
|
|
|
215
216
|
}
|
|
216
217
|
}
|
|
217
218
|
}
|
|
219
|
+
|
|
220
|
+
body.cms-ui .block.search.public-ui a {
|
|
221
|
+
color: $primary-text;
|
|
222
|
+
}
|