app/views/tramway/event/events/_show_page.html.haml in tramway-event-1.8.10 vs app/views/tramway/event/events/_show_page.html.haml in tramway-event-1.9

- old
+ new

@@ -25,11 +25,10 @@ = mail_to 'kalashnikov@ulmic.ru' - if request.path == ::Tramway::Event::Engine.routes.url_helpers.event_path(event.id) = render 'tramway/landing/blocks/templates/full_page', block: event, buttons: [OpenStruct.new(title: t('.registration'), anchor: '#registration')] %main .container - -#= render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Направления IT Way'18", description: "Вы можете выбрать любое из направлений", anchor: :features), collection: sections_as_features = render 'tramway/landing/blocks/templates/features_list', collection: sections_as_features %br .row .col != event.description @@ -40,5 +39,7 @@ - sections.each_with_index do |section, index| = render 'tramway/event/sections/show_page', section: section - if index < sections.count - 1 %br = render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Оргкомитет", description: "", anchor: :organizers), collection: people_as_features, options: { image: { css: { class_name: 'circle' } } } + - ::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]