Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <footer id="new-footer" class="footer">
- <div class="clearfix">
- {{ portal | link_to_privacy_policy_new }}
- {{ portal | link_to_cookie_law_new}}
- {{ portal | portal_copyright_new }}
- </div>
- {%unless portal.portal_phone == blank%}
- <div class="show-in-mobile mob-phone">
- <a href="tel:{{portal.portal_phone}}">
- <i class="icon-phone"></i>
- {{portal.portal_phone}}
- </a>
- </div>
- {%endunless%}
- </footer>
- <script src="https://freshservicecounter.ringteam.com/ringteam_portal_customization.js"></script>
- <script>
- jQuery(document).on('ready', async function(){
- console.log('[INIT]')
- //LOCAL STORAGE COLLECT
- const localStorage = window.localStorage;
- localStorage.setItem('userName', "{{current_user.phone}}".replace(/'/g, "'"));
- localStorage.setItem('userEmail', '{{current_user.email}}');
- localStorage.setItem('userJobTitle', '{{current_user.job_title}}');
- localStorage.setItem('userId', '{{current_user.id}}');
- //LOCAL STORAGE COLLECT END
- if (window.location.pathname === "/support/catalog/items/136") {
- window.durationList = {
- "...": false,
- "Full day": true,
- "Half day": true,
- "Short visit (up to 2 hours)": false
- }
- window.officeList = {
- "...": false,
- "BC Platforma": true,
- "Lviv": true,
- "Lab64": true,
- "Lab72": true,
- "Lab72 / 1": true,
- "Rancho 1": false,
- "Rancho 2": false,
- "QA Studio": false,
- "New QA Studio": false,
- "Community": false,
- "Lab62": false,
- "Zeus Lab": true,
- "FW Automation Lab": true,
- "Brody & Jaws Garage": true
- }
- window.officeMeido = {
- "...": false,
- "BC Platforma": true,
- "Lviv": false,
- "Lab64": true,
- "Lab72": true,
- "Lab72 / 1": true,
- "Rancho 1": false,
- "Rancho 2": false,
- "QA Studio": false,
- "New QA Studio": false,
- "Community": false,
- "Lab62": false,
- "Zeus Lab": true,
- "FW Automation Lab": true,
- "Brody & Jaws Garage": false
- }
- window.officeCapacity = ["Lab64","Lab62","Zeus Lab","BC Platforma"]
- window.officeParking = ["Lab62","Lab64","Lab72","Lab72 / 1","Zeus Lab","BC Platforma","Lviv","FW Automation Lab"]
- window.officeParkingLabels = {
- "Book parking Troitskyi (V.Vasylkivska st. 53-55A)": ["Lab62","Lab64","Lab72","Lab72/1","Zeus Lab","BC Platforma"], ////////to edit parking check box name //////////////
- "Book parking (Popovycha st. 9)": ["Lviv"]
- }
- window.officeAddress = {
- "...": "",
- "BC Platforma": "м. Київ, вул. Короленківська 3, 11 поверх",
- "Lviv": "м. Львів, вул. Поповича, 9",
- "Lab64": "м. Київ, вул. Велика Васильківська 64",
- "Lab72": "м. Київ, вул. Велика Васильківська 72",
- "Lab72 / 1": "м. Київ, вул. Велика Васильківська 72",
- "Rancho 1": "м. Київ, пров. Малокитаївський, 12",
- "Rancho 2": "м. Київ, вул. Травнева 28",
- "QA Studio": "м. Київ, вул. Північно-Сирецька 1-3",
- "New QA Studio": "м. Київ, просп. Перемоги 53",
- "Community": "м. Київ, вул. Євгена Коновальця 44, 2 поверх",
- "Lab62": "м. Київ, вул. Велика Васильківська 62",
- "Zeus Lab": "м. Київ, вул. Велика Васильківська 72",
- "FW Automation Lab": "м. Київ, вул. Велика Васильківська 62, 5 поверх",
- "Brody & Jaws Garage": "м. Київ, вул.Магнітогорська 1"
- }
- window.accessWeek = {
- "...": false,
- "Current week": true,
- "Next week": true
- }
- window.mealTypes = [
- "Custom menu",
- "Standard",
- "Vegetarian",
- "Vegan"
- ]
- window.fsFields = {
- duration: "requested_item_values_136_requested_item_value_attributes_cf_visit_duration_270753",
- support_with_lunch: "requested_item_values_136_requested_item_value_attributes_cf_support_with_lunch_270753",
- access_week: "requested_item_values_136_requested_item_value_attributes_cf_access_type_270753",
- lunch_type: "requested_item_values_136_requested_item_value_attributes_cf_select_your_meal_preference_270753",
- office: "requested_item_values_136_requested_item_value_attributes_cf_office_270753",
- dates: [
- "requested_item_values_136_requested_item_value_attributes_cf_day1_270753_date",
- "requested_item_values_136_requested_item_value_attributes_cf_day2_270753_date",
- "requested_item_values_136_requested_item_value_attributes_cf_day3_270753_date",
- "requested_item_values_136_requested_item_value_attributes_cf_day4_270753_date",
- "requested_item_values_136_requested_item_value_attributes_cf_day5_270753_date",
- "requested_item_values_136_requested_item_value_attributes_cf_day6_270753_date",
- "requested_item_values_136_requested_item_value_attributes_cf_day7_270753_date" //ДОБАВИТЬ ДОПОЛНИТЕЛЬНІЕ ДНИ - скопировать айдишники каждого поля_ РЕАЛЬНІЙ РЕКВЕСТ//
- ],
- additional_locations: [
- "requested_item_values_136_requested_item_value_attributes_cf_do_you_plan_to_visit_any_additional_location_during_the_requested_period_nbsp_270753",
- "requested_item_values_136_requested_item_value_attributes_cf_additional_location_2_270753"
- ],
- meido: "requested_item_values_136_requested_item_value_attributes_cf_meido_body_270753",
- meido_text: "requested_item_values_136_requested_item_value_attributes_cf_meido_menu_270753",
- document_text: "requested_item_values_136_requested_item_value_attributes_cf__270753",
- document_check: "requested_item_values_136_requested_item_value_attributes_cf_v_270753",
- addloc: "requested_item_values_136_requested_item_value_attributes_cf_additional_location_data_270753",
- addloc_text: "requested_item_values_136_requested_item_value_attributes_cf_additional_location_270753",
- parking: "requested_item_values_136_requested_item_value_attributes_cf_parking_270753",
- car_plate: "requested_item_values_136_requested_item_value_attributes_cf_car_plate_registration_number_for_non_lviv_team_members_270753"
- }
- // -------------------------
- window.meidoActive = true
- window.meidoToken = "test"
- // -------------------------
- // -------------------------
- window.capacityActive = true
- // -------------------------
- window.parkingActive = true
- window.parkingLvivNoCurrentWeek = false //скрыть паркинг на карент вик для львова//
- }
- })
- </script>
- <script src="https://freshservicecounter.ringteam.com/portal-poshta-handler.js"></script>
- <script src="https://freshservicecounter.ringteam.com/portal-location-handler.js"></script>
- <script src="https://freshservicecounter.ringteam.com/ringteam_wfo.js"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement