File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
web/themes/custom/fds_ballerup_theme/templates/node/teaser Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
- {% set uniqueId = ' bp-accordion- ' ~ random () %}
1
+ {% set uniqueId = node . label | lower | replace({ " " : " - " , " . " : " " }) | url_encode %}
2
2
{%
3
3
set classes = [
4
4
node .bundle |clean_class,
23
23
</div >
24
24
{% endif %}
25
25
26
- {% if content [' #decision' ] %}
27
- <div class =" box box--primary" >
28
- <div class =" box__body" >
29
- {{ content [' #decision' ] }}
30
- </div >
31
- </div >
32
- {% endif %}
33
-
34
26
{{ content .body }}
35
27
{{ content .field_os2web_m_bp_enclosures }}
36
28
{{ content .field_os2web_m_bp_bpas }}
37
29
30
+ {% if content [' #decision' ] %}
31
+ <div >
32
+ {{ content [' #decision' ] }}
33
+ </div >
34
+ {% endif %}
35
+
38
36
<button class =" accordion-close-button js-accordion-close-current" aria-controls =" {{ uniqueId }}" >
39
37
<span class =" icon fa fa-angle-up" ></span >
40
38
</button >
You can’t perform that action at this time.
0 commit comments