Sha256: 7b4cf690710b6256af1aeac56a7ca3fd0731a9bcabcc488f49d14a965a0020b7
Contents?: true
Size: 1.7 KB
Versions: 3
Compression:
Stored size: 1.7 KB
Contents
= content_for :application_name do = @application&.title || t('application.name') = content_for :title do = @application&.title || t('application.name') = content_for :application_tagline do = @application&.tagline || t('application.tagline') = content_for :address do = @unity&.address = content_for :phone do = @unity&.phone = content_for :footer_links do = nil = content_for :footer_logos do = nil = content_for :latitude do = @unity&.latitude = content_for :longtitude do = @unity&.longtitude - @collection_news = @news %br .container .row-fluid %h1.text-center Ближайшие мероприятия - @close_events.each do |event| .container .row-fluid = render 'tramway/landing/blocks/templates/section_with_image_and_text', block: event - if @main_event.present? - content_for :main_image do = request.protocol + request.host_with_port + @main_event.background.url .row.main_event .col %h1.text-center = @main_event.title %h3.text-center = @main_event.duration = render 'tramway/event/events/show_page', event: @main_event, sections: @sections, sections_as_features: @sections_as_features, people_as_features: @people_as_features, partners: @main_event.partners - else - content_for :main_image do = request.protocol + request.host_with_port + @blocks.select { |block| block.model.block_type.header? }.first.background.url - ::Tramway::Partner::Partnership.partnership_type.values.each do |partnership_type| = render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: t("enumerize.tramway/partner/partnership.partnership_type.#{partnership_type}")), collection: @partners[partnership_type]
Version data entries
3 entries across 3 versions & 1 rubygems