- base_url = "http://#{request.host_with_port}" - @base_url = base_url - @@contact_type = "rental" - @@url = request.original_url - @locale = I18n.locale.to_s - @pag_title = t('hotelsultanclub_title_show_sitemap') - @pag_description = t('hotelsultanclub_description_show_sitemap') - @pag_keywords = t('hotelsultanclub_keywords_show_sitemap') - @principal_bg = true - @og_title = t('hotelsultanclub_title_show_sitemap') - @og_type = t('real_estate') - @og_url = request.original_url - @og_image = "/assets/web_hotelsultanclub/the-grand-selection-logo-og.jpg" - @og_description = t('hotelsultanclub_description_show_sitemap') - @hreflang_en = "https://#{request.host}"+hotelsultanclub_sitemap_html_en_path - @hreflang_es = "https://#{request.host}"+hotelsultanclub_sitemap_html_es_path - @hreflang_ru = "https://#{request.host}"+(CGI.unescape(hotelsultanclub_sitemap_html_ru_path)) .container .row %h1.center.sitemap-title .div-buscador.buscador-shadow = t('sitemap').mb_chars.upcase .col-lg-12.col-md-12.col-sm-12.col-xs-12.center %h4.sitemap-title-n = t('hotel_sultan_club_marbella').mb_chars.upcase %ul.sitemap %li %a{:href => hotelsultanclub_w_hotel_apartments_path, :title => t('hotel_and_apartments')} = t('hotel_and_apartments') %li %a{:href => hotelsultanclub_w_prices_path, :title => t('prices')} = t('prices') %li %a{:href => hotelsultanclub_w_marbella_index_path, :title => t('marbella')} = t('marbella') %li %a{:href => hotelsultanclub_w_restaurants_path, :title => t('monarque')} = t('monarque') %li %a{:href => hotelsultanclub_w_activities_path, :title => t('restaurants')} = t('restaurants') %li %a{:href => hotelsultanclub_w_activities_path, :title => t('activities')} = t('activities') %li %a{:href => hotelsultanclub_w_booking_index_path, :title => t('booking')} = t('booking') %li %a{href: hotelsultanclub_w_cookies_path} = t('cookies-policy') .col-lg-12.col-md-12.col-sm-12.col-xs-12.center %h4.sitemap-title-n = t('restaurants').mb_chars.upcase %ul.sitemap.center - @restaurants.order("id").each do |restaurant| - if @locale == "en" - @title = restaurant.title_en - if @locale == "es" - @title = restaurant.title_es - if @locale == "ru" - @title = restaurant.title_ru %li %a{href: hotelsultanclub_w_restaurant_path(restaurant), :title => @title} = @title + " (" + "TGS-R" + restaurant.id.to_s + ")" .col-lg-12.col-md-12.col-sm-12.col-xs-12.center %h4.sitemap-title-n = t('activities').mb_chars.upcase %ul.sitemap.center - @activities.order("id").each do |activity| - if @locale == "en" - @title = activity.title_en - if @locale == "es" - @title = activity.title_es - if @locale == "ru" - @title = activity.title_ru %li %a{href: hotelsultanclub_w_activity_path(activity), :title => @title} = @title + " (" + "TGS-AC" + activity.id.to_s + ")" .col-lg-12.col-md-12.col-sm-12.col-xs-12.center %h4.sitemap-title-n = t('services').mb_chars.upcase %ul.sitemap.center - @services.order("id").each do |service| - if @locale == "en" - @title = service.title_en - if @locale == "es" - @title = service.title_es - if @locale == "ru" - @title = service.title_ru %li %a{href: hotelsultanclub_w_service_path(service), :title => @title} = @title + " (" + "TGS-S" + service.id.to_s + ")" %br = render 'layouts/hotelsultanclub/partials/index/footer'