@shift72/core-template 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/shift72/core-template/compare/0.4.1...HEAD)
3
+ ## [Unreleased](https://github.com/shift72/core-template/compare/0.4.2...HEAD)
4
+
5
+ ## [0.4.2](https://github.com/shift72/core-template/compare/0.4.1...0.4.2)
4
6
 
5
7
  ### Added
8
+ - Lang files updated with entries for purchasing one-off passes
9
+ - Sponsor banner that can be enabled/disabled in Uber Admin
10
+
11
+ ### Changed
12
+ - Typo in English lang file
6
13
 
7
14
  ## [0.4.1](https://github.com/shift72/core-template/compare/0.4.0...0.4.1)
8
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shift72/core-template",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Shift72 core template",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -312,7 +312,9 @@
312
312
  "shopping_complete_purchase_coming_soon": { "other": "يمكن المشاهدة ابتداء من {{.Date}}." },
313
313
  "shopping_complete_receipt": { "other": "تم إرسال الإيصال عبر البريد الإلكتروني." },
314
314
  "shopping_complete_library_link": { "other": "عرض المكتبة" },
315
-
315
+ "shopping_complete_plan": {
316
+ "other": "لقد نجحت عملية شرائك لـ {{ .Title }}"
317
+ },
316
318
  "shopping_complete_rental_watch_window_start": {
317
319
  "one": "يمكن الآن بدء المشاهدة حتى اليوم التالي.",
318
320
  "other": "يمكن الآن بدء المشاهدة في غضون الأيام الـ {{.Count}} القادمة."
@@ -693,6 +693,9 @@
693
693
  "shopping_complete_purchase_coming_soon": {
694
694
  "other": "Podreu veure-ho des de {{.Date}}."
695
695
  },
696
+ "shopping_complete_plan": {
697
+ "other": "La teva compra de {{ .Title }} estat correcta."
698
+ },
696
699
  "shopping_complete_receipt": {
697
700
  "other": "S'ha enviat un rebut per correu electrònic."
698
701
  },
@@ -676,6 +676,9 @@
676
676
  "shopping_complete_receipt": {
677
677
  "other": "En kvittering er blevet mailet til dig."
678
678
  },
679
+ "shopping_complete_plan": {
680
+ "other": "Dit køb af {{ .Title }} blev gennemført."
681
+ },
679
682
  "shopping_complete_library_link": {
680
683
  "other": "Se dit bibliotek"
681
684
  },
@@ -287,6 +287,9 @@
287
287
  "shopping_complete_purchase_coming_soon": { "other": "Ab dem {{.Date}} können Sie den Film ansehen." },
288
288
  "shopping_complete_receipt": { "other": "Die Rechnung wurde Ihnen per Email zugeschickt." },
289
289
  "shopping_complete_library_link": { "other": "Sehen Sie Ihre Bibliothek" },
290
+ "shopping_complete_plan": {
291
+ "other": "Ihr Kauf von {{ .Title }} war erfolgreich."
292
+ },
290
293
 
291
294
  "shopping_complete_rental_watch_window_start": {
292
295
  "one": "Ab jetzt können Sie den geliehenen Film bis zum nächsten Tag ansehen.",
@@ -294,7 +294,9 @@
294
294
  "shopping_complete_purchase_coming_soon": { "other": "Saad hakata filmi vaatama alates {{.Date}}." },
295
295
  "shopping_complete_receipt": { "other": "Makse kinnitus saadeti sinu e-posti aadressile." },
296
296
  "shopping_complete_library_link": { "other": "Saad nüüd kogumikus olevaid filme vaatama hakata." },
297
-
297
+ "shopping_complete_plan": {
298
+ "other": "Teie ost {{ .Title }} oli edukas."
299
+ },
298
300
  "shopping_complete_rental_watch_window_start": {
299
301
  "one": "Saad filmi vaatamist alustada {{.Count}} päeva jooksul.",
300
302
  "other": "Alusta filmi vaatamisega {{.Count}} päeva jooksul."
@@ -291,7 +291,9 @@
291
291
  "shopping_complete_purchase_coming_soon": { "other": "Μπορείτε να το παρακολουθήσετε από {{.Date}}." },
292
292
  "shopping_complete_receipt": { "other": "Η απόδειξή σας έχει σταλεί με e-mail." },
293
293
  "shopping_complete_library_link": { "other": "Δείτε την ταινιοθήκη σας" },
294
-
294
+ "shopping_complete_plan": {
295
+ "other": "Η αγορά του {{ .Title }} ήταν επιτυχής."
296
+ },
295
297
  "shopping_complete_rental_watch_window_start": {
296
298
  "one": "Μπορείτε τώρα να ξεκινήσετε τη θέαση μέσα στις επόμενες {{.Count}} μέρες.",
297
299
  "other": "Μπορείτε τώρα να ξεκινήσετε τη θέαση μέσα στις επόμενες {{.Count}} μέρες."
@@ -430,7 +430,7 @@
430
430
  "shopping_card_use_other": { "other": "Use a new card" },
431
431
  "shopping_card_use_new_card": { "other": "Change card" },
432
432
  "shopping_card_update_reason_none": { "other": "shopping_card_update_reason_none" },
433
- "shopping_card_new_subscription": { "other": "This card will saved and be charged regularly" },
433
+ "shopping_card_new_subscription": { "other": "This card will be saved and charged regularly" },
434
434
  "shopping_card_change": { "other": "Credit card not correct? <a href=\"{{.SubscriptionsURL}}\">Click here to update your card.</a>" },
435
435
 
436
436
  "shopping_info_ownership_plan": { "other": "shopping_info_ownership_plan" },
@@ -454,6 +454,8 @@
454
454
  "shopping_complete_subscription": { "other": "Your subscription purchase was successful. You are now subscribed to {{.Title}}." },
455
455
  "shopping_complete_subscription_browse": { "other": "Feel free to <a href=\"/\">browse around</a> the site, or <a href=\"/search.html\">search</a> for something specific." },
456
456
 
457
+ "shopping_complete_plan": { "other": "Your purchase of {{.Title}} was successful." },
458
+
457
459
  "shopping_info_rental_period_coming_soon": { "other": "from the date and time of release." },
458
460
  "shopping_info_plan_offer": {
459
461
  "one": "Automatically renews every {{.Interval}}",
@@ -291,7 +291,10 @@
291
291
  "shopping_complete_purchase_coming_soon": { "other": "Estará disponible para verse en {{.Date}}." },
292
292
  "shopping_complete_receipt": { "other": "Un recibo se ha enviado por correo electrónico." },
293
293
  "shopping_complete_library_link": { "other": "Ir a vuestra biblioteca." },
294
-
294
+ "shopping_complete_plan": {
295
+ "other": "Su compra de {{ .Title }} fue exitosa."
296
+ },
297
+
295
298
  "shopping_complete_rental_watch_window_start": {
296
299
  "one": "Ahora puede ver dentro del próximo día.",
297
300
  "other": "Ahora puede ver dentro de los próximos {{.Count}} días."
@@ -291,7 +291,9 @@
291
291
  "shopping_complete_purchase_coming_soon": { "other": "Puedes verla desde {{.Date}}." },
292
292
  "shopping_complete_receipt": { "other": "Se ha enviado un comprobante por correo." },
293
293
  "shopping_complete_library_link": { "other": "Ir a tu biblioteca." },
294
-
294
+ "shopping_complete_plan": {
295
+ "other": "Su compra de {{ .Title }} fue exitosa."
296
+ },
295
297
  "shopping_complete_rental_watch_window_start": {
296
298
  "one": "Ahora puede ver dentro del próximo día.",
297
299
  "other": "Puedes empezar a verla dentro de los próximos {{.Count}} días."
@@ -265,6 +265,9 @@
265
265
  "shopping_complete_purchase_coming_soon": { "other": "Voit katsoa elokuvaa {{.Date}} alkaen." },
266
266
  "shopping_complete_receipt": { "other": "Kuitti on lähetetty sähköpostiisi." },
267
267
  "shopping_complete_library_link": { "other": "Selaa kirjastoasi" },
268
+ "shopping_complete_plan": {
269
+ "other": "{{ .Title }} onnistui."
270
+ },
268
271
 
269
272
  "shopping_complete_rental_watch_window_start": {
270
273
  "one": "Voit aloittaa katsomisen seuraavan päivän aikana.",
@@ -301,7 +301,9 @@
301
301
  "shopping_complete_purchase_coming_soon": { "other": "Vous pourrez commencer le visionnage à partir du {{.Date}}." },
302
302
  "shopping_complete_receipt": { "other": "Un reçu vous a été envoyé par email." },
303
303
  "shopping_complete_library_link": { "other": "Voir votre bibliothèque" },
304
-
304
+ "shopping_complete_plan": {
305
+ "other": "Votre achat de {{ .Title }} a réussi."
306
+ },
305
307
  "shopping_complete_rental_watch_window_start": {
306
308
  "one": "Vous pouvez maintenant commencer la lecture jusqu'à demain",
307
309
  "other": "Vous pouvez maintenant commencer la lecture dans les {{.Count}} prochains jours."
@@ -269,7 +269,9 @@
269
269
  "shopping_complete_rental_watch_window_end": { "other": "Kad započnete reprodukciju, imate {{.Count}} jedan sat za gledanje sadržaja, koliko puta želite." },
270
270
  "shopping_complete_rental_coming_soon": { "other": "Sadržaj možete gledati od {{.Date}} i vaša posudba traje {{.Count}} dana." },
271
271
  "shopping_complete_rental_coming_soon_watch_window_start": { "other": "Sadržaj možete gledati od {{.Date}} i vaša posudba traje {{.Count}} dana." },
272
-
272
+ "shopping_complete_plan": {
273
+ "other": "Vaša kupnja {{ .Title }} je uspjela."
274
+ },
273
275
  "shopping_action_rent": { "other": "Posudi" },
274
276
  "shopping_action_buy": { "other": "Kupi" },
275
277
 
@@ -294,7 +294,9 @@
294
294
  "shopping_complete_purchase_coming_soon": { "other": "{{.Date}}-tól megtekinthető." },
295
295
  "shopping_complete_receipt": { "other": "A bizonylatot e-mailben elküldtük számodra." },
296
296
  "shopping_complete_library_link": { "other": "Kezd el nézni bármelyiket a {{.BundleItems}} filmjei közül, melyeket mostantól megtalálsz a könyvtáradban." },
297
-
297
+ "shopping_complete_plan": {
298
+ "other": "A {{ .Title }} vásárlása sikeres volt."
299
+ },
298
300
  "shopping_complete_rental_watch_window_start": {
299
301
  "one": "Mostantól bármikor elkezdheted megnézni a következő {{.Count}} napban.",
300
302
  "other": "Mostantól bármikor elkezdheted megnézni a következő {{.Count}} napban."
@@ -295,7 +295,9 @@
295
295
  "shopping_complete_purchase_coming_soon": { "other": "Potrai vederlo a partire da {{.Date}}." },
296
296
  "shopping_complete_receipt": { "other": "La ricevuta ti è stata inviata via email." },
297
297
  "shopping_complete_library_link": { "other": "Consulta la tua library" },
298
-
298
+ "shopping_complete_plan": {
299
+ "other": "L'acquisto di {{ .Title }} buon fine."
300
+ },
299
301
  "shopping_complete_rental_watch_window_start": {
300
302
  "one": "You are now able to start watching it within the next day.",
301
303
  "other": "Potrai vederlo entro i prossimi {{.Count}} giorni."
@@ -266,7 +266,9 @@
266
266
  "shopping_complete_purchase_coming_soon": { "other": "{{.Date}}からご視聴いただけます。" },
267
267
  "shopping_complete_receipt": { "other": "領収証をEメールでお送りしました。" },
268
268
  "shopping_complete_library_link": { "other": "お客様のライブラリー内にある{{.BundleItems}} の作品をご視聴いただけます。" },
269
-
269
+ "shopping_complete_plan": {
270
+ "other": "{{ .Title }}購入は成功しました。"
271
+ },
270
272
  "shopping_complete_rental_watch_window_start": {
271
273
  "one": "本作品は明日中に限り視聴を開始いただけます。",
272
274
  "other": "本作品は{{.Count}} 日間、視聴を開始いただけます。"
@@ -307,7 +307,9 @@
307
307
  "shopping_complete_purchase_coming_soon": { "other": "Filmą galėsite žiūrėti nuo {{.Date}}." },
308
308
  "shopping_complete_receipt": { "other": "Kvitą jums išsiuntėme el. paštu." },
309
309
  "shopping_complete_library_link": { "other": "Pradėkite žiūrėti bet kurį iš savo įsigytų filmų." },
310
-
310
+ "shopping_complete_plan": {
311
+ "other": "{{ .Title }} buvo sėkmingas."
312
+ },
311
313
  "shopping_complete_rental_watch_window_start": {
312
314
  "one": "Per ateinančią dieną galėsite pradėti žiūrėti filmą.",
313
315
  "other": "Pradėkite žiūrėti filmą per {{.Count}} dienas."
@@ -307,7 +307,10 @@
307
307
  "shopping_complete_purchase_coming_soon": { "other": "U kunt de film bekijken vanaf {{.Date}}." },
308
308
  "shopping_complete_receipt": { "other": "Er werd een ontvangstbewijs naar uw e-mailadres verstuurd." },
309
309
  "shopping_complete_library_link": { "other": "Begin nu met het bekijken van een van de {{.BundleItems}} in je bibliotheek." },
310
-
310
+ "shopping_complete_plan": {
311
+ "other": "Uw aankoop van {{ .Title }} was succesvol."
312
+ },
313
+
311
314
  "shopping_complete_rental_watch_window_start": {
312
315
  "one": "U kunt nu binnen de volgende dag beginnen met kijken.",
313
316
  "other": "U kunt nu binnen de komende {{.Count}} dagen beginnen met kijken."
@@ -294,7 +294,9 @@
294
294
  "shopping_complete_purchase_coming_soon": { "other": "Du kan se filmen fra {{.Date}}." },
295
295
  "shopping_complete_receipt": { "other": "En kvittering har blitt sendt til deg per e-post." },
296
296
  "shopping_complete_library_link": { "other": "Start med å se noe fra {{.BundleItems}} i biblioteket ditt nå." },
297
-
297
+ "shopping_complete_plan": {
298
+ "other": "Kjøpet av {{ .Title }} var vellykket."
299
+ },
298
300
  "shopping_complete_rental_watch_window_start": {
299
301
  "one": "Du kan nå se den om {{.Count}} dager.",
300
302
  "other": "You are now able to start watching it within the next {{.Count}} days."
@@ -301,7 +301,9 @@
301
301
  "shopping_complete_purchase_coming_soon": { "other": "Będzie można go oglądać od {{.Date}}." },
302
302
  "shopping_complete_receipt": { "other": "Potwierdzenie zostało wysłane do Ciebie e-mailem." },
303
303
  "shopping_complete_library_link": { "other": "Zacznij teraz oglądać dowolne z {{.BundleItems}} w swojej bibliotece." },
304
-
304
+ "shopping_complete_plan": {
305
+ "other": "Twój zakup {{ .Title }} powiódł się."
306
+ },
305
307
  "shopping_complete_rental_watch_window_start": {
306
308
  "one": "Możesz go obejrzeć do jutra.",
307
309
  "few": "Możesz zacząć go oglądać w ciągu następnych {{.Count}} dni.",
@@ -699,6 +699,9 @@
699
699
  "shopping_complete_library_link": {
700
700
  "other": "Ver sua biblioteca"
701
701
  },
702
+ "shopping_complete_plan": {
703
+ "other": "Sua compra de {{ .Title }} foi bem-sucedida."
704
+ },
702
705
  "shopping_complete_rental_watch_window_start": {
703
706
  "one": "Você pode começar a assistir durante o próximo dia.",
704
707
  "other": "Você pode começar a assistir durante os próximos{{.Count}} dias."
@@ -291,7 +291,9 @@
291
291
  "shopping_complete_purchase_coming_soon": { "other": "Você poderá assistir a partir de {{.Date}}." },
292
292
  "shopping_complete_receipt": { "other": "Um comprovante foi enviado por e-mail." },
293
293
  "shopping_complete_library_link": { "other": "Ver sua biblioteca" },
294
-
294
+ "shopping_complete_plan": {
295
+ "other": "Sua compra de {{ .Title }} foi bem-sucedida."
296
+ },
295
297
  "shopping_complete_rental_watch_window_start": {
296
298
  "one": "Você pode começar a assistir durante o próximo dia.",
297
299
  "other": "Você pode começar a assistir durante os próximos{{.Count}} dias."
@@ -315,7 +315,9 @@
315
315
  "shopping_complete_purchase_coming_soon": { "other": "Вы сможете посмотреть его, начиная с {{.Date}}." },
316
316
  "shopping_complete_receipt": { "other": "Квитанция по электронной почте." },
317
317
  "shopping_complete_library_link": { "other": "Просмотр библиотеки" },
318
-
318
+ "shopping_complete_plan": {
319
+ "other": "Ваша покупка {{ .Title }} прошла успешно."
320
+ },
319
321
  "shopping_complete_rental_watch_window_start": {
320
322
  "one": "Теперь вы можете начать смотреть его в течение следующего дня.",
321
323
  "few": "Теперь вы можете начать смотреть его в течение следующих {{.Count}} дней.",
@@ -307,7 +307,9 @@
307
307
  "shopping_complete_purchase_coming_soon": { "other": "Моћи ћете да гледате од {{.Date}}." },
308
308
  "shopping_complete_receipt": { "other": "Рачун вам је послат имејлом." },
309
309
  "shopping_complete_library_link": { "other": "Почните са гледањем {{.BundleItems}} у вашој библиотеци." },
310
-
310
+ "shopping_complete_plan": {
311
+ "other": "Ваша куповина {{ .Title }} је била успешна."
312
+ },
311
313
  "shopping_complete_rental_watch_window_start": {
312
314
  "one": "Можете да почнете са гледањем до краја наредног дана.",
313
315
  "other": "Можете да почнете са гледањем одмах или у наредних {{.Count}} дана."
@@ -111,3 +111,46 @@ footer {
111
111
  height: 40px;
112
112
  }
113
113
  }
114
+
115
+ .sponsor-banner {
116
+ display: flex;
117
+ justify-content: center;
118
+ padding: 60px 20px 0 20px;
119
+ @include media-breakpoint-up(lg) {
120
+ padding: 60px 50px 0 50px;
121
+ }
122
+
123
+ img {
124
+ max-width: max-content;
125
+ }
126
+
127
+ .sponsors-xxxs {
128
+ width: 100%;
129
+
130
+ @include media-breakpoint-up(xs) {
131
+ display: none;
132
+ }
133
+ }
134
+
135
+ .sponsors-xs {
136
+ display: none;
137
+ width: 100%;
138
+
139
+ @include media-breakpoint-up(xs) {
140
+ display: block;
141
+ }
142
+
143
+ @include media-breakpoint-up(md) {
144
+ display: none;
145
+ }
146
+ }
147
+
148
+ .sponsors-md {
149
+ display: none;
150
+ width: 100%;
151
+
152
+ @include media-breakpoint-up(md) {
153
+ display: block;
154
+ }
155
+ }
156
+ }
@@ -2,11 +2,14 @@
2
2
  {{import "./info.jet"}}
3
3
  {{import "./nav.jet"}}
4
4
  {{import "./app-badges.jet"}}
5
+ {{import "./sponsor-banner.jet"}}
5
6
 
6
7
  {{block footer()}}
7
8
 
8
9
  {{yield appBadges()}}
9
10
 
11
+ {{yield sponsorBanner()}}
12
+
10
13
  {*{ID is used for skip links.}*}
11
14
  <footer id="footer">
12
15
  {{yield footerBrand()}}
@@ -0,0 +1,9 @@
1
+ {{block sponsorBanner()}}
2
+ {{if config("show_sponsor_banner") == "true"}}
3
+ <div class="sponsor-banner">
4
+ <s72-image class="sponsors-xxxs" src="/images/common/sponsors-xxxs.png"></s72-image>
5
+ <s72-image class="sponsors-xs" src="/images/common/sponsors-xs.png"></s72-image>
6
+ <s72-image class="sponsors-md" src="/images/common/sponsors-md.png"></s72-image>
7
+ </div>
8
+ {{end}}
9
+ {{end}}
@@ -295,7 +295,9 @@
295
295
  "shopping_complete_purchase_coming_soon": { "other": "tarihinden itibaren filmi izleyebileceksiniz {{.Date}}." },
296
296
  "shopping_complete_receipt": { "other": "Faturanız adresinize e-posta ile gönderilmiştir." },
297
297
  "shopping_complete_library_link": { "other": "Kütüphanenizi görüntüle" },
298
-
298
+ "shopping_complete_plan": {
299
+ "other": "{{ .Title }} satın alma işleminiz başarılı oldu."
300
+ },
299
301
  "shopping_complete_rental_watch_window_start": {
300
302
  "one": "Artık önümüzdeki günde filmi izlemeye başlayabilirsiniz.",
301
303
  "other": "Artık önümüzdeki {{.Count}} günde filmi izlemeye başlayabilirsiniz."
@@ -692,6 +692,9 @@
692
692
  "shopping_complete_library_link": {
693
693
  "other": "Подивитися вашу бібліотеку"
694
694
  },
695
+ "shopping_complete_plan": {
696
+ "other": "Ваша покупка {{ .Title }} була успішною."
697
+ },
695
698
  "shopping_complete_rental_watch_window_start": {
696
699
  "one": "Тепер ви можете почати дивитися фільм протягом наступного дня.",
697
700
  "few": "Тепер ви можете почати дивитися фільм протягом наступних {{.Count}} днів.",
@@ -693,6 +693,9 @@
693
693
  "shopping_complete_library_link": {
694
694
  "other": "瀏覽已付費影片"
695
695
  },
696
+ "shopping_complete_plan": {
697
+ "other": "您已成功{{ .Title }}"
698
+ },
696
699
  "shopping_complete_rental_watch_window_start": {
697
700
  "one": "可於 1 天內開始觀看。",
698
701
  "other": "您可於 {{.Count}} 天內開始觀看。"