hr-design-system-handlebars 1.63.15 → 1.64.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.
Files changed (153) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/handlebars/helpers/handlebar-helpers.js +72 -14
  3. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +6 -0
  4. package/dist/assets/brand/hr/conf/locatags.merged.json +6 -0
  5. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +6 -0
  6. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +6 -0
  7. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +6 -0
  8. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +6 -0
  9. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +6 -0
  10. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +6 -0
  11. package/dist/assets/brand/hr1/conf/locatags.merged.json +6 -0
  12. package/dist/assets/brand/hr2/conf/locatags.merged.json +6 -0
  13. package/dist/assets/brand/hr3/conf/locatags.merged.json +6 -0
  14. package/dist/assets/brand/hr4/conf/locatags.merged.json +6 -0
  15. package/dist/assets/brand/you-fm/conf/locatags.merged.json +6 -0
  16. package/dist/assets/index.css +3 -3
  17. package/dist/assets/js/components/externalService/dataWrapperNoResponsiveIframe.subfeature.js +4 -2
  18. package/dist/assets/js/components/externalService/externalServiceDs.feature.js +12 -28
  19. package/dist/assets/js/components/modal/defaultModal.subfeature.js +58 -0
  20. package/dist/assets/js/components/modal/modal.feature.js +11 -52
  21. package/dist/assets/js/components/modal/userConsentModal.subfeature.js +120 -0
  22. package/dist/views/components/banner/header/banner_image.hbs +1 -1
  23. package/dist/views/components/base/backlink.hbs +1 -1
  24. package/dist/views/components/base/link.hbs +1 -1
  25. package/dist/views/components/dataPolicySettings/data_policy_settings.hbs +4 -4
  26. package/dist/views/components/event/calendar/event_calendar.hbs +3 -0
  27. package/dist/views/components/event/event_ticket_button.hbs +10 -18
  28. package/dist/views/components/externalService/external_service.hbs +7 -14
  29. package/dist/views/components/externalService/external_service_with_datapolicy_check.hbs +3 -4
  30. package/dist/views/components/geoTag/geoTag_list.hbs +1 -1
  31. package/dist/views/components/mediaplayer/media_player.hbs +1 -1
  32. package/dist/views/components/modal/modal.hbs +1 -1
  33. package/dist/views/components/modal/user_consent.hbs +13 -0
  34. package/dist/views/components/navigation/breadcrumb/breadcrumb.hbs +1 -1
  35. package/dist/views/components/navigation/breadcrumb/breadcrumb_items.ssi.hbs +1 -1
  36. package/dist/views/components/page/components/author.hbs +1 -1
  37. package/dist/views/components/page/components/socialsharing.hbs +4 -4
  38. package/dist/views/components/podcast/components/podcast_subscribe_button.hbs +1 -1
  39. package/dist/views/components/podcast/podcast_player.hbs +1 -1
  40. package/dist/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  41. package/dist/views/components/site_header/navigation_flyout/navigation_flyout.hbs +1 -1
  42. package/dist/views/components/site_header/section_navigation/section_navigation_item.hbs +3 -3
  43. package/dist/views/components/site_header/service_logo.hbs +1 -1
  44. package/dist/views/components/site_header/service_navigation/service_navigation_item.hbs +2 -2
  45. package/dist/views/components/social_sharing/social_sharing_compact_icons.hbs +4 -4
  46. package/dist/views/components/socialmedia/socialmedia.hbs +4 -4
  47. package/dist/views/components/teaser/components/teaser_body.hbs +10 -1
  48. package/dist/views/components/teaser/components/teaser_lead.hbs +1 -1
  49. package/dist/views/components/teaser/group_teaser/group_teaser.hbs +1 -1
  50. package/dist/views/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
  51. package/dist/views/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
  52. package/dist/views/components/topictag/topictag_list.hbs +1 -1
  53. package/dist/views_static/components/banner/header/banner_image.hbs +1 -1
  54. package/dist/views_static/components/base/backlink.hbs +1 -1
  55. package/dist/views_static/components/base/link.hbs +1 -1
  56. package/dist/views_static/components/dataPolicySettings/data_policy_settings.hbs +4 -4
  57. package/dist/views_static/components/event/calendar/event_calendar.hbs +3 -0
  58. package/dist/views_static/components/event/event_ticket_button.hbs +10 -18
  59. package/dist/views_static/components/externalService/external_service.hbs +7 -14
  60. package/dist/views_static/components/externalService/external_service_with_datapolicy_check.hbs +3 -4
  61. package/dist/views_static/components/geoTag/geoTag_list.hbs +1 -1
  62. package/dist/views_static/components/mediaplayer/media_player.hbs +1 -1
  63. package/dist/views_static/components/modal/modal.hbs +1 -1
  64. package/dist/views_static/components/modal/user_consent.hbs +13 -0
  65. package/dist/views_static/components/navigation/breadcrumb/breadcrumb.hbs +1 -1
  66. package/dist/views_static/components/navigation/breadcrumb/breadcrumb_items.ssi.hbs +1 -1
  67. package/dist/views_static/components/page/components/author.hbs +1 -1
  68. package/dist/views_static/components/page/components/socialsharing.hbs +4 -4
  69. package/dist/views_static/components/podcast/components/podcast_subscribe_button.hbs +1 -1
  70. package/dist/views_static/components/podcast/podcast_player.hbs +1 -1
  71. package/dist/views_static/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  72. package/dist/views_static/components/site_header/navigation_flyout/navigation_flyout.hbs +1 -1
  73. package/dist/views_static/components/site_header/section_navigation/section_navigation_item.hbs +3 -3
  74. package/dist/views_static/components/site_header/service_logo.hbs +1 -1
  75. package/dist/views_static/components/site_header/service_navigation/service_navigation_item.hbs +2 -2
  76. package/dist/views_static/components/social_sharing/social_sharing_compact_icons.hbs +4 -4
  77. package/dist/views_static/components/socialmedia/socialmedia.hbs +4 -4
  78. package/dist/views_static/components/teaser/components/teaser_body.hbs +10 -1
  79. package/dist/views_static/components/teaser/components/teaser_lead.hbs +1 -1
  80. package/dist/views_static/components/teaser/group_teaser/group_teaser.hbs +1 -1
  81. package/dist/views_static/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
  82. package/dist/views_static/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
  83. package/dist/views_static/components/topictag/topictag_list.hbs +1 -1
  84. package/package.json +1 -1
  85. package/src/assets/brand/_default/conf/locatags.json +6 -0
  86. package/src/assets/brand/hessenschau/conf/locatags.merged.json +6 -0
  87. package/src/assets/brand/hr/conf/locatags.merged.json +6 -0
  88. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +6 -0
  89. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +6 -0
  90. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +6 -0
  91. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +6 -0
  92. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +6 -0
  93. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +6 -0
  94. package/src/assets/brand/hr1/conf/locatags.merged.json +6 -0
  95. package/src/assets/brand/hr2/conf/locatags.merged.json +6 -0
  96. package/src/assets/brand/hr3/conf/locatags.merged.json +6 -0
  97. package/src/assets/brand/hr4/conf/locatags.merged.json +6 -0
  98. package/src/assets/brand/you-fm/conf/locatags.merged.json +6 -0
  99. package/src/assets/fixtures/teaser/teaser_standard_50_serif_link_two_click.json +22 -0
  100. package/src/assets/fixtures/teaser/teasers.inc.json +2 -1
  101. package/src/stories/views/components/banner/header/banner_image.hbs +1 -1
  102. package/src/stories/views/components/base/backlink.hbs +1 -1
  103. package/src/stories/views/components/base/link.hbs +1 -1
  104. package/src/stories/views/components/dataPolicySettings/data_policy_settings.hbs +4 -4
  105. package/src/stories/views/components/event/calendar/event_calendar.hbs +3 -0
  106. package/src/stories/views/components/event/event_ticket_button.hbs +10 -18
  107. package/src/stories/views/components/externalService/dataWrapperNoResponsiveIframe.subfeature.js +4 -2
  108. package/src/stories/views/components/externalService/externalServiceDs.feature.js +12 -28
  109. package/src/stories/views/components/externalService/external_service.hbs +7 -14
  110. package/src/stories/views/components/externalService/external_service.mdx +1 -18
  111. package/src/stories/views/components/externalService/external_service.stories.js +5 -0
  112. package/src/stories/views/components/externalService/external_service_with_datapolicy_check.hbs +3 -4
  113. package/src/stories/views/components/externalService/fixtures/external_service_with_datapolicy.json +48 -2
  114. package/src/stories/views/components/geoTag/geoTag_list.hbs +1 -1
  115. package/src/stories/views/components/mediaplayer/media_player.hbs +1 -1
  116. package/src/stories/views/components/modal/defaultModal.subfeature.js +58 -0
  117. package/src/stories/views/components/modal/modal.feature.js +11 -52
  118. package/src/stories/views/components/modal/modal.hbs +1 -1
  119. package/src/stories/views/components/modal/modal.mdx +104 -0
  120. package/src/stories/views/components/modal/modal.stories.js +79 -0
  121. package/src/stories/views/components/modal/userConsentModal.subfeature.js +120 -0
  122. package/src/stories/views/components/modal/user_consent.hbs +13 -0
  123. package/src/stories/views/components/navigation/breadcrumb/breadcrumb.hbs +1 -1
  124. package/src/stories/views/components/navigation/breadcrumb/breadcrumb_items.ssi.hbs +1 -1
  125. package/src/stories/views/components/page/components/author.hbs +1 -1
  126. package/src/stories/views/components/page/components/socialsharing.hbs +4 -4
  127. package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
  128. package/src/stories/views/components/podcast/components/podcast_subscribe_button.hbs +1 -1
  129. package/src/stories/views/components/podcast/podcast_player.hbs +1 -1
  130. package/src/stories/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  131. package/src/stories/views/components/site_header/navigation_flyout/navigation_flyout.hbs +1 -1
  132. package/src/stories/views/components/site_header/section_navigation/section_navigation_item.hbs +3 -3
  133. package/src/stories/views/components/site_header/service_logo.hbs +1 -1
  134. package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs +2 -2
  135. package/src/stories/views/components/social_sharing/social_sharing_compact_icons.hbs +4 -4
  136. package/src/stories/views/components/socialmedia/socialmedia.hbs +4 -4
  137. package/src/stories/views/components/teaser/components/teaser_body.hbs +10 -1
  138. package/src/stories/views/components/teaser/components/teaser_lead.hbs +1 -1
  139. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_link.json +1 -1
  140. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_link.json +1 -1
  141. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_link.json +1 -1
  142. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_link.json +1 -1
  143. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_link.json +1 -1
  144. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_link.json +1 -1
  145. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link.json +1 -1
  146. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link_two_click.json +1 -0
  147. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_link.json +1 -1
  148. package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +1 -1
  149. package/src/stories/views/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
  150. package/src/stories/views/components/teaser/teaser_standard.mdx +4 -0
  151. package/src/stories/views/components/teaser/teaser_standard.stories.js +7 -0
  152. package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
  153. package/src/stories/views/components/topictag/topictag_list.hbs +1 -1
@@ -2,7 +2,7 @@
2
2
  {{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
3
3
  {{~#if this.hasGroupTitle}}
4
4
  <{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-5xl{{else}} justifyLine{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
5
- {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
5
+ {{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
6
6
  {{this.groupTitle}}
7
7
  {{~#if this.hasLink}}</a>{{/if~}}
8
8
  </{{if this.headlineTag this.headlineTag "h2"}}>
@@ -3,7 +3,7 @@
3
3
  <div class="grid items-start content-start h-auto grid-cols-12 col-span-12 py-5 mx-5 group-accented sm:p-5 sm:mx-0 rounded-tl-hr rounded-br-hr bg-highlight-1 gap-x-6 gap-y-5">
4
4
  {{~#if this.hasGroupTitle}}
5
5
  <h2 class="text-2xl md:text-5xl px-5 sm:px-0 col-span-full pt-0 pb-4 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
6
- {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
6
+ {{~#if this.hasLink}}<a class="{{if (isUserConsentNeeded this.link.url) 'js-user-consent-needed ' ''}}no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
7
7
  {{this.groupTitle}}
8
8
  {{~#if this.hasLink}}</a>{{/if~}}
9
9
  </h2>
@@ -20,7 +20,7 @@
20
20
  {{/if}}
21
21
  </div>
22
22
  {{~/with}}
23
- <a class="link-focus-white text-base js-load {{#if ../../_color}} text-{{../../_color}}{{else}} text-toplineColor{{/if}} underline decoration-1 ds-link" href="{{this.tickerItemUrl}}" rel="nofollow" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "TickerTeaser::{{../../this.sophoraId}}-TeaserPostLink geklickt"}]}'>{{this.relevantTitle}}</a>
23
+ <a class="{{if (isUserConsentNeeded this.tickerItemUrl) 'js-user-consent-needed ' ''}}link-focus-white text-base js-load {{#if ../../_color}} text-{{../../_color}}{{else}} text-toplineColor{{/if}} underline decoration-1 ds-link" href="{{this.tickerItemUrl}}" rel="nofollow" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "TickerTeaser::{{../../this.sophoraId}}-TeaserPostLink geklickt"}]}'>{{this.relevantTitle}}</a>
24
24
  </li>
25
25
  {{~/each~}}
26
26
  </ul>
@@ -5,7 +5,7 @@
5
5
  <ul class="flex flex-wrap sm:block gap-x-4 w-fit sm:w-full sm:pt-2 ">
6
6
  {{~#each this~}}
7
7
  <li class="w-fit sm:w-full text-primary dark:text-standard-text-dark">
8
- <a class="block line-clamp-1 hover:underline gap-x-1" href="{{this.url}}">
8
+ <a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}block line-clamp-1 hover:underline gap-x-1" href="{{this.url}}">
9
9
  {{~> components/base/image/icon _icon="taglabel" _addClass="inline w-4 h-4 mr-2 fill-current"~}}
10
10
 
11
11
  {{~this.title~}}
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
8
  "repository": "https://github.com/szuelch/hr-design-system-handlebars",
9
- "version": "1.63.15",
9
+ "version": "1.64.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok":"Zum Ticketshop",
140
+ "ticket_modal_label_cancel":"Abbrechen",
135
141
  "ticker_more":"Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -112,6 +112,10 @@
112
112
  "livestream_plays": "Jetzt live",
113
113
  "livestream_will_play": "Startet am {0}",
114
114
  "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
115
+ "modal_user_consent_headline": "Sie verlassen unser Angebot",
116
+ "modal_user_consent_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
117
+ "modal_user_consent_label_cancel": "Abbrechen",
118
+ "modal_user_consent_label_ok": "Zur externen Internetseite",
115
119
  "poster_copyright": "Bild &copy; {0}",
116
120
  "search_input_aria_submit": "Suche starten",
117
121
  "search_input_placeholder": "Ort oder Thema suchen",
@@ -132,6 +136,8 @@
132
136
  "story_program_supplier": "Thema in",
133
137
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
134
138
  "ticket_modal_text": "Der Link öffnet eine Internetseite außerhalb unseres Angebots. Wir sind für den Inhalt externer Internetseiten nicht verantwortlich.",
139
+ "ticket_modal_label_ok": "Zum Ticketshop",
140
+ "ticket_modal_label_cancel": "Abbrechen",
135
141
  "ticker_more": "Zum Ticker",
136
142
  "topictag_headline": "Alle Beiträge zum Thema {0}",
137
143
  "topictag_metadescription_prefix": "Alle Beiträge zum Thema ",
@@ -0,0 +1,22 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser_link",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "50"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.realTeaserSize",
11
+ "@->value": "50"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.link.url",
15
+ "@->value": "https://tagesschau.de"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.link.isUserConsentNeeded",
19
+ "@->value": true
20
+ }
21
+ ]
22
+ }
@@ -1659,7 +1659,8 @@
1659
1659
  "readMoreScreenreader": "Zur Tagesschau Website",
1660
1660
  "readMore": "Zur Tagesschau Website",
1661
1661
  "readMoreLong": "Zur Tagesschau Website"
1662
- }
1662
+ },
1663
+ "isUserConsentNeeded": false
1663
1664
  }
1664
1665
  }
1665
1666
  }
@@ -1,6 +1,6 @@
1
1
  {{#with this.bannerImage}}
2
2
  {{#if ../bannerLink}}
3
- <a href="{{../bannerLink}}">
3
+ <a href="{{../bannerLink}}"{{#if (isUserConsentNeeded ../bannerLink)}} class="js-user-consent-needed"{{/if}}>
4
4
  {{/if}}
5
5
  {{#unless ../_hideOnMobile }}
6
6
  {{~> components/base/image/responsive_image _type="banner" _variant="default" _addClass="print:hidden" _noDelay="true" _title=(loca "banner_image_copyright" (strip this.copyrightWithLinks html)) ~}}
@@ -1,4 +1,4 @@
1
- <a href="{{this}}" class="flex flex-nowrap items-center text-sm gap-x-2 text-primary hover:underline {{~#with _addClass }} {{this}}{{/with}}">
1
+ <a href="{{this}}" class="{{if (isUserConsentNeeded this) 'js-user-consent-needed ' ''}}flex flex-nowrap items-center text-sm gap-x-2 text-primary hover:underline {{~#with _addClass }} {{this}}{{/with}}">
2
2
  {{~> components/base/image/icon _icon="arrow-left" _addClass="w-5 h-5 fill-current" ~}}
3
3
  {{~loca "backlink_title" ~}}
4
4
  </a>
@@ -1,5 +1,5 @@
1
1
  <a {{#with _link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} {{#if _link.isStaticUrl}}href="{{#if _link.site}}{{resourceUrl _link.url _site=_link.site}}{{else}}{{resourceUrl _link.url}}{{/if}}{{else}}href="{{_link.url}}{{/if}}{{#if this.hasComments}}#commentList{{/if}}"
2
- class="sb-link ds-link js-load {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
2
+ class="sb-link ds-link js-load{{#if _link.isUserConsentNeeded}} js-user-consent-needed{{/if}} {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
3
3
  {{#if _link.isTargetBlank}} target="_blank" rel="noopener{{#if _link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
4
4
  {{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
5
5
  {{#> htmlProperties}}{{/htmlProperties}}
@@ -31,7 +31,7 @@
31
31
  {{#with this.footerMetadata}}
32
32
  {{#with this.dataProtectionLink}}
33
33
  {{loca "cookies_setting_tracking_service_description_text"}}
34
- <a class="block mt-2 ds-link text-link hover:underline" target="_blank"
34
+ <a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}block mt-2 ds-link text-link hover:underline" target="_blank"
35
35
  rel="noopener noreferrer" href="{{this.url}}"
36
36
  title="Mehr Informationen zum Thema Datenschutz">Mehr Informationen zum Thema Datenschutz
37
37
  {{#if this.isTargetBlank}}{{~> components/base/image/icon _icon="extern" _addClass="h-5 w-5 -mt-0.5 fill-current ml-1 inline-flex" _iconmap="icons"~}}{{/if}}
@@ -48,7 +48,7 @@
48
48
  <ul class="{{#if _webview}} hidden{{/if}}">
49
49
  <li class="px-6 py-3 flex justify-between items-center bg-white border-t border-[#e3e3e3] tracking_1">
50
50
  <span class="text-base text-black">AGF <a
51
- class="mt-3 -mb-1 ds-link text-link hover:underline" target="_blank" rel="noopener noreferrer"
51
+ class="{{if (isUserConsentNeeded 'https://www.agf.de/') 'js-user-consent-needed ' ''}}mt-3 -mb-1 ds-link text-link hover:underline" target="_blank" rel="noopener noreferrer"
52
52
  href="https://www.agf.de/" title="AGF">(https://www.agf.de/){{~> components/base/image/icon _icon="extern" _addClass="h-5 w-5 -mt-0.5 fill-current ml-1 inline-flex" _iconmap="icons"~}}</a></span>
53
53
  <div class="flex w-fit toggleSwitch">
54
54
  {{> components/forms/toggle_button _id="agf" _addClass="js-toggleSwitch-checkbox js-toggleSwitch-tracking" _isInitiallyHidden=false _screenReaderText="agf aktivieren/deaktivieren" }}
@@ -56,7 +56,7 @@
56
56
  </li>
57
57
  <li class="px-6 py-3 flex justify-between items-center bg-white border-t border-[#e3e3e3] tracking_2">
58
58
  <span class="text-base text-black">AT Internet <a
59
- class="mt-3 -mb-1 ds-link text-link hover:underline" target="_blank" rel="noopener noreferrer"
59
+ class="{{if (isUserConsentNeeded 'https://www.atinternet.com/de/') 'js-user-consent-needed ' ''}}mt-3 -mb-1 ds-link text-link hover:underline" target="_blank" rel="noopener noreferrer"
60
60
  href="https://www.atinternet.com/de/"
61
61
  title="AT Internet">(https://www.atinternet.com/de/){{~> components/base/image/icon _icon="extern" _addClass="h-5 w-5 -mt-0.5 fill-current ml-1 inline-flex" _iconmap="icons"~}}</a></span>
62
62
  <div class="flex w-fit toggleSwitch">
@@ -71,7 +71,7 @@
71
71
  {{#with this.footerMetadata}}
72
72
  {{#with this.dataProtectionLink}}
73
73
  {{loca "cookies_setting_description_text"}}
74
- <a class="block mt-2 ds-link text-link hover:underline" target="_blank"
74
+ <a class="{{if (isUserConsentNeeded this.url) 'js-user-consent-needed ' ''}}block mt-2 ds-link text-link hover:underline" target="_blank"
75
75
  rel="noopener noreferrer" href="{{this.url}}"
76
76
  title="Mehr Informationen zum Thema Datenschutz">Mehr Informationen zum Thema Datenschutz
77
77
  {{#if this.isTargetBlank}}{{~> components/base/image/icon _icon="extern" _addClass="h-5 w-5 -mt-0.5 fill-current ml-1 inline-flex" _iconmap="icons"~}}{{/if}}
@@ -1,3 +1,6 @@
1
1
  <div class="flex flex-col border-event-calendar-secondary border gap-x-4 js-load" data-hr-filterer-ds="{}">
2
2
  {{> @partial-block }}
3
+ {{#> components/modal/modal _type="userConsent" _trigger=".js-ticket-button-user-consent-needed"}}
4
+ {{> components/modal/user_consent _link=this.link _headline=(loca "ticket_modal_headline") _text=(loca "ticket_modal_text") _labelOk=(loca "ticket_modal_label_ok") _labelCancel=(loca "ticket_modal_label_cancel")}}
5
+ {{/components/modal/modal}}
3
6
  </div>
@@ -1,23 +1,15 @@
1
1
  <div class="static pt-1 pb-3 pl-4 sm:absolute sm:pl-0 sm:pt-0 sm:pb-0 sm:right-4 sm:bottom-4">
2
- {{#> components/button/button _id=(nextRandom) _size="lg"}}
3
- {{> components/button/components/button_icon _icon="ticket" _iconmap="icons" _css="mr-2"}}
4
- {{>components/button/components/button_label _label="Tickets"}}
5
- {{/components/button/button}}
6
- {{#> components/modal/modal _trigger=(getRandom)}}
7
- {{#> components/teaser/components/teaser_headline}}
8
- {{> components/teaser/components/teaser_title _text=(loca 'ticket_modal_headline') _css="text-2xl"}}
9
- {{/components/teaser/components/teaser_headline}}
10
- <p class="mt-2 text-base font-copy">{{loca "ticket_modal_text"}}</p>
2
+ {{#with this}}
3
+ {{#> components/button/button _css="js-ticket-button-user-consent-needed"_id=(nextRandom) _size="lg"}}
4
+ {{> components/button/components/button_icon _icon="ticket" _iconmap="icons" _css="mr-2"}}
5
+ {{>components/button/components/button_label _css='' _label="Tickets"}}
6
+ {{/components/button/button}}
7
+ {{#*inline "htmlProperties"~}}
8
+ data-user-consent-link='{"url":"{{this.link.url}}","isTargetBlank":{{this.link.isTargetBlank}} }'
9
+ data-user-consent-tracking-data="{{this.link.cmsDocument.trackingInformations.ticketLink}}"
10
+ {{~/inline}}
11
+ {{/with}}
11
12
 
12
- <div class="flex flex-wrap mt-4">
13
- {{#> components/button/button _size="lg" _variant="tertiary" _value="cancel" _css="mr-4 mt-4"}}
14
- {{>components/button/components/button_label _label="Abbrechen" _css=""}}
15
- {{/components/button/button}}
16
- {{#> components/button/link_button _link=this.link _size="lg" _css="js-ticket-ok-button js-modal-close mt-4"}}
17
- {{>components/button/components/button_label _label="Zum Ticketshop" _css=""}}
18
- {{/components/button/link_button}}
19
- </div>
20
- {{/components/modal/modal}}
21
13
  <noscript>
22
14
  <style>
23
15
  #{{getRandom}} {
@@ -1,8 +1,9 @@
1
- const DataWrapperNoResponsiveIframe = function (context, configAR, configFixedHeight, embedCode) {
1
+ const DataWrapperNoResponsiveIframe = function (context, configAR, configFixedHeight, id, embedCode) {
2
2
 
3
3
  const { element: rootElement } = context
4
4
  let aspectRatio = configAR
5
5
  let fixedHeight = configFixedHeight
6
+ let uniqueId = id
6
7
 
7
8
  const createNoResponsiveIframe = function () {
8
9
 
@@ -65,7 +66,8 @@ const DataWrapperNoResponsiveIframe = function (context, configAR, configFixedHe
65
66
  iframe.setAttribute('scrolling', 'no')
66
67
  iframe.setAttribute('frameborder', '0')
67
68
  iframe.src = embedCode
68
-
69
+ iframe.id = 'datawrapper-chart-' + uniqueId
70
+
69
71
  div.appendChild(iframe)
70
72
  parentDiv.appendChild(div)
71
73
  rootElement.appendChild(parentDiv)
@@ -157,8 +157,14 @@ const ExternalService = function (context) {
157
157
  removeDatapolicyBox()
158
158
  createUniqueID()
159
159
  if (iFrameConfig.noResponsiveIframe == 'true') {
160
- noResponsiveIframe = new DataWrapperNoResponsiveIframe(context, iFrameConfig.aspectRatio, iFrameConfig.fixedHeight, embedCode)
160
+ noResponsiveIframe = new DataWrapperNoResponsiveIframe(context, iFrameConfig.aspectRatio, iFrameConfig.fixedHeight, uniqueId, embedCode)
161
161
  noResponsiveIframe.createNoResponsiveIframe()
162
+
163
+ if (iFrameConfig.refreshContent == 'true') {
164
+ console.log("contentRefresher anfügen")
165
+ contentRefresher = new DataWrapperContentRefresher(context, uniqueId, iFrameConfig.refreshIntervall)
166
+ contentRefresher.createRefresher()
167
+ }
162
168
  }
163
169
  else {
164
170
  var iframe = document.createElement('iframe')
@@ -178,6 +184,7 @@ const ExternalService = function (context) {
178
184
  'https://static.hr.de/hessenschau/datawrapper/responsiveIframe.js',
179
185
  true
180
186
  )
187
+
181
188
  if (iFrameConfig.refreshContent == 'true') {
182
189
  console.log("contentRefresher anfügen")
183
190
  contentRefresher = new DataWrapperContentRefresher(context, uniqueId, iFrameConfig.refreshIntervall)
@@ -275,40 +282,17 @@ const ExternalService = function (context) {
275
282
 
276
283
  const loadIframe = function () {
277
284
  console.log('load iframe ' + id)
278
- iframe =
279
- "<iframe id='i_frame' data-isloaded='0' src='" +
280
- embedCode +
281
- "' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>"
285
+ iframe = "<iframe id='i_frame' data-isloaded='0' src='"+ embedCode +"' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>"
282
286
  if (iFrameConfig.aspectRatio) {
283
- iframe =
284
- "<div class='!h-full'><div class=" +
285
- getAspectRatioClass() +
286
- ' ' +
287
- id +
288
- "'><iframe id='i_frame' data-isloaded='0' src='" +
289
- embedCode +
290
- "' frameborder='0' class='w-full h-full '" +
291
- id +
292
- "' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></div>"
287
+ iframe ="<div class='!h-full'><div class='"+ getAspectRatioClass() +"'><iframe id='i_frame' data-isloaded='0' src='"+ embedCode +"' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></div>"
293
288
  //TODO Weiche Animation der Inhalte
294
289
  } else {
295
290
  if (iFrameConfig.fixedHeight) {
296
- iframe =
297
- "<div class='!h-full' style='height:" +
298
- iFrameConfig.fixedHeight +
299
- "px'><iframe data-isloaded='0' src='" +
300
- embedCode +
301
- "' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>"
291
+ iframe = "<div style='height:"+ iFrameConfig.fixedHeight +"px'><iframe data-isloaded='0' src='"+ embedCode +"' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>"
302
292
  } else {
303
- iframe =
304
- "<div class='!h-full " +
305
- id +
306
- "'><iframe data-isloaded='0' src='" +
307
- embedCode +
308
- "' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>"
293
+ iframe = "<div class='!h-full'><iframe data-isloaded='0' src='"+ embedCode +"' frameborder='0' class='w-full h-full' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>"
309
294
  }
310
295
  }
311
-
312
296
  replaceAnimated(rootElement, iframe, false)
313
297
  }
314
298