@bmlt-enabled/croutonjs 3.24.2 → 3.25.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.
- package/crouton-core.css +55 -22
- package/crouton-core.min.css +1 -1
- package/crouton-gmaps.js +342 -150
- package/crouton-gmaps.min.js +12 -9
- package/crouton-gmaps.min.js.map +1 -1
- package/crouton.css +55 -22
- package/crouton.js +338 -150
- package/crouton.min.css +1 -1
- package/crouton.min.js +11 -8
- package/crouton.min.js.map +1 -1
- package/crouton.nojquery.js +338 -150
- package/crouton.nojquery.min.js +11 -8
- package/crouton.nojquery.min.js.map +1 -1
- package/package.json +1 -1
package/crouton.nojquery.js
CHANGED
|
@@ -13284,6 +13284,69 @@ function CroutonLocalization(language) {
|
|
|
13284
13284
|
"waze": "وايز",
|
|
13285
13285
|
"waze_desc": "فتح في تطبيق وايز",
|
|
13286
13286
|
},
|
|
13287
|
+
"cs": {
|
|
13288
|
+
"days_of_the_week": ["", "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"],
|
|
13289
|
+
"weekday": "Den v týdnu",
|
|
13290
|
+
"city": "Město",
|
|
13291
|
+
"cities": "Město",
|
|
13292
|
+
"groups": "Skupina",
|
|
13293
|
+
"areas": "Oblasti",
|
|
13294
|
+
"regions": "Regiony",
|
|
13295
|
+
"locations": "Místo",
|
|
13296
|
+
"counties": "Okres",
|
|
13297
|
+
"states": "Spolkové země",
|
|
13298
|
+
"postal_codes": "PSČ",
|
|
13299
|
+
"formats": "Formáty",
|
|
13300
|
+
"map": "Mapa",
|
|
13301
|
+
"neighborhood": "Sousedství",
|
|
13302
|
+
"near_me": "V mém okolí",
|
|
13303
|
+
"text_search": "Textové vyhledávání",
|
|
13304
|
+
"click_search": "Vyhledávání kliknutím",
|
|
13305
|
+
"pan_and_zoom": "Posunout + Zoom",
|
|
13306
|
+
"languages": "Jazyky",
|
|
13307
|
+
"common_needs": "Běžné potřeby",
|
|
13308
|
+
"meeting_count": "Týdenní setkání:",
|
|
13309
|
+
"venue_types": "Druhy míst setkání",
|
|
13310
|
+
"venue_type_choices": {
|
|
13311
|
+
"IN_PERSON": "Živé setkání",
|
|
13312
|
+
"VIRTUAL": "Online setkání"
|
|
13313
|
+
},
|
|
13314
|
+
"service_body_types": {
|
|
13315
|
+
},
|
|
13316
|
+
"share": "Sdílet",
|
|
13317
|
+
"google_directions": "Plánovač tras Google",
|
|
13318
|
+
"apple_directions": "Plánovač tras Apple",
|
|
13319
|
+
"no_meetings_for_this_day": "Na tento den nejsou žádná setkání.",
|
|
13320
|
+
"css-textalign": "",
|
|
13321
|
+
"css-floatdirection": "",
|
|
13322
|
+
"all": "Jakékoli",
|
|
13323
|
+
"menu": "Menu",
|
|
13324
|
+
"search for meetings": "Hledat setkání",
|
|
13325
|
+
"show meetings near...": "Setkání v jiných městech",
|
|
13326
|
+
"filter meetings": "Filtr pro jazyk, formát atd.",
|
|
13327
|
+
"visible meeting list": "Viditelný seznam setkání jako tabulka",
|
|
13328
|
+
"enter a city or zip code": "Město nebo PSČ",
|
|
13329
|
+
"toggle fullscreen mode": "Přepnout režim celé obrazovky",
|
|
13330
|
+
"close": "Zavřít",
|
|
13331
|
+
"bmlt2ics": "Přidat do kalendáře",
|
|
13332
|
+
"meeting page": "Stránka setkání",
|
|
13333
|
+
"meeting details": "Podrobnosti o setkání",
|
|
13334
|
+
"report update": "Nahlásit aktualizaci",
|
|
13335
|
+
"filter by visibility": "Zobrazit pouze setkání, která jsou aktuálně na mapě",
|
|
13336
|
+
"go": "Jít!",
|
|
13337
|
+
"get_directions": "Získat pokyny",
|
|
13338
|
+
"select_map_app": "Vyberte aplikaci pro mapy",
|
|
13339
|
+
"apple_maps": "Apple Mapy",
|
|
13340
|
+
"apple_maps_desc": "Otevřít v aplikaci Apple Mapy",
|
|
13341
|
+
"google_maps": "Mapy Google",
|
|
13342
|
+
"distance": "Vzdálenost",
|
|
13343
|
+
"google_maps_desc_mobile": "Otevřít v aplikaci Mapy Google",
|
|
13344
|
+
"waze": "Waze",
|
|
13345
|
+
"waze_desc": "Otevřít v aplikaci Waze",
|
|
13346
|
+
"remember my choice": "Zapamatovat si moji volbu",
|
|
13347
|
+
"zoomed-out-message": "Nemůžeme prohledat celou oblast pro setkání. Přibližte si prosím nebo proveďte nové vyhledávání.",
|
|
13348
|
+
"sorted by distance": "Seřazeno podle vzdálenosti"
|
|
13349
|
+
},
|
|
13287
13350
|
"da-DK": {
|
|
13288
13351
|
"days_of_the_week": ["", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"],
|
|
13289
13352
|
"weekday": 'Ugedag',
|
|
@@ -13794,7 +13857,7 @@ function CroutonLocalization(language) {
|
|
|
13794
13857
|
},
|
|
13795
13858
|
"share": "compartir",
|
|
13796
13859
|
"no_meetings_for_this_day": "No hay reuniones en este día",
|
|
13797
|
-
'css-textalign': '
|
|
13860
|
+
'css-textalign': '',
|
|
13798
13861
|
'google_directions': 'Indicaciones de Google',
|
|
13799
13862
|
'apple_directions': 'Indicaciones de Apple',
|
|
13800
13863
|
'css-floatdirection': "Dirección float-CSS",
|
|
@@ -13827,69 +13890,80 @@ function CroutonLocalization(language) {
|
|
|
13827
13890
|
},
|
|
13828
13891
|
"fa-IR": {
|
|
13829
13892
|
"days_of_the_week" : ["", 'یَکشَنب', 'دوشَنبه', 'سهشنبه', 'چهار شنبه', 'پَنج شَنبه', 'جُمعه', 'شَنبه'],
|
|
13830
|
-
"weekday" : "
|
|
13893
|
+
"weekday" : "ایام هفته",
|
|
13831
13894
|
"city" : "شهر",
|
|
13832
13895
|
"cities" : "شهرها",
|
|
13833
13896
|
"groups" : "گروه ها",
|
|
13834
13897
|
"areas" : "نواحی",
|
|
13835
|
-
"regions": "
|
|
13898
|
+
"regions" : "مناطق",
|
|
13836
13899
|
"locations" : "آدرسها",
|
|
13837
13900
|
"counties" : "بخشها",
|
|
13838
|
-
"states" : "
|
|
13839
|
-
"postal_codes":"کد پستی",
|
|
13840
|
-
"formats" : "
|
|
13901
|
+
"states" : "استان ها",
|
|
13902
|
+
"postal_codes:" : "کد پستی",
|
|
13903
|
+
"formats" : "فرمت ها",
|
|
13841
13904
|
"map" : "نقشه",
|
|
13842
|
-
"neighborhood": "
|
|
13843
|
-
"near_me": "
|
|
13844
|
-
"text_search": "
|
|
13845
|
-
"click_search": "
|
|
13846
|
-
"pan_and_zoom": "
|
|
13847
|
-
"languages": "
|
|
13848
|
-
"common_needs": "
|
|
13849
|
-
"meeting_count": "
|
|
13850
|
-
"venue_types": "
|
|
13851
|
-
"venue_type_choices": {
|
|
13852
|
-
IN_PERSON: "
|
|
13853
|
-
VIRTUAL: "
|
|
13905
|
+
"neighborhood" : "محله",
|
|
13906
|
+
"near_me" : "جلسات نزدیک من را پیدا کن",
|
|
13907
|
+
"text_search" : "جلسات اینجا را پیدا کن",
|
|
13908
|
+
"click_search" : "پیدا کردن جلسات نزدیک به یک نقطه روی نقشه",
|
|
13909
|
+
"pan_and_zoom" : "حرکت + بزرگنمایی",
|
|
13910
|
+
"languages" : "زبانها",
|
|
13911
|
+
"common_needs" : "نیازهای مشترک",
|
|
13912
|
+
"meeting_count" : "جلسات هفتگی:",
|
|
13913
|
+
"venue_types" : "انواع مکان",
|
|
13914
|
+
"venue_type_choices" : {
|
|
13915
|
+
"IN_PERSON" : "حضوری",
|
|
13916
|
+
"VIRTUAL" : "لینک جلسه مجازی",
|
|
13854
13917
|
},
|
|
13855
13918
|
"service_body_types": {
|
|
13856
|
-
AS: "
|
|
13857
|
-
RS: "
|
|
13858
|
-
ZF: "
|
|
13859
|
-
MA: "
|
|
13860
|
-
LS: "
|
|
13861
|
-
GS: "
|
|
13919
|
+
"AS" : "کمیته خدمات ناحیه",
|
|
13920
|
+
"RS" : "کمیته خدمات منطقهای",
|
|
13921
|
+
"ZF" : "انجمن منطقهای",
|
|
13922
|
+
"MA" : "کمیته خدمات کلانشهریe",
|
|
13923
|
+
"LS" : "انجمن خدمات محلی",
|
|
13924
|
+
"GS" : "انجمن پشتیبانی گروه",
|
|
13862
13925
|
},
|
|
13863
|
-
"share": "
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
"no_meetings_for_this_day": "
|
|
13926
|
+
"share" : "اشتراک گذاری",
|
|
13927
|
+
"google_directions" : "مسیرهای Google به جلسه",
|
|
13928
|
+
"apple_directions" : "مسیرهای Apple به جلسه",
|
|
13929
|
+
"no_meetings_for_this_day" : "هیچ جلسه ای در این روز وجود ندارد",
|
|
13930
|
+
"css-direction: bmlt-rtl" : "",
|
|
13931
|
+
"bootstrap-popover-placement" : "left",
|
|
13932
|
+
"adjust search" : "تنظیم جستجو",
|
|
13933
|
+
"this number represents" : "این عدد نشان دهنده",
|
|
13934
|
+
"radius of search in $$" : "شعاع جستجو بر حسب $$",
|
|
13935
|
+
"miles" : "مایل",
|
|
13936
|
+
"km" : "کیلومتر",
|
|
13937
|
+
"approx. number of meetings in result" : "تعداد تقریبی جلسات در نتیجه",
|
|
13938
|
+
"back" : "بازگشت",
|
|
13939
|
+
"all" : "هر",
|
|
13940
|
+
"menu" : "منوی",
|
|
13941
|
+
"search for meetings" : "جستجوی جلسه ها",
|
|
13942
|
+
"show meetings near..." : "نمایش جلسات نزدیک",
|
|
13943
|
+
"filter meetings" : "فیلتر جلسات",
|
|
13944
|
+
"visible meeting list" : "جلسات قابل مشاهده به عنوان لیست",
|
|
13945
|
+
"enter a city or zip code" : "شهر یا کد پستی را وارد کنید",
|
|
13946
|
+
"toggle fullscreen mode" : "تغییر حالت تمام صفحه",
|
|
13947
|
+
"close" : " بستن",
|
|
13948
|
+
"bmlt2ics" : "به تقویم خود اضافه کنید",
|
|
13949
|
+
"meeting page" : " صفحه جلسه",
|
|
13950
|
+
"meeting details" : " جزئیات جلسه",
|
|
13951
|
+
"report update" : " گزارش بهروزرسانی",
|
|
13952
|
+
"filter by visibility" : " فقط این جلسات را فهرست کنید",
|
|
13953
|
+
"go" : " برو",
|
|
13954
|
+
"distance" : "فاصله",
|
|
13955
|
+
"get_directions" : "دریافت مسیر",
|
|
13956
|
+
"select_map_app" : "انتخاب برنامه نقشه",
|
|
13957
|
+
"apple_maps" : "نقشه اپل",
|
|
13958
|
+
"apple_maps_desc" : "باز کردن در برنامه نقشه اپل",
|
|
13959
|
+
"google_maps" : "گوگل مپس",
|
|
13960
|
+
"google_maps_desc_mobile" : "باز کردن در برنامه گوگل مپس",
|
|
13961
|
+
"waze" : "ویوز",
|
|
13962
|
+
"waze_desc" : "باز کردن در برنامه ویز",
|
|
13963
|
+
"sorted by distance" : "مرتب کردن بر اساس فاصله",
|
|
13964
|
+
"more info" : "اطلاعات بیشتر",
|
|
13867
13965
|
"css-direction": 'bmlt-rtl',
|
|
13868
|
-
'
|
|
13869
|
-
'menu': "Menu",
|
|
13870
|
-
'search for meetings': 'Search for meetings',
|
|
13871
|
-
'show meetings near...': 'Show meetings near...',
|
|
13872
|
-
'filter meetings': 'Filter meetings',
|
|
13873
|
-
'visible meeting list': 'Visible meetings as list',
|
|
13874
|
-
'enter a city or zip code': 'Enter a city or zip code',
|
|
13875
|
-
'toggle fullscreen mode': 'Toggle fullscreen mode',
|
|
13876
|
-
'close': "Close",
|
|
13877
|
-
"bmlt2ics": "Add to your calendar",
|
|
13878
|
-
'meeting page': "Meeting Page",
|
|
13879
|
-
'meeting details': "Meeting Details",
|
|
13880
|
-
'report update': "Report an Update",
|
|
13881
|
-
'filter by visibility': "List only these meetings",
|
|
13882
|
-
'go': "Go!",
|
|
13883
|
-
"distance": "فاصله",
|
|
13884
|
-
"get_directions": "دریافت مسیر",
|
|
13885
|
-
"select_map_app": "انتخاب برنامه نقشه",
|
|
13886
|
-
"apple_maps": "نقشه اپل",
|
|
13887
|
-
"apple_maps_desc": "باز کردن در برنامه نقشه اپل",
|
|
13888
|
-
"google_maps": "گوگل مپس",
|
|
13889
|
-
"google_maps_desc_mobile": "باز کردن در برنامه گوگل مپس",
|
|
13890
|
-
"waze": "ویز",
|
|
13891
|
-
"waze_desc": "باز کردن در برنامه ویز",
|
|
13892
|
-
"sorted by distance": "مرتب شده بر اساس فاصله",
|
|
13966
|
+
"css-textalign": "style='text-align: right;'",
|
|
13893
13967
|
},
|
|
13894
13968
|
"fr-CA": {
|
|
13895
13969
|
"days_of_the_week" : ["", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
|
|
@@ -13930,7 +14004,7 @@ function CroutonLocalization(language) {
|
|
|
13930
14004
|
"google_directions": "Itinéraire sur Google Maps",
|
|
13931
14005
|
'apple_directions': 'Itinéraire sur Apple Maps',
|
|
13932
14006
|
"no_meetings_for_this_day": "Pas de réunion aujourd'hui.",
|
|
13933
|
-
"css-textalign": "
|
|
14007
|
+
"css-textalign": "",
|
|
13934
14008
|
"css-floatdirection": "css-floatdirection",
|
|
13935
14009
|
"all": "Tout",
|
|
13936
14010
|
"menu": "Menu",
|
|
@@ -14292,6 +14366,69 @@ function CroutonLocalization(language) {
|
|
|
14292
14366
|
"waze_desc": "Открыть в приложении Waze",
|
|
14293
14367
|
"sorted by distance": "Сортировка по расстоянию",
|
|
14294
14368
|
},
|
|
14369
|
+
"sk": {
|
|
14370
|
+
"days_of_the_week": ["", "Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota"],
|
|
14371
|
+
"weekday": "Deň v týždni",
|
|
14372
|
+
"city": "Mesto",
|
|
14373
|
+
"cities": "Mesto",
|
|
14374
|
+
"groups": "Skupina",
|
|
14375
|
+
"areas": "Oblasti",
|
|
14376
|
+
"regions": "Región",
|
|
14377
|
+
"locations": "Miesto",
|
|
14378
|
+
"counties": "Okres",
|
|
14379
|
+
"states": "Spolkové krajiny",
|
|
14380
|
+
"postal_codes": "PSČ",
|
|
14381
|
+
"formats": "Formáty",
|
|
14382
|
+
"map": "Mapa",
|
|
14383
|
+
"neighborhood": "Susedstvo",
|
|
14384
|
+
"near_me": "V mojej blízkosti",
|
|
14385
|
+
"text_search": "Textové vyhľadávanie",
|
|
14386
|
+
"click_search": "Vyhľadávanie kliknutím",
|
|
14387
|
+
"pan_and_zoom": "Posúvanie + Zoomovanie",
|
|
14388
|
+
"languages": "Jazek",
|
|
14389
|
+
"common_needs": "Bežné potreby",
|
|
14390
|
+
"meeting_count": "Týždenné stretnutia:",
|
|
14391
|
+
"venue_types": "Typy miest stretnutí",
|
|
14392
|
+
"venue_type_choices": {
|
|
14393
|
+
"IN_PERSON": "Osobné stretnutia",
|
|
14394
|
+
"VIRTUAL": "Živé stretnutia"
|
|
14395
|
+
},
|
|
14396
|
+
"service_body_types": {
|
|
14397
|
+
},
|
|
14398
|
+
"share": "Zdieľať",
|
|
14399
|
+
"google_directions": "Plánovač trás Google",
|
|
14400
|
+
"apple_directions": "Plánovač trás Apple",
|
|
14401
|
+
"no_meetings_for_this_day": "Žiadne stretnutia v tento deň.",
|
|
14402
|
+
"css-textalign": "",
|
|
14403
|
+
"css-floatdirection": "",
|
|
14404
|
+
"all": "Akékoľvek",
|
|
14405
|
+
"menu": "Menu",
|
|
14406
|
+
"search for meetings": "Hľadať stretnutia",
|
|
14407
|
+
"show meetings near...": "Stretnutia v iných mestách",
|
|
14408
|
+
"filter meetings": "Filter pre jazyk, formát atď.",
|
|
14409
|
+
"visible meeting list": "Viditeľné stretnutia ako tabuľka",
|
|
14410
|
+
"enter a city or zip code": "Mesto alebo PSČ",
|
|
14411
|
+
"toggle fullscreen mode": "Prepnúť režim celej obrazovky",
|
|
14412
|
+
"close": "Zavrieť",
|
|
14413
|
+
"bmlt2ics": "Pridať do kalendára",
|
|
14414
|
+
"meeting page": "Stránka stretnutia",
|
|
14415
|
+
"meeting details": "Podrobnosti o stretnutí",
|
|
14416
|
+
"report update": "Nahlásiť aktualizáciu",
|
|
14417
|
+
"filter by visibility": "Zobraziť iba stretnutia, ktoré sú práve na mape",
|
|
14418
|
+
"go": "Ísť!",
|
|
14419
|
+
"get_directions": "Získať trasu",
|
|
14420
|
+
"select_map_app": "Vyberte aplikáciu pre mapy",
|
|
14421
|
+
"apple_maps": "Apple Maps",
|
|
14422
|
+
"apple_maps_desc": "Otvoriť v aplikácii Apple Maps",
|
|
14423
|
+
"google_maps": "Google Maps",
|
|
14424
|
+
"distance": "Vzdialenosť",
|
|
14425
|
+
"google_maps_desc_mobile": "Otvoriť v aplikácii Google Maps",
|
|
14426
|
+
"waze": "Waze",
|
|
14427
|
+
"waze_desc": "Otvoriť v aplikácii Waze",
|
|
14428
|
+
"remember my choice": "Zapamätať si moju voľbu",
|
|
14429
|
+
"zoomed-out-message": "Nemôžeme prehľadať celú oblasť pre stretnutia. Prosím, priblížte alebo vykonajte nové vyhľadávanie.",
|
|
14430
|
+
"sorted by distance": "Zoradené podľa vzdialenosti"
|
|
14431
|
+
},
|
|
14295
14432
|
"sv-SE": {
|
|
14296
14433
|
"days_of_the_week" : ["", "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
|
|
14297
14434
|
"weekday" : "Veckodag",
|
|
@@ -14369,6 +14506,7 @@ CroutonLocalization.prototype.getWord = function(word) {
|
|
|
14369
14506
|
const ret = this.words[this.language][word.toLowerCase()];
|
|
14370
14507
|
if (typeof ret === 'undefined') {
|
|
14371
14508
|
if (word === 'css-direction') return '';
|
|
14509
|
+
if (word === 'bootstrap-popover-placement') return 'right';
|
|
14372
14510
|
return word;
|
|
14373
14511
|
}
|
|
14374
14512
|
return ret;
|
|
@@ -14401,7 +14539,7 @@ this["hbs_Crouton"]["templates"]["byday"] = Handlebars.template({"1":function(co
|
|
|
14401
14539
|
+ "'>\n <tbody class=\"h-"
|
|
14402
14540
|
+ alias4(alias3((depth0 != null ? lookupProperty(depth0,"day") : depth0), depth0))
|
|
14403
14541
|
+ "\">\n"
|
|
14404
|
-
+ ((stack1 = container.invokePartial(lookupProperty(partials,"
|
|
14542
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingsPlaceholders"),(depth0 != null ? lookupProperty(depth0,"meetings") : depth0),{"name":"meetingsPlaceholders","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14405
14543
|
+ " </tbody>\n </table>\n </div>\n </div>\n";
|
|
14406
14544
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14407
14545
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14432,7 +14570,7 @@ this["hbs_Crouton"]["templates"]["byfield"] = Handlebars.template({"1":function(
|
|
|
14432
14570
|
+ "</div>\n <div class=\"group-table-div\">\n <table class='bmlt-table table table-hover table-bordered tablesaw tablesaw-stack "
|
|
14433
14571
|
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias3).call(alias2,"css-direction",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":6,"column":87},"end":{"line":6,"column":114}}}))
|
|
14434
14572
|
+ "'>\n <tbody class=\"byfield.hbs\">\n"
|
|
14435
|
-
+ ((stack1 = container.invokePartial(lookupProperty(partials,"
|
|
14573
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingsPlaceholders"),(depth0 != null ? lookupProperty(depth0,"group") : depth0),{"name":"meetingsPlaceholders","data":data,"indent":" \t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14436
14574
|
+ " </tbody>\n </table>\n </div>\n </div>\n";
|
|
14437
14575
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
14438
14576
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14860,10 +14998,10 @@ this["hbs_Crouton"]["templates"]["mapSearch"] = Handlebars.template({"compiler":
|
|
|
14860
14998
|
+ "</button>\n </div>\n <button id=\"show-search-parameters\" class=\"advanced-search-button\">"
|
|
14861
14999
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Adjust Search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":23,"column":79},"end":{"line":23,"column":106}}}))
|
|
14862
15000
|
+ "</button>\n </div>\n <div id=\"modal-seach-parameters\">\n <div class=\"modal-title\">"
|
|
14863
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"
|
|
15001
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Adjust Search",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":26,"column":37},"end":{"line":26,"column":64}}}))
|
|
14864
15002
|
+ "</div>\n <input type=\"number\" id=\"search_parameter\" name=\"search_parameter\" maxlength=\"3\" size=\"3\">\n <p>"
|
|
14865
|
-
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"This number represents
|
|
14866
|
-
+ "
|
|
15003
|
+
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"This number represents",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":28,"column":15},"end":{"line":28,"column":51}}}))
|
|
15004
|
+
+ ":</p>\n <input type=\"radio\" id=\"search_radius\" name=\"map_search_type\" value=\"radius\">\n <label id=\"search_radius_label\" for=\"search_radius\"></label><br>\n <input type=\"radio\" id=\"search_count\" name=\"map_search_type\" value=\"count\">\n <label for=\"search_count\">"
|
|
14867
15005
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Approx. number of meetings in result",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":32,"column":38},"end":{"line":32,"column":88}}}))
|
|
14868
15006
|
+ "</label><br>\n <button id=\"show-search-page\" class=\"advanced-search-button\">"
|
|
14869
15007
|
+ alias3((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"Back",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":33,"column":73},"end":{"line":33,"column":91}}}))
|
|
@@ -14925,19 +15063,19 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14925
15063
|
+ alias3(alias4((depth0 != null ? lookupProperty(depth0,"formatted_day") : depth0), depth0))
|
|
14926
15064
|
+ "</div>\n"
|
|
14927
15065
|
+ ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"duration_time") : depth0),"24:00:00",{"name":"ifEquals","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data,"loc":{"start":{"line":19,"column":3},"end":{"line":23,"column":16}}})) != null ? stack1 : "")
|
|
14928
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"formats") : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":24,"column":3},"end":{"line":
|
|
15066
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"formats") : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":24,"column":3},"end":{"line":43,"column":10}}})) != null ? stack1 : "")
|
|
14929
15067
|
+ " <div class=\"bmlt-comments\">"
|
|
14930
|
-
+ alias3((lookupProperty(helpers,"formatLink")||(depth0 && lookupProperty(depth0,"formatLink"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formatted_comments") : depth0),{"name":"formatLink","hash":{},"data":data,"loc":{"start":{"line":
|
|
15068
|
+
+ alias3((lookupProperty(helpers,"formatLink")||(depth0 && lookupProperty(depth0,"formatLink"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formatted_comments") : depth0),{"name":"formatLink","hash":{},"data":data,"loc":{"start":{"line":44,"column":30},"end":{"line":44,"column":68}}}))
|
|
14931
15069
|
+ "</div>\n <div class=\"bmlt-observer\">"
|
|
14932
|
-
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectObserver")||(depth0 && lookupProperty(depth0,"selectObserver"))||alias2).call(alias1,{"name":"selectObserver","hash":{},"data":data,"loc":{"start":{"line":
|
|
15070
|
+
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectObserver")||(depth0 && lookupProperty(depth0,"selectObserver"))||alias2).call(alias1,{"name":"selectObserver","hash":{},"data":data,"loc":{"start":{"line":45,"column":34},"end":{"line":45,"column":50}}}),depth0,{"data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14933
15071
|
+ "</div>\n </td>\n <td class=\"bmlt-column2\" "
|
|
14934
|
-
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
15072
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":47,"column":27},"end":{"line":47,"column":56}}})) != null ? stack1 : "")
|
|
14935
15073
|
+ ">\n <div class=\"meeting-data-template\">"
|
|
14936
15074
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingDataTemplate"),depth0,{"name":"meetingDataTemplate","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14937
15075
|
+ "</div>\n </td>\n <td class=\"bmlt-column3\">\n"
|
|
14938
15076
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"metaDataTemplate"),depth0,{"name":"metaDataTemplate","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14939
|
-
+ ((stack1 = (lookupProperty(helpers,"canShare")||(depth0 && lookupProperty(depth0,"canShare"))||alias2).call(alias1,depth0,{"name":"canShare","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
14940
|
-
+ ((stack1 = (lookupProperty(helpers,"reportUpdateEnabled")||(depth0 && lookupProperty(depth0,"reportUpdateEnabled"))||alias2).call(alias1,depth0,{"name":"reportUpdateEnabled","hash":{},"fn":container.program(21, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15077
|
+
+ ((stack1 = (lookupProperty(helpers,"canShare")||(depth0 && lookupProperty(depth0,"canShare"))||alias2).call(alias1,depth0,{"name":"canShare","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":52,"column":3},"end":{"line":54,"column":16}}})) != null ? stack1 : "")
|
|
15078
|
+
+ ((stack1 = (lookupProperty(helpers,"reportUpdateEnabled")||(depth0 && lookupProperty(depth0,"reportUpdateEnabled"))||alias2).call(alias1,depth0,{"name":"reportUpdateEnabled","hash":{},"fn":container.program(21, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":55,"column":3},"end":{"line":57,"column":27}}})) != null ? stack1 : "")
|
|
14941
15079
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"offerIcsButton"),depth0,{"name":"offerIcsButton","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14942
15080
|
+ " </td>\n </tr>\n";
|
|
14943
15081
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
@@ -14965,15 +15103,17 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14965
15103
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"end_time_formatted") : depth0), depth0))
|
|
14966
15104
|
+ "</div>\n";
|
|
14967
15105
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
14968
|
-
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15106
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14969
15107
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14970
15108
|
return parent[propertyName];
|
|
14971
15109
|
}
|
|
14972
15110
|
return undefined
|
|
14973
15111
|
};
|
|
14974
15112
|
|
|
14975
|
-
return " <a id=\"bmlt-formats\"\n class=\"btn btn-primary btn-xs\"\n title=\"\"\n data-html=\"true\"\n tabindex=\"0\"\n data-trigger=\"focus\"\n role=\"button\"\n data-toggle=\"popover\"\n data-original-title=\"\"\n data-
|
|
14976
|
-
+ ((stack1 =
|
|
15113
|
+
return " <a id=\"bmlt-formats\"\n class=\"btn btn-primary btn-xs\"\n title=\"\"\n data-html=\"true\"\n tabindex=\"0\"\n data-trigger=\"focus\"\n role=\"button\"\n data-toggle=\"popover\"\n data-original-title=\"\"\n data-placement=\""
|
|
15114
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"bootstrap-popover-placement",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":34,"column":23},"end":{"line":34,"column":66}}})) != null ? stack1 : "")
|
|
15115
|
+
+ "\"\n data-content=\""
|
|
15116
|
+
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectFormatPopup")||(depth0 && lookupProperty(depth0,"selectFormatPopup"))||alias2).call(alias1,{"name":"selectFormatPopup","hash":{},"data":data,"loc":{"start":{"line":35,"column":25},"end":{"line":35,"column":44}}}),depth0,{"data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14977
15117
|
+ "\">\n <span class=\"glyphicon glyphicon-search\"\n aria-hidden=\"true\"\n data-toggle=\"popover\"\n data-trigger=\"focus\"\n data-html=\"true\"\n role=\"button\"></span>"
|
|
14978
15118
|
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"formats") : depth0), depth0))
|
|
14979
15119
|
+ "\n </a>\n";
|
|
@@ -14999,10 +15139,10 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14999
15139
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_address") : depth0), depth0))
|
|
15000
15140
|
+ " "
|
|
15001
15141
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_location_info") : depth0), depth0))
|
|
15002
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_additional_info") : depth0),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15142
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_additional_info") : depth0),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":319},"end":{"line":53,"column":411}}})) != null ? stack1 : "")
|
|
15003
15143
|
+ "\"), url: \""
|
|
15004
|
-
+ ((stack1 = (lookupProperty(helpers,"isVirtualOrHybrid")||(depth0 && lookupProperty(depth0,"isVirtualOrHybrid"))||alias4).call(alias3,depth0,{"name":"isVirtualOrHybrid","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15005
|
-
+ ((stack1 = (lookupProperty(helpers,"isInPersonOrHybrid")||(depth0 && lookupProperty(depth0,"isInPersonOrHybrid"))||alias4).call(alias3,depth0,{"name":"isInPersonOrHybrid","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15144
|
+
+ ((stack1 = (lookupProperty(helpers,"isVirtualOrHybrid")||(depth0 && lookupProperty(depth0,"isVirtualOrHybrid"))||alias4).call(alias3,depth0,{"name":"isVirtualOrHybrid","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":421},"end":{"line":53,"column":608}}})) != null ? stack1 : "")
|
|
15145
|
+
+ ((stack1 = (lookupProperty(helpers,"isInPersonOrHybrid")||(depth0 && lookupProperty(depth0,"isInPersonOrHybrid"))||alias4).call(alias3,depth0,{"name":"isInPersonOrHybrid","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":608},"end":{"line":53,"column":886}}})) != null ? stack1 : "")
|
|
15006
15146
|
+ "\"})'><span class=\"glyphicon glyphicon-share\"></span> "
|
|
15007
15147
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"share_word") : depth0), depth0))
|
|
15008
15148
|
+ "</a>\n";
|
|
@@ -15024,8 +15164,8 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15024
15164
|
return undefined
|
|
15025
15165
|
};
|
|
15026
15166
|
|
|
15027
|
-
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15028
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
15167
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":448},"end":{"line":53,"column":517}}})) != null ? stack1 : "")
|
|
15168
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":517},"end":{"line":53,"column":586}}})) != null ? stack1 : "");
|
|
15029
15169
|
},"12":function(container,depth0,helpers,partials,data) {
|
|
15030
15170
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15031
15171
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -15052,7 +15192,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15052
15192
|
return undefined
|
|
15053
15193
|
}, buffer =
|
|
15054
15194
|
" ";
|
|
15055
|
-
stack1 = ((helper = (helper = lookupProperty(helpers,"isOS") || (depth0 != null ? lookupProperty(depth0,"isOS") : depth0)) != null ? helper : container.hooks.helperMissing),(options={"name":"isOS","hash":{},"fn":container.program(17, data, 0),"inverse":container.program(19, data, 0),"data":data,"loc":{"start":{"line":
|
|
15195
|
+
stack1 = ((helper = (helper = lookupProperty(helpers,"isOS") || (depth0 != null ? lookupProperty(depth0,"isOS") : depth0)) != null ? helper : container.hooks.helperMissing),(options={"name":"isOS","hash":{},"fn":container.program(17, data, 0),"inverse":container.program(19, data, 0),"data":data,"loc":{"start":{"line":53,"column":637},"end":{"line":53,"column":863}}}),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),options) : helper));
|
|
15056
15196
|
if (!lookupProperty(helpers,"isOS")) { stack1 = container.hooks.blockHelperMissing.call(depth0,stack1,options)}
|
|
15057
15197
|
if (stack1 != null) { buffer += stack1; }
|
|
15058
15198
|
return buffer;
|
|
@@ -15094,7 +15234,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15094
15234
|
};
|
|
15095
15235
|
|
|
15096
15236
|
return " <a href=\""
|
|
15097
|
-
+ alias1(((helper = (helper = lookupProperty(helpers,"reportUpdateUrl") || (depth0 != null ? lookupProperty(depth0,"reportUpdateUrl") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"reportUpdateUrl","hash":{},"data":data,"loc":{"start":{"line":
|
|
15237
|
+
+ alias1(((helper = (helper = lookupProperty(helpers,"reportUpdateUrl") || (depth0 != null ? lookupProperty(depth0,"reportUpdateUrl") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"reportUpdateUrl","hash":{},"data":data,"loc":{"start":{"line":56,"column":13},"end":{"line":56,"column":34}}}) : helper)))
|
|
15098
15238
|
+ "?meeting_id="
|
|
15099
15239
|
+ alias1(alias2((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
15100
15240
|
+ "\" id=\"share-button\" class=\"btn btn-primary btn-xs edit-button\" target=\"_blank\"><span class=\"glyphicon glyphicon-edit\"></span> "
|
|
@@ -15108,8 +15248,29 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
15108
15248
|
return undefined
|
|
15109
15249
|
};
|
|
15110
15250
|
|
|
15111
|
-
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":
|
|
15251
|
+
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":61,"column":9}}})) != null ? stack1 : "");
|
|
15112
15252
|
},"usePartial":true,"useData":true});
|
|
15253
|
+
this["hbs_Crouton"]["templates"]["meetingsPlaceholders"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
15254
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15255
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
15256
|
+
return parent[propertyName];
|
|
15257
|
+
}
|
|
15258
|
+
return undefined
|
|
15259
|
+
};
|
|
15260
|
+
|
|
15261
|
+
return "<tr class=\"bmlt-data-row-placeholder hide\" data-meetingId=\"meeting-data-row-"
|
|
15262
|
+
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
15263
|
+
+ "\">\n <td class=\"bmlt-column-placeholder hide\" colspan=\"3\"></td>\n</tr>\n";
|
|
15264
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
15265
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15266
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
15267
|
+
return parent[propertyName];
|
|
15268
|
+
}
|
|
15269
|
+
return undefined
|
|
15270
|
+
};
|
|
15271
|
+
|
|
15272
|
+
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":9}}})) != null ? stack1 : "");
|
|
15273
|
+
},"useData":true});
|
|
15113
15274
|
this["hbs_Crouton"]["templates"]["weekdays"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
15114
15275
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
15115
15276
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -15202,8 +15363,8 @@ var croutonDefaultTemplates = {
|
|
|
15202
15363
|
].join('\n'),
|
|
15203
15364
|
|
|
15204
15365
|
observer_template: [
|
|
15205
|
-
"
|
|
15206
|
-
"
|
|
15366
|
+
"{{> observerLine name=contact_name_1 phone=contact_phone_1 email=contact_email_1 }}",
|
|
15367
|
+
"{{> observerLine name=contact_name_2 phone=contact_phone_2 email=contact_email_2 }}",
|
|
15207
15368
|
"{{#if this.wheelchair}}<div aria-hidden='true' style='font-style:normal; font-size:x-large;'>♿</div>{{/if}}"
|
|
15208
15369
|
].join('\n'),
|
|
15209
15370
|
|
|
@@ -16336,9 +16497,11 @@ var crouton_Handlebars = Handlebars.noConflict();
|
|
|
16336
16497
|
// These are extension points
|
|
16337
16498
|
crouton_Handlebars.registerHelper("startup", () => '');
|
|
16338
16499
|
crouton_Handlebars.registerHelper("enrich", () => '');
|
|
16500
|
+
crouton_Handlebars.registerHelper("log", (x) => console.log(x));
|
|
16339
16501
|
crouton_Handlebars.registerHelper('selectFormatPopup', () => "formatPopup");
|
|
16340
16502
|
crouton_Handlebars.registerHelper('selectObserver', () => "observerTemplate");
|
|
16341
16503
|
|
|
16504
|
+
|
|
16342
16505
|
function Crouton(config) {
|
|
16343
16506
|
var self = this;
|
|
16344
16507
|
self.mutex = false;
|
|
@@ -16429,6 +16592,7 @@ function Crouton(config) {
|
|
|
16429
16592
|
distance_units: 'miles',
|
|
16430
16593
|
noMap: false,
|
|
16431
16594
|
maxTomatoWidth: 160,
|
|
16595
|
+
caption: false,
|
|
16432
16596
|
};
|
|
16433
16597
|
|
|
16434
16598
|
self.setConfig(config);
|
|
@@ -16445,6 +16609,9 @@ function Crouton(config) {
|
|
|
16445
16609
|
});
|
|
16446
16610
|
self.config['custom_query'] = original_query;
|
|
16447
16611
|
};
|
|
16612
|
+
self.registerPartial = function(name, template) {
|
|
16613
|
+
crouton_Handlebars.registerPartial(name, crouton_Handlebars.compile(template));
|
|
16614
|
+
};
|
|
16448
16615
|
self.getMeetings = function(url,cb=null) {
|
|
16449
16616
|
var promises = [fetchJsonp(this.config['root_server'] + url).then(function(response) { return response.json(); })];
|
|
16450
16617
|
|
|
@@ -16476,7 +16643,9 @@ function Crouton(config) {
|
|
|
16476
16643
|
cb && cb();
|
|
16477
16644
|
return;
|
|
16478
16645
|
}
|
|
16479
|
-
|
|
16646
|
+
if (self.config['exclude_zip_codes'].length > 0) {
|
|
16647
|
+
mainMeetings['meetings'] = mainMeetings['meetings'].filter(function(m) { return !inArray(m['location_postal_code_1'], self.config['exclude_zip_codes']); } );
|
|
16648
|
+
}
|
|
16480
16649
|
self.meetingData = mainMeetings['meetings'];
|
|
16481
16650
|
self.formatsData = mainMeetings['formats'];
|
|
16482
16651
|
if (extraMeetings) {
|
|
@@ -16632,13 +16801,22 @@ function Crouton(config) {
|
|
|
16632
16801
|
self.dayTab = function(day_id) {
|
|
16633
16802
|
self.hideAllPages();
|
|
16634
16803
|
jQuery('.nav-tabs a[href="#tab' + day_id + '"]').tab('show');
|
|
16635
|
-
|
|
16804
|
+
jQuery("#" + day_id).removeClass("hide").addClass("show");
|
|
16636
16805
|
};
|
|
16637
16806
|
self.dayTabFromId = function(id) {
|
|
16638
16807
|
day_id = self.meetingData.find((m)=>m.id_bigint == id).weekday_tinyint;
|
|
16639
16808
|
self.dayTab(day_id);
|
|
16640
16809
|
};
|
|
16641
16810
|
self.showPage = function (id) {
|
|
16811
|
+
jQuery(id+" .bmlt-data-row-placeholder").each(function() {
|
|
16812
|
+
const meetingId = this.dataset.meetingid;
|
|
16813
|
+
const placeHolder = jQuery(this);
|
|
16814
|
+
const placeholderText = this.outerHTML;
|
|
16815
|
+
const meetingRow = jQuery("#"+meetingId);
|
|
16816
|
+
meetingRow.before(placeholderText);
|
|
16817
|
+
placeHolder.replaceWith(meetingRow);
|
|
16818
|
+
});
|
|
16819
|
+
self.addStripes();
|
|
16642
16820
|
jQuery(id).removeClass("hide").addClass("show");
|
|
16643
16821
|
};
|
|
16644
16822
|
|
|
@@ -16674,12 +16852,12 @@ function Crouton(config) {
|
|
|
16674
16852
|
self.highlightButton("#day");
|
|
16675
16853
|
jQuery('.bmlt-page').each(function (index) {
|
|
16676
16854
|
self.hidePage("#" + this.id);
|
|
16677
|
-
self.hidePage("#days");
|
|
16678
|
-
self.showPage("#byday");
|
|
16679
|
-
self.hidePage("#nav-days");
|
|
16680
|
-
self.hidePage("#tabs-content");
|
|
16681
16855
|
return;
|
|
16682
16856
|
});
|
|
16857
|
+
self.hidePage("#days");
|
|
16858
|
+
self.showPage("#byday");
|
|
16859
|
+
self.hidePage("#nav-days");
|
|
16860
|
+
self.hidePage("#tabs-content");
|
|
16683
16861
|
};
|
|
16684
16862
|
|
|
16685
16863
|
self.dayView = function () {
|
|
@@ -16687,11 +16865,11 @@ function Crouton(config) {
|
|
|
16687
16865
|
self.highlightButton("#day");
|
|
16688
16866
|
jQuery('.bmlt-page').each(function (index) {
|
|
16689
16867
|
self.hidePage("#" + this.id);
|
|
16690
|
-
self.showPage("#days");
|
|
16691
|
-
self.showPage("#nav-days");
|
|
16692
|
-
self.showPage("#tabs-content");
|
|
16693
16868
|
return;
|
|
16694
16869
|
});
|
|
16870
|
+
jQuery("#days").removeClass("hide").addClass("show");
|
|
16871
|
+
jQuery("#nav-days").removeClass("hide").addClass("show")
|
|
16872
|
+
self.showPage("#tabs-content");
|
|
16695
16873
|
};
|
|
16696
16874
|
|
|
16697
16875
|
self.groupedView = function (field) {
|
|
@@ -16735,9 +16913,15 @@ function Crouton(config) {
|
|
|
16735
16913
|
jQuery("#tab-pane").removeClass("show").addClass("hide");
|
|
16736
16914
|
};
|
|
16737
16915
|
self.addStripes = function() {
|
|
16738
|
-
|
|
16916
|
+
jQuery(".bmlt-data-row").removeClass("evenRow");
|
|
16917
|
+
jQuery(".bmlt-data-row").removeClass("oddRow");
|
|
16739
16918
|
jQuery(".bmlt-data-row:not(.hide)").each(function (index, value) {
|
|
16740
16919
|
jQuery(value).addClass((index % 2) ? 'oddRow' : 'evenRow');
|
|
16920
|
+
});
|
|
16921
|
+
}
|
|
16922
|
+
self.calcShowingNow = function() {
|
|
16923
|
+
var showingNow = [];
|
|
16924
|
+
jQuery(".bmlt-data-row:not(.hide)").each(function (index, value) {
|
|
16741
16925
|
const rowId = value.id.split("-");
|
|
16742
16926
|
showingNow.push(rowId[rowId.length-1]);
|
|
16743
16927
|
});
|
|
@@ -16748,8 +16932,6 @@ function Crouton(config) {
|
|
|
16748
16932
|
jQuery(".group-header").removeClass("hide");
|
|
16749
16933
|
jQuery(".meeting-group").removeClass("hide");
|
|
16750
16934
|
jQuery(".bmlt-data-row").removeClass("hide");
|
|
16751
|
-
jQuery(".bmlt-data-row").removeClass("evenRow");
|
|
16752
|
-
jQuery(".bmlt-data-row").removeClass("oddRow");
|
|
16753
16935
|
jQuery(".filter-dropdown").each(function(index, filter) {
|
|
16754
16936
|
const dataValue = filter.value.replace("a-", "");
|
|
16755
16937
|
if (dataValue === "") return;
|
|
@@ -16760,7 +16942,8 @@ function Crouton(config) {
|
|
|
16760
16942
|
jQuery(".bmlt-data-row").not("[data-" + dataType + "~='" + dataValue + "']").addClass("hide");
|
|
16761
16943
|
}
|
|
16762
16944
|
});
|
|
16763
|
-
|
|
16945
|
+
this.addStripes();
|
|
16946
|
+
var showingNow = this.calcShowingNow();
|
|
16764
16947
|
self.updateMeetingCount(showingNow);
|
|
16765
16948
|
self.updateFilters();
|
|
16766
16949
|
if (croutonMap) croutonMap.fillMap(showingNow);
|
|
@@ -16806,6 +16989,7 @@ function Crouton(config) {
|
|
|
16806
16989
|
self.renderStandaloneMap = function (selector, context, callback=null, fitBounds=true) {
|
|
16807
16990
|
hbs_Crouton['localization'] = self.localization;
|
|
16808
16991
|
crouton_Handlebars.registerPartial('meetings', hbs_Crouton.templates['meetings']);
|
|
16992
|
+
crouton_Handlebars.registerPartial('meetingsPlaceholders', hbs_Crouton.templates['meetingsPlaceholders']);
|
|
16809
16993
|
crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']);
|
|
16810
16994
|
crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
|
|
16811
16995
|
window.crouton = self;
|
|
@@ -16840,6 +17024,7 @@ function Crouton(config) {
|
|
|
16840
17024
|
self.renderView = function (selector, context, callback, fitBounds) {
|
|
16841
17025
|
hbs_Crouton['localization'] = self.localization;
|
|
16842
17026
|
crouton_Handlebars.registerPartial('meetings', hbs_Crouton.templates['meetings']);
|
|
17027
|
+
crouton_Handlebars.registerPartial('meetingsPlaceholders', hbs_Crouton.templates['meetingsPlaceholders']);
|
|
16843
17028
|
crouton_Handlebars.registerPartial('bydays', hbs_Crouton.templates['byday']);
|
|
16844
17029
|
crouton_Handlebars.registerPartial('weekdays', hbs_Crouton.templates['weekdays']);
|
|
16845
17030
|
crouton_Handlebars.registerPartial('header', hbs_Crouton.templates['header']);
|
|
@@ -16862,6 +17047,16 @@ function Crouton(config) {
|
|
|
16862
17047
|
addLive = function(id) {return id+"-live"};
|
|
16863
17048
|
}
|
|
16864
17049
|
self.showingNowCount = meetingCount;
|
|
17050
|
+
jQuery(".crouton_root_service_body").each(function() {
|
|
17051
|
+
var text = "";
|
|
17052
|
+
var field = 'name';
|
|
17053
|
+
if (this.dataset.field) field = this.dataset.field;
|
|
17054
|
+
if (self.config['service_body'].length > 0) {
|
|
17055
|
+
const sb = self.getServiceBodyDetails(self.config['service_body'][0]);
|
|
17056
|
+
if (sb) text = sb[field] ? sb[field] : "";
|
|
17057
|
+
}
|
|
17058
|
+
jQuery(this).text(text);
|
|
17059
|
+
});
|
|
16865
17060
|
jQuery(addLive('#bmlt_tabs_meeting_count')).text(meetingCount);
|
|
16866
17061
|
jQuery(addLive('#bmlt_tabs_group_count')).each(function(){
|
|
16867
17062
|
var filteredMeetings = self.meetingData;
|
|
@@ -17020,21 +17215,15 @@ function Crouton(config) {
|
|
|
17020
17215
|
|
|
17021
17216
|
self.toFarsinNumber = function( n ) {
|
|
17022
17217
|
const farsiDigits = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
|
17023
|
-
|
|
17024
|
-
|
|
17218
|
+
const ampm = {'AM':'صبح', 'PM':'بعدازظهر'};
|
|
17219
|
+
n = n.replace(/\d/g, x => farsiDigits[x]);
|
|
17220
|
+
n = n.replace(/AM|am/g, ampm['AM']);
|
|
17221
|
+
n = n.replace(/PM|pm/g, x => ampm['PM']);
|
|
17222
|
+
return n;
|
|
17025
17223
|
}
|
|
17026
17224
|
self.enrichMeetings = function (meetingData) {
|
|
17027
17225
|
var meetings = [];
|
|
17028
17226
|
|
|
17029
|
-
crouton_Handlebars.registerPartial("meetingDataTemplate", self.config['meeting_data_template']);
|
|
17030
|
-
crouton_Handlebars.registerPartial("metaDataTemplate", self.config['metadata_template']);
|
|
17031
|
-
crouton_Handlebars.registerPartial("observerTemplate", self.config['observer_template']);
|
|
17032
|
-
crouton_Handlebars.registerPartial("meetingpageTitleTemplate", self.config['meetingpage_title_template']);
|
|
17033
|
-
crouton_Handlebars.registerPartial("meetingpageContentsTemplate", self.config['meetingpage_contents_template']);
|
|
17034
|
-
crouton_Handlebars.registerPartial("meetingCountTemplate", self.config['meeting_count_template']);
|
|
17035
|
-
crouton_Handlebars.registerPartial("meetingLink", self.config['meeting_link_template']);
|
|
17036
|
-
crouton_Handlebars.registerPartial("meetingModal", self.config['meeting_modal_template']);
|
|
17037
|
-
|
|
17038
17227
|
let queryStringChar = '?';
|
|
17039
17228
|
if (self.config.meeting_details_href) {
|
|
17040
17229
|
if (self.config.meeting_details_href.indexOf('?') >= 0) queryStringChar = '&';
|
|
@@ -17197,6 +17386,37 @@ function Crouton(config) {
|
|
|
17197
17386
|
self.distanceTabAllowed = true;
|
|
17198
17387
|
}
|
|
17199
17388
|
}
|
|
17389
|
+
self.setUpPartials = function() {
|
|
17390
|
+
crouton_Handlebars.registerHelper('hasBMLT2ics', function() {return crouton.config['bmlt2ics'].length>0;});
|
|
17391
|
+
crouton_Handlebars.registerHelper('BMLT2ics', function() {return crouton.config['bmlt2ics'];});
|
|
17392
|
+
self.registerPartial('icsButton',
|
|
17393
|
+
'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics" id="share-button" class="btn btn-primary btn-xs" ><span class="glyphicon glyphicon-download-alt"></span> {{getWord "bmlt2ics"}}</a>');
|
|
17394
|
+
self.registerPartial('offerIcsButton', "{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}");
|
|
17395
|
+
crouton_Handlebars.registerPartial('directionsButton', hbs_Crouton.templates['directionsButton']);
|
|
17396
|
+
crouton_Handlebars.registerPartial('meetingDetailsButton', hbs_Crouton.templates['meetingDetailsButton']);
|
|
17397
|
+
self.registerPartial('distance',`
|
|
17398
|
+
<div class='meeting-distance{{#unless this.distance}} hide{{/unless}}' data-id='{{this.id_bigint}}'>
|
|
17399
|
+
{{getWord 'Distance'}}: {{this.distance}}
|
|
17400
|
+
</div>`);
|
|
17401
|
+
crouton_Handlebars.registerHelper('hasObserverLine', function(name, phone, email) {
|
|
17402
|
+
if (name && name.length > 0) return true;
|
|
17403
|
+
if (phone && phone.length > 0) return true;
|
|
17404
|
+
if (email && email.length > 0) return true;
|
|
17405
|
+
return false;
|
|
17406
|
+
});
|
|
17407
|
+
self.registerPartial('observerLine',`
|
|
17408
|
+
{{#if (hasObserverLine name phone email) }}
|
|
17409
|
+
<div class='observerLine'>Kontact: {{name}} <a href='tel:{{phone}}'>{{phone}}</a> <a href='mailto:{{email}}'>{{email}}</a></div>
|
|
17410
|
+
</div>{{/if}}`);
|
|
17411
|
+
self.registerPartial("meetingDataTemplate", self.config['meeting_data_template']);
|
|
17412
|
+
self.registerPartial("metaDataTemplate", self.config['metadata_template']);
|
|
17413
|
+
self.registerPartial("observerTemplate", self.config['observer_template']);
|
|
17414
|
+
self.registerPartial("meetingpageTitleTemplate", self.config['meetingpage_title_template']);
|
|
17415
|
+
self.registerPartial("meetingpageContentsTemplate", self.config['meetingpage_contents_template']);
|
|
17416
|
+
self.registerPartial("meetingCountTemplate", self.config['meeting_count_template']);
|
|
17417
|
+
self.registerPartial("meetingLink", self.config['meeting_link_template']);
|
|
17418
|
+
self.registerPartial("meetingModal", self.config['meeting_modal_template']);
|
|
17419
|
+
}
|
|
17200
17420
|
self.calculateDistance = function(meetingData) {
|
|
17201
17421
|
meetingData['distance'] = '';
|
|
17202
17422
|
if (meetingData['venue_type'] != 2) {
|
|
@@ -17367,6 +17587,7 @@ Crouton.prototype.doHandlebars = function() {
|
|
|
17367
17587
|
self.all_service_bodies.push(service_bodies[i]);
|
|
17368
17588
|
}
|
|
17369
17589
|
var enrichedMeetingData = self.enrichMeetings(self.meetingData);
|
|
17590
|
+
self.setUpPartials();
|
|
17370
17591
|
var customStartupTemplate = crouton_Handlebars.compile('{{startup}}');
|
|
17371
17592
|
customStartupTemplate(enrichedMeetingData);
|
|
17372
17593
|
var customEnrichTemplate = crouton_Handlebars.compile('{{enrich this}}');
|
|
@@ -17510,6 +17731,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17510
17731
|
}
|
|
17511
17732
|
|
|
17512
17733
|
var enrichedMeetingData = self.enrichMeetings(self.meetingData);
|
|
17734
|
+
self.setUpPartials();
|
|
17513
17735
|
|
|
17514
17736
|
enrichedMeetingData.sort(function (a, b) {
|
|
17515
17737
|
if (a['start_time_raw'] < b['start_time_raw']) {
|
|
@@ -17700,7 +17922,9 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17700
17922
|
jQuery('#groupingButton_distance_in_km').addClass('hide');
|
|
17701
17923
|
}
|
|
17702
17924
|
self.addStripes();
|
|
17925
|
+
self.calcShowingNow()
|
|
17703
17926
|
self.updateMeetingCount();
|
|
17927
|
+
jQuery('#please-wait').remove();
|
|
17704
17928
|
if (self.config['map_search'] != null || self.config['show_map']) {
|
|
17705
17929
|
jQuery(".bmlt-data-row").css({cursor: "pointer"});
|
|
17706
17930
|
jQuery(".bmlt-data-row").click(function (e) {
|
|
@@ -17767,15 +17991,6 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17767
17991
|
jQuery('.directions-map-modal-close').on('click', function (e) {
|
|
17768
17992
|
closeDirectionsMapModal()
|
|
17769
17993
|
});
|
|
17770
|
-
/****
|
|
17771
|
-
jQuery('.custom-ul').on('click', 'a', function (event) {
|
|
17772
|
-
jQuery('.bmlt-page').each(function (index) {
|
|
17773
|
-
self.hidePage("#" + this.id);
|
|
17774
|
-
self.showPage("#" + event.target.id);
|
|
17775
|
-
return;
|
|
17776
|
-
});
|
|
17777
|
-
});
|
|
17778
|
-
*/
|
|
17779
17994
|
if (self.config['has_tabs']) {
|
|
17780
17995
|
jQuery('.nav-tabs a').on('click', function (e) {
|
|
17781
17996
|
e.preventDefault();
|
|
@@ -17789,8 +18004,8 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17789
18004
|
jQuery('#tab' + n).show();
|
|
17790
18005
|
}
|
|
17791
18006
|
|
|
17792
|
-
|
|
17793
|
-
|
|
18007
|
+
jQuery('.bmlt-header').removeClass("hide").addClass("show");
|
|
18008
|
+
jQuery(".bmlt-tabs").removeClass("hide").addClass("show");
|
|
17794
18009
|
|
|
17795
18010
|
if (self.config['default_filter_dropdown'] !== "") {
|
|
17796
18011
|
var filter = self.config['default_filter_dropdown'].toLowerCase().split("=");
|
|
@@ -17812,7 +18027,7 @@ Crouton.prototype.render = function(doMeetingMap = false, fitBounds=true) {
|
|
|
17812
18027
|
}
|
|
17813
18028
|
if (self.config['view_by'] == 'map' && !self.config['map_page'])
|
|
17814
18029
|
self.config['view_by'] = 'day';
|
|
17815
|
-
|
|
18030
|
+
self.showView(self.config['view_by'], self.meetingData.length);
|
|
17816
18031
|
if (self.config['on_complete'] != null && isFunction(self.config['on_complete'])) {
|
|
17817
18032
|
self.config['on_complete']();
|
|
17818
18033
|
}
|
|
@@ -18123,32 +18338,11 @@ crouton_Handlebars.registerHelper('times', function(n, block) {
|
|
|
18123
18338
|
accum += block.fn(i);
|
|
18124
18339
|
return accum;
|
|
18125
18340
|
});
|
|
18126
|
-
|
|
18127
|
-
return crouton.config['bmlt2ics'].length>0;});
|
|
18128
|
-
crouton_Handlebars.registerHelper('BMLT2ics', function() {return crouton.config['bmlt2ics'];});
|
|
18129
|
-
crouton_Handlebars.registerPartial('icsButton',
|
|
18130
|
-
'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics" id="share-button" class="btn btn-primary btn-xs" ><span class="glyphicon glyphicon-download-alt"></span> {{getWord "bmlt2ics"}}</a>');
|
|
18131
|
-
crouton_Handlebars.registerPartial('offerIcsButton',
|
|
18132
|
-
"{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}");
|
|
18133
|
-
crouton_Handlebars.registerPartial('directionsButton', hbs_Crouton.templates['directionsButton']);
|
|
18134
|
-
crouton_Handlebars.registerPartial('meetingDetailsButton', hbs_Crouton.templates['meetingDetailsButton']);
|
|
18135
|
-
crouton_Handlebars.registerPartial('distance',`
|
|
18136
|
-
<div class='meeting-distance{{#unless this.distance}} hide{{/unless}}' data-id='{{this.id_bigint}}'>
|
|
18137
|
-
{{getWord 'Distance'}}: {{this.distance}}
|
|
18138
|
-
</div>`);
|
|
18341
|
+
|
|
18139
18342
|
function convertToPunyCode(str) {
|
|
18140
18343
|
return str !== undefined ? punycode.toASCII(str.toLowerCase()).replace(/\W|_/g, "-") : "";
|
|
18141
18344
|
}
|
|
18142
18345
|
|
|
18143
|
-
function arrayColumn(input, columnKey) {
|
|
18144
|
-
var newArr = [];
|
|
18145
|
-
for (var i = 0; i < input.length; i++) {
|
|
18146
|
-
newArr.push(input[i][columnKey]);
|
|
18147
|
-
}
|
|
18148
|
-
|
|
18149
|
-
return newArr;
|
|
18150
|
-
}
|
|
18151
|
-
|
|
18152
18346
|
function getUniqueValuesOfKey(array, key){
|
|
18153
18347
|
return array.reduce(function(carry, item){
|
|
18154
18348
|
if(item[key] && !~carry.indexOf(item[key])) carry.push(item[key]);
|
|
@@ -18298,17 +18492,6 @@ Array.prototype.clean = function() {
|
|
|
18298
18492
|
return this;
|
|
18299
18493
|
};
|
|
18300
18494
|
|
|
18301
|
-
Array.prototype.exclude = function(excludedValues, mappedField) {
|
|
18302
|
-
for (var i = this.length; i--;) {
|
|
18303
|
-
for (var j = 0; j < excludedValues.length; j++) {
|
|
18304
|
-
if (excludedValues[j] === this[i][mappedField]) {
|
|
18305
|
-
this.splice(i, 1);
|
|
18306
|
-
}
|
|
18307
|
-
}
|
|
18308
|
-
}
|
|
18309
|
-
return this;
|
|
18310
|
-
};
|
|
18311
|
-
|
|
18312
18495
|
Array.prototype.sortByKey = function (key) {
|
|
18313
18496
|
this.sort(function (a, b) {
|
|
18314
18497
|
if (a[key] < b[key])
|
|
@@ -18480,7 +18663,7 @@ function MeetingMap(inConfig) {
|
|
|
18480
18663
|
|
|
18481
18664
|
function loadMap(inDiv, menuContext, handlebarMapOptions=null,cb=null,hide=false) {
|
|
18482
18665
|
if (inDiv) {
|
|
18483
|
-
crouton_Handlebars.registerPartial("markerContentsTemplate", config['marker_contents_template']);
|
|
18666
|
+
crouton_Handlebars.registerPartial("markerContentsTemplate", crouton_Handlebars.compile(config['marker_contents_template']));
|
|
18484
18667
|
gInDiv = inDiv;
|
|
18485
18668
|
createThrobber(inDiv);
|
|
18486
18669
|
if (!config.map_search) showThrobber();
|
|
@@ -18525,6 +18708,11 @@ function MeetingMap(inConfig) {
|
|
|
18525
18708
|
gDelegate.addControl(createMenuButton(menuContext), 'topright', cb);
|
|
18526
18709
|
}
|
|
18527
18710
|
}
|
|
18711
|
+
if (config.caption) {
|
|
18712
|
+
const wrapper= document.createElement('div');
|
|
18713
|
+
wrapper.innerHTML= '<div class="map-caption">'+config.caption.replace('\n','<br/>')+'</div>';
|
|
18714
|
+
gDelegate.addControl(wrapper.firstChild, 'bottomleft', cb);
|
|
18715
|
+
}
|
|
18528
18716
|
}
|
|
18529
18717
|
};
|
|
18530
18718
|
};
|
|
@@ -19088,14 +19276,14 @@ function MeetingMap(inConfig) {
|
|
|
19088
19276
|
</div>{{/each}}
|
|
19089
19277
|
</div>
|
|
19090
19278
|
`;
|
|
19279
|
+
const markerTemplate = crouton_Handlebars.compile(markerTemplateSrc);
|
|
19091
19280
|
|
|
19092
19281
|
/************************************************************************************//**
|
|
19093
19282
|
* \brief This creates a single meeting's marker on the map. *
|
|
19094
19283
|
****************************************************************************************/
|
|
19095
19284
|
function createMapMarker(meetings, openMarker) {
|
|
19096
19285
|
var main_point = [meetings[0].latitude, meetings[0].longitude];
|
|
19097
|
-
|
|
19098
|
-
var marker_html = markerTemplate(meetings);
|
|
19286
|
+
const marker_html = markerTemplate(meetings);
|
|
19099
19287
|
gDelegate.createMarker(main_point,
|
|
19100
19288
|
(meetings.length > 1),
|
|
19101
19289
|
marker_html, null, meetings.map((m)=>parseInt(m.id_bigint)), openMarker);
|