@shift72/core-template 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. package/CHANGELOG.md +49 -7
  2. package/kibble.json +107 -28
  3. package/package.json +25 -9
  4. package/scripts/core-template-version.js +30 -0
  5. package/scripts/css-local-get.js +34 -0
  6. package/scripts/css-local-put.js +110 -0
  7. package/scripts/language-file-to-csv/language-file-to-csv.js +2 -2
  8. package/scripts/language-file-validator.js +16 -2
  9. package/scripts/translate.mjs +43 -0
  10. package/site/ar_LB.all.json +1262 -593
  11. package/site/ca_ES.all.json +441 -440
  12. package/site/da_DK.all.json +308 -210
  13. package/site/de_DE.all.json +1122 -337
  14. package/site/ee_EE.all.json +1258 -532
  15. package/site/el_EL.all.json +1116 -394
  16. package/site/en_AU.all.json +1159 -466
  17. package/site/es_ES.all.json +1109 -333
  18. package/site/es_MX.all.json +1173 -332
  19. package/site/fi_FI.all.json +1127 -315
  20. package/site/fr_FR.all.json +1109 -332
  21. package/site/hr_HR.all.json +1173 -411
  22. package/site/hu_HU.all.json +1258 -531
  23. package/site/it_IT.all.json +1116 -340
  24. package/site/ja_JP.all.json +1127 -315
  25. package/site/lt_LT.all.json +1116 -425
  26. package/site/nl_BE.all.json +1116 -426
  27. package/site/no_NO.all.json +1249 -531
  28. package/site/pl_PL.all.json +1106 -306
  29. package/site/pt_BR.all.json +438 -446
  30. package/site/pt_PT.all.json +1249 -527
  31. package/site/ru_RU.all.json +1092 -386
  32. package/site/sr_SR.all.json +1254 -0
  33. package/site/styles/_awards.scss +11 -6
  34. package/site/styles/_bootstrap4.scss +90 -0
  35. package/site/styles/_buttons.scss +32 -8
  36. package/site/styles/_can-be-watched-button.scss +2 -0
  37. package/site/styles/_card.scss +2 -2
  38. package/site/styles/_carousel.scss +52 -29
  39. package/site/styles/_collections.scss +4 -4
  40. package/site/styles/_cookie-consent.scss +1 -1
  41. package/site/styles/_devices.scss +3 -3
  42. package/site/styles/_footer.scss +6 -6
  43. package/site/styles/_forms.scss +83 -16
  44. package/site/styles/_globals.scss +1 -1
  45. package/site/styles/_icons.scss +2 -2
  46. package/site/styles/_language-selector.scss +2 -2
  47. package/site/styles/_legacy.scss +3 -3
  48. package/site/styles/_meta-detail.scss +45 -25
  49. package/site/styles/_meta-item-tagline.scss +1 -1
  50. package/site/styles/_mixins.scss +2 -2
  51. package/site/styles/_nav.scss +40 -40
  52. package/site/styles/_pages.scss +12 -14
  53. package/site/styles/_pin-codes.scss +2 -2
  54. package/site/styles/_plans.scss +6 -1
  55. package/site/styles/_poster.scss +5 -4
  56. package/site/styles/_search.scss +1 -1
  57. package/site/styles/_shift72.scss +24 -24
  58. package/site/styles/_shopping.scss +9 -9
  59. package/site/styles/_skip-link.scss +19 -0
  60. package/site/styles/_slider.scss +4 -10
  61. package/site/styles/_social-media-buttons.scss +20 -20
  62. package/site/styles/_swiper.scss +2 -2
  63. package/site/styles/_variables.scss +112 -83
  64. package/site/styles/_wishlist.scss +20 -12
  65. package/site/styles/main.scss +2 -3
  66. package/site/templates/application/application.jet +24 -15
  67. package/site/templates/application/google.jet +26 -10
  68. package/site/templates/bundle/buttons.jet +2 -1
  69. package/site/templates/bundle/item.jet +1 -2
  70. package/site/templates/collection/carousel_item.jet +12 -13
  71. package/site/templates/common/awards/carousel.jet +7 -1
  72. package/site/templates/common/awards/item.jet +2 -2
  73. package/site/templates/film/item.jet +92 -61
  74. package/site/templates/page/curated.jet +1 -1
  75. package/site/templates/page/page-content.jet +1 -23
  76. package/site/templates/page/page-header.jet +25 -6
  77. package/site/templates/tv/detail.jet +7 -7
  78. package/site/tr_TR.all.json +1249 -535
  79. package/site/uk_UA.all.json +533 -443
  80. package/site/zh_TW.all.json +442 -443
  81. package/site/se_SE.all.json +0 -570
  82. package/site/styles/_functions.scss +0 -8
@@ -35,6 +35,18 @@
35
35
  {{ if item.ItemType == "film" }}
36
36
  <can-be-watched-button data-slug="{{item.InnerItem.Slug}}" data-url="{{ item.InnerItem.CustomFields.GetString("can_be_watched_button_link", "") }}" data-label="{{ item.InnerItem.CustomFields.GetString("can_be_watched_button_text", "can_be_watched_button_text") }}"></can-be-watched-button>
37
37
  {{ end }}
38
+ <div class="meta-item-extras">
39
+ {{if len(trailer) > 0 }}
40
+ <div class="s72-btn-trailer btn-trailer" data-url="{{routeToSlug(item.Slug)}}?autoplay">
41
+ <button class="s72-btn s72-btn-play btn-sm s72-btn-trailer">
42
+ <span class="s72-btn-play-icon"><s72-play-icon></s72-play-icon></span>
43
+ <span class="verb s72-btn-play-label">{{i18n("play_trailer")}}</span>
44
+ </button>
45
+ </div>
46
+ {{end}}
47
+ <s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
48
+ <s72-share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></s72-share-buttons>
49
+ </div>
38
50
  </div>
39
51
 
40
52
  <s72-availability-label data-slug="{{item.Slug}}"></s72-availability-label>
@@ -42,19 +54,6 @@
42
54
  <div class="meta-item-synopsis">
43
55
  <p>{{item.InnerItem.Tagline | stripHTML}}</p>
44
56
  </div>
45
-
46
- <div class="meta-item-extras">
47
- {{if len(trailer) > 0 }}
48
- <div class="s72-btn-trailer btn-trailer" data-url="{{routeToSlug(item.Slug)}}?autoplay">
49
- <button class="s72-btn s72-btn-play btn-sm s72-btn-trailer">
50
- <span class="s72-btn-play-icon"><s72-play-icon></s72-play-icon></span>
51
- <span class="verb s72-btn-play-label">{{i18n("play_trailer")}}</span>
52
- </button>
53
- </div>
54
- {{end}}
55
- <s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
56
- <s72-share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></s72-share-buttons>
57
- </div>
58
57
  {{yield awardsCarousel() item.InnerItem}}
59
58
  </div>
60
59
  </div>
@@ -1,9 +1,15 @@
1
1
  {{block awardsCarousel()}}
2
2
  {{ if isset(.AwardCategories) && (len(.AwardCategories) > 0) }}
3
+
4
+ {{award_winner := false}}
5
+ {{ range .AwardCategories }}
6
+ {{ if .IsWinner}}{{award_winner = true}}{{end}}
7
+ {{ end }}
8
+
3
9
  <div class="meta-awards">
4
10
  <div class="meta-award-nomination">
5
11
  <span><i class="meta-award-nomination-icon"></i></span>
6
- <span class="font-weight-bold">{{ i18n("awards_in_competition") }}</span>
12
+ <span>{{ i18n("awards_in_competition") }}{{award_winner ? " - " + i18n("awards_winner") : ""}}</span>
7
13
  </div>
8
14
  </div>
9
15
  {{ end }}
@@ -2,9 +2,9 @@
2
2
  {{ if isset(.AwardCategories) && (len(.AwardCategories) > 0) }}
3
3
  <div class="meta-awards row mt-2p5 meta-awards-all">
4
4
  {{ range .AwardCategories }}
5
- <div class="meta-award-nomination mb-2p5 col-12 col-sm-8 col-lg-6 col-xl-4">
5
+ <div class="meta-award-nomination mb-3 col-12 col-sm-8 col-lg-6 col-xl-4">
6
6
  <span><i class="meta-award-nomination-icon"></i></span>
7
- <span class="font-weight-bold">{{ i18n("awards_nominated_for") }} {{ .DisplayLabel }}</span>
7
+ <span>{{ .DisplayLabel }}</span>
8
8
  </div>
9
9
  {{ end }}
10
10
  </div>
@@ -21,16 +21,15 @@
21
21
  <main id="main" class="page page-film meta-detail meta-detail-film">
22
22
  <div class="meta-detail-bg">
23
23
  <div class="right-gradient"></div>
24
- <s72-image src="{{film.Images.Background}}" alt="" class="meta-detail-bg-img"></s72-image>
24
+ <s72-image src="{{film.ImageMap["Background"]}}" alt="" class="meta-detail-bg-img"></s72-image>
25
25
  </div>
26
26
  <div class="container">
27
27
  <div class="meta-detail-main">
28
28
  {{if config("default_image_type") == "portrait"}}
29
29
  <div class="poster poster-portrait">
30
30
  <s72-availability-status data-slug="{{film.Slug}}"></s72-availability-status>
31
- <s72-image src="{{film.Images.Classification}}" alt="" class="classification-image">
32
-
33
- <s72-image src="{{film.Images.Portrait}}" alt="{{film.Title}}" class="poster poster-image poster-image-portrait"></s72-image>
31
+ <s72-image src="{{film.ImageMap["Classification"]}}" alt="" class="classification-image">
32
+ <s72-image src="{{film.ImageMap["Portrait"]}}" alt="{{film.Title}}" class="poster poster-image poster-image-portrait"></s72-image>
34
33
 
35
34
  </div>
36
35
  {{end}}
@@ -48,6 +47,13 @@
48
47
  <s72-play-button data-slug="{{film.Slug}}" data-title="{{film.Title}}"></s72-play-button>
49
48
  <s72-pricing-buttons data-slug="{{film.Slug}}" data-title="{{film.Title}}"></s72-pricing-buttons>
50
49
  <can-be-watched-button data-slug="{{film.Slug}}" data-url="{{ film.CustomFields.GetString("can_be_watched_button_link", "") }}" data-label="{{ film.CustomFields.GetString("can_be_watched_button_text", "can_be_watched_button_text") }}"></can-be-watched-button>
50
+ <div class="meta-detail-extras">
51
+ {{if len(film.Trailers) > 0 }}
52
+ <s72-modal-player src="{{film.Trailers[0].URL}}" class="s72-btn-trailer" data-slug="{{film.Slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
53
+ {{end}}
54
+ <s72-userwishlist-button data-slug="{{film.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
55
+ {{yield socialMediaButtons(path=currentUrlPath, letterboxdID=film.Refs.LetterboxdID)}}
56
+ </div>
51
57
  </div>
52
58
  {{if config("default_image_type") != "portrait"}}
53
59
  <s72-availability-status data-slug="{{film.Slug}}"></s72-availability-status>
@@ -56,67 +62,92 @@
56
62
  <s72-availability-label data-slug="{{film.Slug}}"></s72-availability-label>
57
63
 
58
64
  {{yield awardNominations() film}}
59
-
60
- <div class="meta-detail-synopsis">{{film.Overview | raw}}</div>
61
- <div class="meta-detail-extras">
62
- {{if len(film.Trailers) > 0 }}
63
- <s72-modal-player src="{{film.Trailers[0].URL}}" class="s72-btn-trailer" data-slug="{{film.Slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
65
+ <s72-element-switcher>
66
+ {{if isEnabled("element_switcher_enabled")}}
67
+ <div class="meta-detail-switcher-tagline">
68
+ <p>{{film.Tagline}}</p>
69
+ </div>
64
70
  {{end}}
65
- <s72-userwishlist-button data-slug="{{film.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
66
- {{yield socialMediaButtons(path=currentUrlPath, letterboxdID=film.Refs.LetterboxdID)}}
67
- </div>
68
- <div class="meta-detail-cast">
69
- {{if len(film.Cast) > 0 }}
70
- <h2>{{i18n("meta_detail_cast_title")}}</h2>
71
- {{end}}
72
- <p>
73
- {{range index, member := film.Cast}}
74
- {{ path := "/search.html?q=" + member.Name }}
75
- <a href="{{ routeToPath(path) }}">{{member.Name}}</a>{{if index < len(film.Cast) - 1}}, {{end}}
71
+ <div class="{{ isEnabled("element_switcher_enabled") ? "s72-hide" : "" }}"> {* hide class prevents FOUC *}
72
+ <div class="meta-detail-synopsis">{{film.Overview | raw}}</div>
73
+ <div class="meta-detail-cast">
74
+ {{if len(film.Cast) > 0 }}
75
+ <h2>{{i18n("meta_detail_cast_title")}}</h2>
76
76
  {{end}}
77
- </p>
78
- </div>
79
- <div class="meta-detail-crew d-flex">
80
- {{range index, member := film.Crew}}
81
- <div class="crew-member">
82
- <h2>{{member.Job}}</h2>
83
- {{ path := "/search.html?q=" + member.Name }}
84
- <a href="{{ routeToPath(path) }}">{{member.Name}}</a>
77
+ <p>
78
+ {{range index, member := film.Cast}}
79
+ {{ path := "/search.html?q=" + member.Name }}
80
+ <a href="{{ routeToPath(path) }}">{{member.Name}}</a>{{if index < len(film.Cast) - 1}}, {{end}}
81
+ {{end}}
82
+ </p>
85
83
  </div>
86
- {{end}}
87
- </div>
88
- {{if len(film.Languages) > 0 }}
89
- <div class="meta-detail-language">
90
- <h2>{{i18n("meta_detail_languages", len(film.Languages))}}</h2>
91
- <p>{{ film.Languages }}</p>
92
- </div>
93
- {{end}}
94
- {{if len(film.GetSubtitles()) > 0 }}
95
- <div class="meta-detail-subtitle">
96
- <h2>{{i18n("meta_detail_subtitles")}}</h2>
97
- <p>{{ film.GetSubtitles() }}</p>
98
- </div>
99
- {{end}}
100
- {{if len(film.Countries) > 0 }}
101
- <div class="meta-detail-country">
102
- <h2>{{i18n("meta_detail_countries", len(film.Countries))}}</h2>
103
- <p>{{ film.Countries }}</p>
104
- </div>
105
- {{end}}
106
- {{if len(film.Studio) > 0 }}
107
- <div class="meta-detail-studio">
108
- <h2>{{i18n("meta_detail_studios", len(film.Studio))}}</h2>
109
- {*{ FORMAT STUDIOS }*}
110
- {{ studios := "" }}
111
- {{ range studio := film.Studio }}
112
- {{ studios = studios + studio + ", "}}
113
- {{ end }}
114
- {{ if len(studios) > 0 }}
115
- {{ studios = studios[0:len(studios) - 2] }}
116
- {{ end }}
117
- <p>{{ studios }}</p>
84
+ <div class="meta-detail-crew d-flex">
85
+ {{range index, member := film.Crew}}
86
+ <div class="crew-member">
87
+ <h2>{{member.Job}}</h2>
88
+ {{ path := "/search.html?q=" + member.Name }}
89
+ <a href="{{ routeToPath(path) }}">{{member.Name}}</a>
90
+ </div>
91
+ {{end}}
92
+ </div>
93
+ {{if len(film.Languages) > 0 }}
94
+ <div class="meta-detail-language">
95
+ <h2>{{i18n("meta_detail_languages", len(film.Languages))}}</h2>
96
+ <p>{{ film.Languages }}</p>
97
+ </div>
98
+ {{end}}
99
+ {{allSubtitles := film.GetSubtitles()}}
100
+ {{if len(allSubtitles) > 0 }}
101
+ {{subtitles := ""}}
102
+ {{captions := ""}}
103
+ {{if len(film.SubtitleTracks) == 0}}
104
+ {{subtitles = allSubtitles}}
105
+ {{else}}
106
+ {{range subTrack := film.SubtitleTracks}}
107
+ {{if len(subTrack) >= 3}}
108
+ {{if subTrack[2] == "caption"}}
109
+ {{captions = captions ? captions + ", " + subTrack[1] : subTrack[1]}}
110
+ {{else}}
111
+ {{subtitles = subtitles ? subtitles + ", " + subTrack[1] : subTrack[1]}}
112
+ {{end}}
113
+ {{end}}
114
+ {{end}}
115
+ {{end}}
116
+ {{if subtitles}}
117
+ <div class="meta-detail-subtitle">
118
+ <h2>{{i18n("meta_detail_subtitles")}}</h2>
119
+ <p>{{subtitles}}</p>
120
+ </div>
121
+ {{end}}
122
+ {{if captions}}
123
+ <div class="meta-detail-subtitle">
124
+ <h2>{{i18n("meta_detail_captions")}}</h2>
125
+ <p>{{captions}}</p>
126
+ </div>
127
+ {{end}}
128
+ {{end}}
129
+ {{if len(film.Countries) > 0 }}
130
+ <div class="meta-detail-country">
131
+ <h2>{{i18n("meta_detail_countries", len(film.Countries))}}</h2>
132
+ <p>{{ film.Countries }}</p>
133
+ </div>
134
+ {{end}}
135
+ {{if len(film.Studio) > 0 }}
136
+ <div class="meta-detail-studio">
137
+ <h2>{{i18n("meta_detail_studios", len(film.Studio))}}</h2>
138
+ {*{ FORMAT STUDIOS }*}
139
+ {{ studios := "" }}
140
+ {{ range studio := film.Studio }}
141
+ {{ studios = studios + studio + ", "}}
142
+ {{ end }}
143
+ {{ if len(studios) > 0 }}
144
+ {{ studios = studios[0:len(studios) - 2] }}
145
+ {{ end }}
146
+ <p>{{ studios }}</p>
147
+ </div>
148
+ {{end}}
118
149
  </div>
119
- {{end}}
150
+ </s72-element-switcher>
120
151
  {{if len(film.Bonuses) > 0 && !film.CustomFields.GetBool("hide_bonus_content", false)}}
121
152
  <section class="meta-detail-bonus-content" aria-label="{{i18n("meta_detail_bonus_title")}}">
122
153
  <h2>{{i18n("meta_detail_bonus_title")}}</h2>
@@ -20,7 +20,7 @@
20
20
 
21
21
  {{yield pageHeader(title=page.Title, plan=plan)}}
22
22
 
23
- {{yield pageContent(text=page.Content, plan=plan)}}
23
+ {{yield pageContent(text=page.Content)}}
24
24
 
25
25
  <div class="page-collections">
26
26
  <h2 class="sr-only">{{i18n("wcag_collections_h2")}}</h2>
@@ -1,29 +1,7 @@
1
- {{block pageContent(text="", plan=0)}}
1
+ {{block pageContent(text="")}}
2
2
  {{if len(text) > 0}}
3
3
  <div class="page-content">
4
4
  {{text | raw}}
5
-
6
- {{if plan != 0 }}
7
- <div class="plan-buttons">
8
- {{ if plan.PlanType == "free" }}
9
- {{ if plan.HasExpiryDate() }}
10
- <s72-before datetime="{{ plan.ExpiryDate.UnixMilli() }}">
11
- <s72-user-anon>
12
- <a class="btn btn-block s72-btn-purchase signup-link" href="{{routeToPath("/signup.html")}}">{{ i18n("plan_free_link_text") }}</a>
13
- </s72-user-anon>
14
- </s72-before>
15
- {{ else }}
16
- <s72-user-anon>
17
- <a class="btn btn-block s72-btn-purchase signup-link" href="{{routeToPath("/signup.html")}}">{{ i18n("plan_free_link_text") }}</a>
18
- </s72-user-anon>
19
- {{ end }}
20
- {{ else }}
21
- <s72-pricing-buttons data-slug="{{plan.Slug}}" data-title="{{plan.Name}}" data-ownership-label-prefix={{ i18n("plan_showcase_page_ownership_button_") }} data-hide-price="true" />
22
- {{ end }}
23
- </div>
24
- {{end}}
25
5
  </div>
26
-
27
-
28
6
  {{end}}
29
7
  {{end}}
@@ -1,13 +1,13 @@
1
1
  {{block pageHeader(title="", plan=0)}}
2
2
  {{if len(title) > 0}}
3
- <div class="page-header">
3
+ <div class="page-header pb-0">
4
4
  {{if plan != 0}}
5
5
  <s72-plan-label data-slug="{{plan.Slug}}" data-title="{{plan.Name}}"></s72-plan-label>
6
6
  {{end}}
7
7
  <h1>{{title}}</h1>
8
- {{if plan != 0 && plan.HasExpiryDate() }}
9
- {{ if plan.HasExpiryDate() }}
10
- <p class="alert p-0 border-0 my-1">
8
+ {{if plan != 0}}
9
+ {{if plan.HasExpiryDate()}}
10
+ <p class="alert p-0 border-0 mt-1rem mb-0">
11
11
  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-exclamation-circle mr-p5" viewBox="0 0 16 16"> <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/> <path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/> </svg>
12
12
  <small>
13
13
  <s72-before datetime="{{ plan.ExpiryDate.UnixMilli() }}">
@@ -19,8 +19,27 @@
19
19
  </s72-after>
20
20
  </small>
21
21
  </p>
22
- {{ end }}
22
+ {{end}}
23
+
24
+ <div class="plan-buttons mt-1rem mb-0">
25
+ {{ if plan.PlanType == "free" }}
26
+ {{ if plan.HasExpiryDate() }}
27
+ <s72-before datetime="{{ plan.ExpiryDate.UnixMilli() }}">
28
+ <s72-user-anon>
29
+ <a class="btn btn-block s72-btn-purchase signup-link" href="{{routeToPath("/signup.html")}}">{{ i18n("plan_free_link_text") }}</a>
30
+ </s72-user-anon>
31
+ </s72-before>
32
+ {{ else }}
33
+ <s72-user-anon>
34
+ <a class="btn btn-block s72-btn-purchase signup-link" href="{{routeToPath("/signup.html")}}">{{ i18n("plan_free_link_text") }}</a>
35
+ </s72-user-anon>
36
+ {{ end }}
37
+ {{ else }}
38
+ <s72-pricing-buttons data-slug="{{plan.Slug}}" data-title="{{plan.Name}}" />
39
+ {{ end }}
40
+ </div>
23
41
  {{end}}
42
+
24
43
  </div>
25
44
  {{end}}
26
- {{end}}
45
+ {{end}}
@@ -37,16 +37,16 @@
37
37
  <div class="meta-detail-buttons">
38
38
  <s72-play-button data-slug="{{tvseason.Slug}}" data-title="{{tvseason.Title}}"></s72-play-button>
39
39
  <s72-pricing-buttons data-slug="{{tvseason.Slug}}" data-title="{{tvseason.Title}}"></s72-pricing-buttons>
40
+ <div class="meta-detail-extras">
41
+ {{if len(tvseason.Trailers) > 0 }}
42
+ <s72-modal-player src="{{tvseason.Trailers[0].URL}}" class="s72-btn-trailer" data-slug="{{tvseason.Slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
43
+ {{end}}
44
+ <s72-userwishlist-button data-slug="{{tvseason.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
45
+ {{yield socialMediaButtons(path=currentUrlPath)}}
46
+ </div>
40
47
  </div>
41
48
  <s72-availability-label data-slug="{{tvseason.Slug}}"></s72-availability-label>
42
49
  <div class="meta-detail-synopsis">{{tvseason.Overview | raw}}</div>
43
- <div class="meta-detail-extras">
44
- {{if len(tvseason.Trailers) > 0 }}
45
- <s72-modal-player src="{{tvseason.Trailers[0].URL}}" class="s72-btn-trailer" data-slug="{{tvseason.Slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
46
- {{end}}
47
- <s72-userwishlist-button data-slug="{{tvseason.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
48
- {{yield socialMediaButtons(path=currentUrlPath)}}
49
- </div>
50
50
  <div class="meta-detail-cast">
51
51
  {{if len(tvseason.Cast) > 0 }}
52
52
  <h2>{{i18n("meta_detail_cast_title")}}</h2>