app/views/tramway/event/events/_show_page.html.haml in tramway-event-1.10.2 vs app/views/tramway/event/events/_show_page.html.haml in tramway-event-1.11

- old
+ new

@@ -20,13 +20,12 @@ %p.mb-0 Если ошибка повторяется или не отображается, обращайтесь по телефону = tel_tag @event.responsible_person[:phone] || @application.phone или пишите на email = mail_to @event.responsible_person[:email] || @application.email -- 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')] - - content_for :main_image do - = request.protocol + request.host_with_port + event.background.url += render 'tramway/landing/blocks/templates/full_page', block: event, buttons: [OpenStruct.new(title: t('.registration'), anchor: '#registration')] +- content_for :main_image do + = request.protocol + request.host_with_port + event.background.url %main.event.show .container - if defined? sections_as_features = render 'tramway/landing/blocks/templates/features_list', collection: sections_as_features .row.description