Skip to content

Commit 44ca5c9

Browse files
author
LAPTOP-RSOLLPLO\sl
committed
ZPF-676-35165: Adgangforalle ikon/link fjernet + Paragraph template for map embed
1 parent 29c7438 commit 44ca5c9

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

web/themes/custom/fds_ballerup_theme/templates/includes/action-buttons.html.twig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<div class="action-buttons d-none d-md-block">
22
<div class="flexy-list">
3-
<div>
4-
<a href="http://www.adgangforalle.dk/" class="action-button" target="_blank">
5-
<span class="icon fa fa-volume-up"></span>
6-
</a>
7-
</div>
8-
93
<div>
104
<a href="#" class="action-button" onclick="window.print();">
115
<span class="icon fa fa-print"></span>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{#
2+
/**
3+
* @file
4+
* Default theme implementation to display a Vidi map paragraph.
5+
*
6+
* @see template_preprocess_paragraph()
7+
*
8+
* @ingroup themeable
9+
*/
10+
#}
11+
{%
12+
set classes = [
13+
'paragraph',
14+
'paragraph--type--' ~ paragraph.bundle|clean_class,
15+
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
16+
not paragraph.isPublished() ? 'paragraph--unpublished'
17+
]
18+
%}
19+
20+
<div{{ attributes.addClass(classes) }}>
21+
{% if content.field_map_embed_heading %}
22+
<h2>{{ content.field_map_embed_heading }}</h2>
23+
{% endif %}
24+
{{ content.field_script_embed|raw }}
25+
</div>

0 commit comments

Comments
 (0)