@shift72/core-template 0.6.0 → 1.1.0

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 (83) hide show
  1. package/.github/pull_request_template.md +47 -0
  2. package/.github/workflows/node.js.yml +1 -1
  3. package/CHANGELOG.md +46 -1
  4. package/kibble.json +2 -2
  5. package/package.json +1 -1
  6. package/site/ar_LB.all.json +59 -25
  7. package/site/ca_ES.all.json +51 -25
  8. package/site/da_DK.all.json +51 -25
  9. package/site/de_DE.all.json +51 -25
  10. package/site/el_EL.all.json +51 -25
  11. package/site/en_AU.all.json +35 -9
  12. package/site/es_ES.all.json +51 -25
  13. package/site/es_MX.all.json +48 -22
  14. package/site/et_ET.all.json +51 -25
  15. package/site/fi_FI.all.json +52 -26
  16. package/site/fr_FR.all.json +51 -25
  17. package/site/hr_HR.all.json +53 -25
  18. package/site/hu_HU.all.json +51 -25
  19. package/site/it_IT.all.json +51 -25
  20. package/site/ja_JP.all.json +49 -25
  21. package/site/lt_LT.all.json +55 -25
  22. package/site/manifest.json.jet +2 -2
  23. package/site/nl_BE.all.json +50 -24
  24. package/site/no_NO.all.json +51 -25
  25. package/site/pl_PL.all.json +55 -25
  26. package/site/pt_BR.all.json +51 -25
  27. package/site/pt_PT.all.json +51 -25
  28. package/site/ru_RU.all.json +61 -31
  29. package/site/sr_SR.all.json +53 -25
  30. package/site/static/fonts/fa-s72.woff +0 -0
  31. package/site/static/js/main.js +1 -1
  32. package/site/static/scripts/main.js.map +1 -1
  33. package/site/styles/_awards.scss +1 -1
  34. package/site/styles/_buttons.scss +32 -27
  35. package/site/styles/_can-be-watched-button.scss +1 -21
  36. package/site/styles/_carousel.scss +141 -303
  37. package/site/styles/_collections.scss +6 -11
  38. package/site/styles/_cta-buttons.scss +261 -0
  39. package/site/styles/_forms.scss +1 -2
  40. package/site/styles/_icons.scss +16 -10
  41. package/site/styles/_legacy.scss +1 -43
  42. package/site/styles/_meta-detail.scss +39 -200
  43. package/site/styles/_meta-item-tagline.scss +33 -0
  44. package/site/styles/_meta-item.scss +0 -4
  45. package/site/styles/_meta-sub-item.scss +116 -0
  46. package/site/styles/_mixins.scss +47 -0
  47. package/site/styles/_nav.scss +1 -1
  48. package/site/styles/_pages.scss +4 -13
  49. package/site/styles/_plans.scss +14 -0
  50. package/site/styles/_shift72.scss +4 -0
  51. package/site/styles/_variables.scss +9 -6
  52. package/site/styles/main.scss +2 -1
  53. package/site/templates/application/footer/brand.jet +4 -4
  54. package/site/templates/application/footer/copyright-statement.jet +1 -1
  55. package/site/templates/application/nav/nav.jet +2 -2
  56. package/site/templates/bundle/item.jet +2 -4
  57. package/site/templates/collection/carousel/carousel.jet +27 -0
  58. package/site/templates/collection/carousel/item/image.jet +5 -0
  59. package/site/templates/collection/carousel/item/synopsis.jet +5 -0
  60. package/site/templates/collection/carousel/item/tagline.jet +7 -0
  61. package/site/templates/collection/carousel/item/title.jet +3 -0
  62. package/site/templates/collection/carousel/item.jet +41 -0
  63. package/site/templates/collection/carousel/pagination.jet +9 -0
  64. package/site/templates/collection/page_collection.jet +2 -2
  65. package/site/templates/common/cta_buttons.jet +70 -0
  66. package/site/templates/common/social-media-buttons.jet +2 -2
  67. package/site/templates/film/item.jet +6 -16
  68. package/site/templates/items/meta_item.jet +20 -6
  69. package/site/templates/items/sub_item.jet +22 -0
  70. package/site/templates/items/tagline.jet +2 -2
  71. package/site/templates/page/homepage.jet +2 -3
  72. package/site/templates/tv/detail.jet +10 -18
  73. package/site/tr_TR.all.json +51 -25
  74. package/site/uk_UA.all.json +55 -25
  75. package/site/zh_TW.all.json +49 -25
  76. package/site/styles/_homepage.scss +0 -3
  77. package/site/templates/bundle/buttons.jet +0 -6
  78. package/site/templates/bundle/extras.jet +0 -13
  79. package/site/templates/collection/carousel.jet +0 -27
  80. package/site/templates/collection/carousel_item.jet +0 -68
  81. package/site/templates/items/bonus_item.jet +0 -23
  82. package/site/templates/items/featured_item.jet +0 -61
  83. package/site/templates/tv/episode.jet +0 -21
@@ -1,7 +1,4 @@
1
1
  {
2
- "site_owner": {
3
- "other": "ABC Cinemas"
4
- },
5
2
  "settings_title": {
6
3
  "other": "Settings"
7
4
  },
@@ -72,9 +69,6 @@
72
69
  "404_page_content": {
73
70
  "other": "<p>На жаль, сторінка, яку ви шукаєте, не існує.</p><p>Вона могла бути переміщена або видалена, чи, можливо, ви щось неправильно написали.</p><p>Спробуйте повернутися на головну сторінку, щоб знайти те, що ви шукаєте.</p><p><a href=\"/\">Назад на головну сторінку</a></p>"
74
71
  },
75
- "nav_homepage": {
76
- "other": "ABC Cinemas"
77
- },
78
72
  "nav_signin": {
79
73
  "other": "Увійти"
80
74
  },
@@ -154,7 +148,7 @@
154
148
  "other": "Поділитися посиланням"
155
149
  },
156
150
  "social_media_buttons_copied_link": {
157
- "other": "Посилання скопійовано в буфер обміну!"
151
+ "other": "Посилання скопійовано"
158
152
  },
159
153
  "social_media_buttons_copy_link": {
160
154
  "other": "Копіювати посилання"
@@ -725,7 +719,7 @@
725
719
  "other": "Подивитися вашу бібліотеку"
726
720
  },
727
721
  "shopping_complete_plan": {
728
- "other": "Ваша покупка {{ .Title }} була успішною."
722
+ "other": "Ваша покупка {{.Title}} була успішною."
729
723
  },
730
724
  "shopping_complete_rental_watch_window_start": {
731
725
  "one": "Тепер ви можете почати дивитися фільм протягом наступного дня.",
@@ -1125,33 +1119,42 @@
1125
1119
  "other": "Ціна"
1126
1120
  },
1127
1121
  "shopping_price_plan_note": {
1128
- "zero": "Стягується через кожний {{ .Interval }} .",
1129
- "one": "Стягується кожні {{ .Interval }} після закінчення 24-годинної безкоштовної пробної версії.",
1130
- "other": "Заряджені кожен {{ .Interval }} після вашого {{ .Count }} дня закінчується безкоштовно суд."
1122
+ "one": "Стягується кожні {{.Interval}} після закінчення 24-годинної безкоштовної пробної версії.",
1123
+ "few": "Заряджені кожен {{.Interval}} після вашого {{.Count}} дня закінчується безкоштовно суд.",
1124
+ "many": "Заряджені кожен {{.Interval}} після вашого {{.Count}} дня закінчується безкоштовно суд.",
1125
+ "other": "Заряджені кожен {{.Interval}} після вашого {{.Count}} дня закінчується безкоштовно суд."
1126
+ },
1127
+ "shopping_price_plan_note_without_trial": {
1128
+ "other": "Стягується через кожний {{.Interval}} ."
1131
1129
  },
1132
1130
  "shopping_price_plan_note_interval": {
1133
- "one": "{{ .Interval }}",
1134
- "other": "{{ .Count }} {{ .Interval }}"
1131
+ "one": "{{.Interval}}",
1132
+ "few": "{{.Count}} {{.Interval}}",
1133
+ "many": "{{.Count}} {{.Interval}}",
1134
+ "other": "{{.Count}} {{.Interval}}"
1135
1135
  },
1136
- "shopping_enter_card_prompt_plan": {
1136
+ "shopping_enter_card_prompt_subscription": {
1137
1137
  "other": "Введіть дані своєї кредитної картки нижче, щоб розпочати підписку."
1138
1138
  },
1139
+ "shopping_enter_card_prompt_plan": {
1140
+ "other": "Введіть дані своєї кредитної картки нижче, щоб розпочати свій план."
1141
+ },
1139
1142
  "shopping_action_plan": {
1140
1143
  "other": "Завершено"
1141
1144
  },
1142
1145
  "shopping_complete_subscription": {
1143
- "other": "Ваша покупка підписки була успішною. Тепер ви підписані на {{ .Title }} ."
1146
+ "other": "Ваша покупка підписки була успішною. Тепер ви підписані на {{.Title}}."
1144
1147
  },
1145
1148
  "shopping_complete_subscription_browse": {
1146
1149
  "other": "Не соромтеся <a href=\"/\">переглядати</a> сайт або <a href=\"/search.html\">шукати</a> щось конкретне."
1147
1150
  },
1148
1151
  "shopping_info_plan_offer": {
1149
- "one": "Автоматично поновлюється через кожний {{ .Interval }}",
1150
- "other": "Автоматично оновлює кожні {{ .Count }} {{ .Interval }} сек"
1152
+ "one": "Автоматично поновлюється через кожний {{.Interval}}",
1153
+ "other": "Автоматично оновлює кожні {{.Count}} {{.Interval}} сек"
1151
1154
  },
1152
1155
  "shopping_info_trial_period_offer": {
1153
1156
  "one": "Спробуйте безкоштовну 24-годинну пробну версію зараз!",
1154
- "other": "Спробуйте безкоштовну пробну версію {{ .Count }}"
1157
+ "other": "Спробуйте безкоштовну пробну версію {{.Count}}"
1155
1158
  },
1156
1159
  "plans_page_header": {
1157
1160
  "other": "Доступні плани"
@@ -1169,7 +1172,7 @@
1169
1172
  "other": "Детальніше"
1170
1173
  },
1171
1174
  "plan_page_header_text": {
1172
- "other": "Насолоджуйтесь {{ .Name }}"
1175
+ "other": "Насолоджуйтесь {{.Name}}"
1173
1176
  },
1174
1177
  "page_plan_explore_intro": {
1175
1178
  "other": "АБО"
@@ -1231,6 +1234,9 @@
1231
1234
  "wcag_aria_label_carousel": {
1232
1235
  "other": "Карусель"
1233
1236
  },
1237
+ "wcag_aria_label_carousel_pagination": {
1238
+ "other": "Пагінація"
1239
+ },
1234
1240
  "wcag_aria_label_page_collection": {
1235
1241
  "other": "Колекція сторінок"
1236
1242
  },
@@ -1316,21 +1322,45 @@
1316
1322
  "other": "Мої підписки"
1317
1323
  },
1318
1324
  "usersubscriptions_subscription_expiry_trialing": {
1319
- "other": "Перший платіж {{ .Expiry }}"
1325
+ "other": "Перший платіж {{.Expiry}}"
1320
1326
  },
1321
1327
  "usersubscriptions_subscription_expiry_active": {
1322
- "other": "Наступний платіж {{ .Expiry }}"
1328
+ "other": "Наступний платіж {{.Expiry}}"
1323
1329
  },
1324
1330
  "usersubscriptions_subscription_expiry_past_due": {
1325
- "other": "{{ .Expiry }}"
1331
+ "other": "{{.Expiry}}"
1326
1332
  },
1327
1333
  "usersubscriptions_subscription_expiry_cancelled": {
1328
- "other": "Закінчується {{ .Expiry }}"
1334
+ "other": "Закінчується {{.Expiry}}"
1329
1335
  },
1330
1336
  "usersubscriptions_subscription_expiry_expired": {
1331
- "other": "Завершено {{ .Expiry }} закінчився"
1337
+ "other": "Завершено {{.Expiry}} закінчився"
1332
1338
  },
1333
1339
  "sponsor_image_alt": {
1334
1340
  "other": "логотип спонсора"
1341
+ },
1342
+ "subscribe_to_watch": {
1343
+ "other": "Підпишіться на перегляд"
1344
+ },
1345
+ "bundle_items_generic": {
1346
+ "other": "{{.Count}} елементи"
1347
+ },
1348
+ "shopping_card_update_reason_expired": {
1349
+ "other": "Оновіть свою кредитну картку. Підтримувані картки Visa, Mastercard та American Express."
1350
+ },
1351
+ "shopping_discount_applied_promo": {
1352
+ "other": "Код успішно застосовано."
1353
+ },
1354
+ "promo_only_purchases_must_be_100_percent_discounted": {
1355
+ "other": "Введіть дійсний промо-код."
1356
+ },
1357
+ "shopping_complete_promo_only": {
1358
+ "other": "Успіху! Тепер ви можете дивитися {{.Title}}."
1359
+ },
1360
+ "shopping_action_redeem_promo_code": {
1361
+ "other": "Викупити"
1362
+ },
1363
+ "pricing_ownership_promo": {
1364
+ "other": "Викупити"
1335
1365
  }
1336
- }
1366
+ }
@@ -1,7 +1,4 @@
1
1
  {
2
- "site_owner": {
3
- "other": "ABC Cinemas"
4
- },
5
2
  "settings_title": {
6
3
  "other": "設置"
7
4
  },
@@ -70,9 +67,6 @@
70
67
  "404_page_content": {
71
68
  "other": "<p>很抱歉,此頁面不存在。</p><p>頁面可能已被移除,或輸入的資訊有誤。</p><p>請回到首頁重新搜尋。</p><p><a href=\"{{.URL}}\">回到首頁</a></p>"
72
69
  },
73
- "nav_homepage": {
74
- "other": "ABC Cinemas"
75
- },
76
70
  "nav_signin": {
77
71
  "other": "登入"
78
72
  },
@@ -155,7 +149,7 @@
155
149
  "other": "链接分享"
156
150
  },
157
151
  "social_media_buttons_copied_link": {
158
- "other": "链接已复制到剪贴板!"
152
+ "other": "鏈接已復制"
159
153
  },
160
154
  "social_media_buttons_copy_link": {
161
155
  "other": "复制链接"
@@ -714,7 +708,7 @@
714
708
  "other": "瀏覽已付費影片"
715
709
  },
716
710
  "shopping_complete_plan": {
717
- "other": "您已成功{{ .Title }}"
711
+ "other": "您已成功{{.Title}}"
718
712
  },
719
713
  "shopping_complete_rental_watch_window_start": {
720
714
  "one": "可於 1 天內開始觀看。",
@@ -1135,6 +1129,9 @@
1135
1129
  "wcag_aria_label_carousel": {
1136
1130
  "other": "輪播"
1137
1131
  },
1132
+ "wcag_aria_label_carousel_pagination": {
1133
+ "other": "分页"
1134
+ },
1138
1135
  "wcag_aria_label_page_collection": {
1139
1136
  "other": "收藏頁面"
1140
1137
  },
@@ -1169,33 +1166,36 @@
1169
1166
  "other": "價錢"
1170
1167
  },
1171
1168
  "shopping_price_plan_note": {
1172
- "zero": "每隔{{ .Interval }}充電。",
1173
- "one": "24 小時免費試用期結束後, {{ .Interval }}收費一次。",
1174
- "other": "{{ .Count }}天免費試用期結束後, {{ .Interval }}收費一次。"
1169
+ "other": "{{.Count}}天免費試用期結束後, {{.Interval}}收費一次。"
1170
+ },
1171
+ "shopping_price_plan_note_without_trial": {
1172
+ "other": "每隔{{.Interval}}充電。"
1175
1173
  },
1176
1174
  "shopping_price_plan_note_interval": {
1177
- "one": "{{ .Interval }}",
1178
- "other": "{{ .Count }} {{ .Interval }}"
1175
+ "other": "{{.Count}} {{.Interval}}"
1179
1176
  },
1180
- "shopping_enter_card_prompt_plan": {
1177
+ "shopping_enter_card_prompt_subscription": {
1181
1178
  "other": "在下面輸入您的信用卡詳細信息以開始訂閱。"
1182
1179
  },
1180
+ "shopping_enter_card_prompt_plan": {
1181
+ "other": "在下面输入您的信用卡详细信息以开始您的计划。"
1182
+ },
1183
1183
  "shopping_action_plan": {
1184
1184
  "other": "完全的"
1185
1185
  },
1186
1186
  "shopping_complete_subscription": {
1187
- "other": "您的訂閱購買成功。您現在訂閱了{{ .Title }} 。"
1187
+ "other": "您的訂閱購買成功。您現在訂閱了{{.Title}} 。"
1188
1188
  },
1189
1189
  "shopping_complete_subscription_browse": {
1190
1190
  "other": "隨意<a href=\"/\">瀏覽</a>網站,或<a href=\"/search.html\">搜索</a>特定內容。"
1191
1191
  },
1192
1192
  "shopping_info_plan_offer": {
1193
- "one": "{{ .Interval }}自動更新",
1194
- "other": "自動更新每個{{ .Count }} {{ .Interval }}"
1193
+ "one": "{{.Interval}}自動更新",
1194
+ "other": "自動更新每個{{.Count}} {{.Interval}}"
1195
1195
  },
1196
1196
  "shopping_info_trial_period_offer": {
1197
1197
  "one": "立即試用您的 24 小時免費試用版!",
1198
- "other": "免費{{ .Count }}天!"
1198
+ "other": "免費{{.Count}}天!"
1199
1199
  },
1200
1200
  "plans_page_header": {
1201
1201
  "other": "可用計劃"
@@ -1213,7 +1213,7 @@
1213
1213
  "other": "閱讀更多"
1214
1214
  },
1215
1215
  "plan_page_header_text": {
1216
- "other": "享受{{ .Name }}"
1216
+ "other": "享受{{.Name}}"
1217
1217
  },
1218
1218
  "page_plan_explore_intro": {
1219
1219
  "other": "或者"
@@ -1288,21 +1288,45 @@
1288
1288
  "other": "我的订阅"
1289
1289
  },
1290
1290
  "usersubscriptions_subscription_expiry_trialing": {
1291
- "other": "第一次付款{{ .Expiry }}"
1291
+ "other": "第一次付款{{.Expiry}}"
1292
1292
  },
1293
1293
  "usersubscriptions_subscription_expiry_active": {
1294
- "other": "下次付款{{ .Expiry }}"
1294
+ "other": "下次付款{{.Expiry}}"
1295
1295
  },
1296
1296
  "usersubscriptions_subscription_expiry_past_due": {
1297
- "other": "到期付款{{ .Expiry }}"
1297
+ "other": "到期付款{{.Expiry}}"
1298
1298
  },
1299
1299
  "usersubscriptions_subscription_expiry_cancelled": {
1300
- "other": "結束{{ .Expiry }}"
1300
+ "other": "結束{{.Expiry}}"
1301
1301
  },
1302
1302
  "usersubscriptions_subscription_expiry_expired": {
1303
- "other": "結束{{ .Expiry }}"
1303
+ "other": "結束{{.Expiry}}"
1304
1304
  },
1305
1305
  "sponsor_image_alt": {
1306
1306
  "other": "赞助商标志"
1307
+ },
1308
+ "subscribe_to_watch": {
1309
+ "other": "订阅观看"
1310
+ },
1311
+ "bundle_items_generic": {
1312
+ "other": "{{.Count}} 项目"
1313
+ },
1314
+ "shopping_card_update_reason_expired": {
1315
+ "other": "更新您的信用卡。支持的卡是 Visa、Mastercard 和 American Express。"
1316
+ },
1317
+ "shopping_discount_applied_promo": {
1318
+ "other": "代碼成功應用。"
1319
+ },
1320
+ "promo_only_purchases_must_be_100_percent_discounted": {
1321
+ "other": "請輸入有效的促銷代碼。"
1322
+ },
1323
+ "shopping_complete_promo_only": {
1324
+ "other": "成功!您現在可以觀看{{.Title}}。"
1325
+ },
1326
+ "shopping_action_redeem_promo_code": {
1327
+ "other": "贖回"
1328
+ },
1329
+ "pricing_ownership_promo": {
1330
+ "other": "贖回"
1307
1331
  }
1308
- }
1332
+ }
@@ -1,3 +0,0 @@
1
- .other-sliders {
2
- padding-top: 20px;
3
- }
@@ -1,6 +0,0 @@
1
- {{block bundleButtons(class, slug, title, promoURL)}}
2
- <div class="{{class}}">
3
- <s72-pricing-buttons data-slug="{{slug}}" data-title="{{title}}"></s72-pricing-buttons>
4
- {{yield bundleExtras(class="meta-detail-extras", slug=slug, promoURL=promoURL)}}
5
- </div>
6
- {{end}}
@@ -1,13 +0,0 @@
1
- {{import "../common/social-media-buttons.jet"}}
2
-
3
- {{block bundleExtras(class, promoURL, slug)}}
4
- <div class="{{class}}">
5
- {{if len(promoURL) > 0}}
6
- <s72-modal-player src="{{promoURL}}" class="s72-btn-trailer" data-slug="{{slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
7
- {{end}}
8
-
9
- <s72-userwishlist-button data-slug="{{slug}}" class="btn-wishlist"></s72-userwishlist-button>
10
-
11
- {{yield socialMediaButtons(path=currentUrlPath)}}
12
- </div>
13
- {{end}}
@@ -1,27 +0,0 @@
1
- {{import "./carousel_item.jet"}}
2
-
3
- {{block pageCollectionCarousel()}}
4
-
5
- {{if len(.Items) > 0}}
6
- <s72-carousel>
7
- <section class="page-collection page-collection-carousel" aria-label="{{i18n("wcag_aria_label_carousel")}}">
8
- <h2 class="sr-only">{{i18n("wcag_carousel_h2")}}</h2>
9
- <div class="s72-carousel-slides">
10
- {{range item := .Items}}
11
- {{yield carouselItem(item=item)}}
12
- {{end}}
13
- </div>
14
-
15
- <div class="s72-carousel-pagination">
16
- {{range index, item := .Items}}
17
- <div class="s72-carousel-page" data-page-index="{{index}}" data-slug="{{item.Slug}}"><span class="fa fa-circle"></span></div>
18
- {{end}}
19
- </div>
20
-
21
- <!-- Controls -->
22
- <a class="left s72-carousel-control"><span class="fa fa-angle-left"></span></a>
23
- <a class="right s72-carousel-control"><span class="fa fa-angle-right"></span></a>
24
- </section>
25
- </s72-carousel>
26
- {{end}}
27
- {{end}}
@@ -1,68 +0,0 @@
1
- {{import "../items/tagline.jet"}}
2
- {{import "../common/awards/carousel.jet"}}
3
- {{import "../common/sponsor-image.jet"}}
4
-
5
- {{block carouselItem(item)}}
6
- {{ trailer := "" }}
7
-
8
- {{ if isset(item.InnerItem["Trailers"]) && len(item.InnerItem.Trailers) > 0}}
9
- {{ trailer = item.InnerItem.Trailers[0].URL }}
10
- {{ else if(item.InnerItem["PromoURL"] && len(item.InnerItem.PromoURL) > 0) }}
11
- {{ trailer = item.InnerItem.PromoURL }}
12
- {{ end }}
13
-
14
- <div class="s72-carousel-item" data-slug="{{item.Slug}}">
15
- <a href="{{routeToSlug(item.Slug)}}" class="carousel-item-link" aria-label="{{item.Title}}">
16
-
17
- {{if isset(item.Images["Carousel"])}}
18
- <s72-image src="{{item.Images.Carousel}}" alt="{{item.Title}}" class="carousel-item-image"></s72-image>
19
- {{end}}
20
-
21
- {{if !isset(item["PageType"]) || item.PageType != "external"}}
22
- <div class="carousel-item-caption">
23
- {{if item.ItemType == "film"}}
24
- {{yield sponsor(hideLink="true") item.InnerItem}}
25
- {{end}}
26
- <div class="meta-item-content">
27
- <h3>{{item.GetTitle(i18n)}}
28
- {{if isset(item.InnerItem["ReleaseDate"]) && item.InnerItem.ReleaseDate.Year() > 1}}
29
- <small>({{item.InnerItem.ReleaseDate.Year()}})</small>
30
- {{end}}
31
- </h3>
32
- <div class="meta-item-tagline-and-classification">
33
- {{yield metaItemTagline() item.InnerItem}}
34
- </div>
35
- <s72-availability-label data-slug="{{item.Slug}}"></s72-availability-label>
36
- <div class="meta-item-buttons">
37
- <s72-play-button data-slug="{{item.Slug}}"></s72-play-button>
38
- <s72-pricing-buttons data-slug="{{item.Slug}}"></s72-pricing-buttons>
39
- {{ if item.ItemType == "film" }}
40
- <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>
41
- {{ end }}
42
- <div class="meta-item-extras">
43
- {{if len(trailer) > 0 }}
44
- <div class="s72-btn-trailer btn-trailer" data-url="{{routeToSlug(item.Slug)}}?autoplay">
45
- <button class="s72-btn s72-btn-play btn-sm s72-btn-trailer">
46
- <span class="s72-btn-play-icon"><s72-play-icon></s72-play-icon></span>
47
- <span class="verb s72-btn-play-label">{{i18n("play_trailer")}}</span>
48
- </button>
49
- </div>
50
- {{end}}
51
- <s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
52
- <s72-share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></s72-share-buttons>
53
- </div>
54
- </div>
55
-
56
- <div class="meta-item-synopsis">
57
- <p>{{item.InnerItem.Tagline | stripHTML}}</p>
58
- </div>
59
- {{yield awardsCarousel() item.InnerItem}}
60
- </div>
61
- </div>
62
- {{end}}
63
- <div class="left-gradient"></div>
64
- <div class="right-gradient"></div>
65
- <div class="bottom-gradient"></div>
66
- </a>
67
- </div>
68
- {{end}}
@@ -1,23 +0,0 @@
1
- {{ block bonusItem(item) }}
2
- <div class="bonus">
3
- <div class="poster">
4
- <s72-availability-status slug="{{item.Slug}}"></s72-availability-status>
5
- <s72-image src="{{item.Images.Landscape}}" alt="" class="poster-image poster-image-landscape"></s72-image>
6
- <s72-play-button data-slug="{{item.Slug}}" title="{{item.Title}}"></s72-play-button>
7
- </div>
8
- <div class="caption">
9
- <div class="bonus-item-title">
10
- <h3>{{item.Title}}</h3>
11
- {{if item.Runtime > 0 }}
12
- <span class="runtime">
13
- {{if item.Runtime.Hours() > 0}}
14
- {{item.Runtime.Hours()}}{{i18n("runtime_hours")}}
15
- {{end}}
16
- {{item.Runtime.Minutes()}}{{i18n("runtime_minutes")}}
17
- </span>
18
- {{end}}
19
- </div>
20
- <div class="synopsis">{{item.Overview | raw}}</div>
21
- </div>
22
- </div>
23
- {{ end }}
@@ -1,61 +0,0 @@
1
- {{import "../items/tagline.jet"}}
2
-
3
- {{block featuredItem(item, image="Landscape")}}
4
- <div class="meta-item featured-meta-item meta-item-{{item.ItemType|lower}}">
5
- <a href="{{routeToSlug(item.Slug)}}" aria-label="{{item.Title}}">
6
- {{if isset(item.Images[image])}}
7
- <s72-image src="{{item.Images[image]}}" alt="{{item.Title}}" class="meta-item-img featured-meta-item-img"></s72-image>
8
- {{end}}
9
-
10
- <!-- <s72-availability-status data-slug="{{item.Slug}}"></s72-availability-status> -->
11
- <s72-availability-label data-slug="{{item.Slug}}"></s72-availability-label>
12
-
13
- {{if !isset(item["PageType"]) || item.PageType != "external"}}
14
-
15
- <s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist" data-layout="quick-button"></s72-userwishlist-button>
16
-
17
- <div class="meta-item-body featured-meta-item-body">
18
- <div class="meta-item-title">{{item.Title}}</div>
19
-
20
- <div class="meta-item-text">
21
- {{yield metaItemTagline() item.InnerItem}}
22
- </div>
23
-
24
- {{if isset(item.InnerItem["Tagline"])}}
25
- <div class="meta-item-synopsis hidden-md">
26
- <p>{{item.InnerItem.Tagline | stripHTML}}</p>
27
- </div>
28
- {{end}}
29
-
30
- <div class="meta-item-buttons">
31
- <s72-play-button data-slug="{{item.Slug}}"></s72-play-button>
32
- <s72-pricing-buttons data-slug="{{item.Slug}}"></s72-pricing-buttons>
33
- {{if isset(item.InnerItem["Trailers"]) && len(item.InnerItem.Trailers) > 0}}
34
- <s72-modal-player src="{{item.InnerItem.Trailers[0].URL}}" class="btn-sm" data-slug="{{item.Slug}}" data-label="{{i18n("play_trailer")}}"></s72-modal-player>
35
- {{end}}
36
- </div>
37
-
38
-
39
- <!--div class="content">
40
- <h3>{{item.Title}} {{if isset(item["season"])}}<span class="small">{{item.season}}</span>{{end}}</h3>
41
-
42
- {*<p class="tagline">{{item.ReleaseDate}}</p>*}
43
-
44
- {*<p class="synopsis visible-sm">{{item.Tagline}}</p>*}
45
-
46
- <div class="buttons">
47
- <watch-button data-slug="item.Slug"></watch-button>
48
- <pricing-buttons data-slug="item.Slug"></pricing-buttons>
49
- </div>
50
-
51
- {*<p class="synopsis visible-md visible-lg">{{item.Tagline}}</p>*}
52
-
53
- <share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></share-buttons>
54
- <trailer-button item="::item.meta" button-class="btn-sm" class="hidden-sm hidden-xs"></trailer-button>
55
-
56
- </div -->
57
- </div>
58
- {{end}}
59
- </a>
60
- </div>
61
- {{end}}
@@ -1,21 +0,0 @@
1
- {{block episodeCollectionItem(item)}}
2
- <div class="episode">
3
- <div class="poster">
4
- <s72-availability-status data-slug="{{item.Slug}}"></s72-availability-status>
5
- <s72-image src="{{item.Images.Landscape}}" alt="{{item.Title}}" class="poster-image poster-image-landscape" border="0"></s72-image>
6
- <s72-play-button data-slug="{{item.Slug}}" data-title="{{item.Title}}" data-label="false"></s72-play-button>
7
- </div>
8
- <div class="caption">
9
- {{if item.Runtime > 0 }}
10
- <span class="runtime pull-right">
11
- {{if item.Runtime.Hours() > 0}}
12
- {{item.Runtime.Hours()}}{{i18n("runtime_hours")}}
13
- {{end}}
14
- {{item.Runtime.Minutes()}}{{i18n("runtime_minutes")}}
15
- </span>
16
- {{end}}
17
- <h3>{{item.Title}}</h3>
18
- <div class="synopsis">{{item.Overview | raw}}</div>
19
- </div>
20
- </div>
21
- {{end}}