Skip to content

Commit f3c773b

Browse files
committed
Merge branch 'TMS-1201' into stage
2 parents aec694f + 7b1de4f commit f3c773b

3 files changed

Lines changed: 25 additions & 19 deletions

File tree

CHANGELOG.MD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
## [Unreleased]
99

1010
- TMS-1062: Increase menu-dropdown button size
11-
- TMS-1163: Search results breadcrumbs accessibility fixes
11+
- TMS-1201: Add iframe-field for video fields
12+
13+
## [1.12.2] - 2025-09-08
14+
1215
- TMS-1190: Add height to single exhibition hero on large monitors
16+
- TMS-1163: Search results breadcrumbs accessibility fixes
1317

1418
## [1.12.1] - 2025-08-13
1519

partials/blocks/block-video.dust

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
{?video}
2-
<div
3-
class="video {@eq key=align value="full"}is-align-full{:else}is-align-wide{/eq} mt-4 mb-4 mt-8-tablet mb-8-tablet is-relative"
4-
{?anchor}id="{anchor|s}"{/anchor}>
5-
{>"shared/layout-before-main-content" /}
1+
<div class="video is-align-wide mt-4 mb-4 mt-8-tablet mb-8-tablet is-relative" {?anchor}id="{anchor|attr}"{/anchor}>
2+
{>"shared/layout-before-main-content" /}
63

7-
{?alt_text}
8-
<span class="is-sr-only">{alt_text}</span>
9-
{/alt_text}
4+
{?alt_text}
5+
<span class="is-sr-only">{alt_text|html}</span>
6+
{/alt_text}
107

11-
{! Skip embed !}
12-
<a href="#{id}" class="skip-to-content">
13-
{skip_text|s}
14-
</a>
8+
{! Skip embed !}
9+
<a href="#{id|attr}" class="skip-to-content">
10+
{skip_text|html}
11+
</a>
1512

13+
{?video}
1614
<div class="image is-16by9 is-embed-container">
1715
{video|s}
1816
</div>
17+
{/video}
1918

20-
{! Skip embed target !}
21-
<div id="{id}"></div>
19+
{?video_iframe}
20+
{video_iframe|s}
21+
{/video_iframe}
2222

23-
{>"shared/layout-after-main-content" /}
24-
</div>
25-
{/video}
23+
{! Skip embed target !}
24+
<div id="{id|attr}"></div>
25+
26+
{>"shared/layout-after-main-content" /}
27+
</div>

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Theme Name: TMS Theme Taidemuseo
33
* Description: Tampere Multisite Taidemuseo Theme
4-
* Version: 1.12.1
4+
* Version: 1.12.2
55
* Author: Geniem
66
* Author URI: https://geniem.fi
77
* Template: tms-theme-base

0 commit comments

Comments
 (0)