mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
commit
8b831b1977
3 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
%div.scroll-top-wrapper
|
||||
.scroll-top-wrapper
|
||||
= link_to "#banner", class: "smoothscroll" do
|
||||
%i.fa.fa-2x.fa-arrow-circle-up
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
%a{ href: '#', data: { toggle: 'modal', target: "#modal_#{sponsor.id}" } }
|
||||
= image_tag get_logo(sponsor), class: "img-responsive img-sponsor img-sponsor-#{sponsorship_level.position}"
|
||||
|
||||
%div.modal.fade{ id: "modal_#{sponsor.id}" }
|
||||
.modal.fade{ id: "modal_#{sponsor.id}" }
|
||||
.modal-dialog
|
||||
.modal-content
|
||||
.modal-header
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@
|
|||
.tab-content
|
||||
- commercials.each.with_index(1) do |commercial, index|
|
||||
- if index == 1
|
||||
%div.tab-pane.active{'id'=>"#{index}"}
|
||||
.tab-pane.active{'id'=>"#{index}"}
|
||||
.flexvideo
|
||||
= render partial: 'shared/media_item', locals: { commercial: commercial }
|
||||
- else
|
||||
%div.tab-pane{'id'=>"#{index}"}
|
||||
.tab-pane{'id'=>"#{index}"}
|
||||
.flexvideo
|
||||
= render partial: 'shared/media_item', locals: { commercial: commercial }
|
||||
= render partial: 'shared/media_item', locals: { commercial: commercial }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue