File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
<div id =" tli-article-editor-image-gallery" class =" col-lg-4 sticky-top overflow-auto mt-15" >
3
3
4
4
{% embed ' parts/alert-chalkboard.html.twig' %}
5
- {% block alertStyle %}collapseee tli-images-guide{% endblock %}
5
+ {% block alertStyle %}{% if Article . Images is empty %}collapse{% endif%} tli-images-guide{% endblock %}
6
6
{% block alertTitle %}Immagini caricate{% endblock %}
7
7
{% block alertBody %}Clicca o trascina un'immagine per inserirla nell'articolo{% endblock %}
8
8
{% endembed %}
9
9
10
10
{% embed ' parts/alert-chalkboard.html.twig' %}
11
- {% block alertStyle %}collapseee tli-no-images-guide{% endblock %}
11
+ {% block alertStyle %}{% if Article . Images is not empty %}collapse{% endif%} tli-no-images-guide{% endblock %}
12
12
{% block alertTitle %}Nessuna immagine caricata{% endblock %}
13
13
{% block alertBody %}Carica un'immagine per inserirla nell'articolo{% endblock %}
14
14
{% endembed %}
15
15
16
16
<div class =" row row-cols-2 g-1" >
17
-
18
17
{% for Image in Article .Images %}
19
18
<div class =" col" >
20
19
<div class =" ratio ratio-1x1" >
23
22
</div >
24
23
</div >
25
24
{% endfor %}
25
+ </div >
26
26
27
+ <div class =" sticky-bottom text-center mt-2" >
28
+ <button type =" button" class =" btn btn-primary" >
29
+ <i class =" fa-solid fa-upload" ></i > Carica immagini
30
+ </button >
27
31
</div >
28
32
29
33
</div >
30
34
<!-- ARTICLE side column editor images gallery END -->
31
-
You can’t perform that action at this time.
0 commit comments