Browse Source

A few more absolute urls

development
Godwin 9 years ago
parent
commit
feab2beb95
  1. 0
      app/assets/images/workshop.jpg
  2. 2
      app/views/application/404.html.haml
  3. 4
      app/views/application/about.html.haml
  4. 2
      app/views/application/permission_denied.html.haml
  5. 2
      app/views/pages/translations_index.html.haml
  6. 2
      app/views/translations/index.html.haml

0
app/assets/images/xconference.jpg → app/assets/images/workshop.jpg

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

2
app/views/application/404.html.haml

@ -1,5 +1,5 @@
- content_for :banner do - content_for :banner do
- image = image_url(@banner_image || 'empty-racks.jpg') - image = image_path(@banner_image || 'empty-racks.jpg')
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"} #header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
- if capable_of(:svg) - if capable_of(:svg)
= render 'application/banner_image.svg', {:image => image} = render 'application/banner_image.svg', {:image => image}

4
app/views/application/about.html.haml

@ -1,4 +1,4 @@
= render :partial => 'application/header', :locals => {:page_group => 'about', :page_key => 'About_BikeBike', :image_file => 'xconference.jpg'} = render :partial => 'application/header', :locals => {:page_group => 'about', :page_key => 'About_BikeBike', :image_file => 'workshop.jpg'}
%article %article
= row do = row do
= columns(medium: 12) do = columns(medium: 12) do
@ -16,7 +16,7 @@
%p=_'articles.about_bikebike.paragraphs.Who_is_Invited', :p %p=_'articles.about_bikebike.paragraphs.Who_is_Invited', :p
= columns(medium: 12) do = columns(medium: 12) do
%h3=_'articles.about_bikebike.headings.Types_of_Workshops', :t %h3=_'articles.about_bikebike.headings.Types_of_Workshops', :t
%figure{style: "background-image: url(#{image_url('columbus_people.jpg')})"} %figure{style: "background-image: url(#{image_path('columbus_people.jpg')})"}
%p=_'articles.about_bikebike.paragraphs.Types_of_Workshops', :p %p=_'articles.about_bikebike.paragraphs.Types_of_Workshops', :p
= columns(medium: 12) do = columns(medium: 12) do
%h3=_'articles.about_bikebike.headings.Amenities', :t %h3=_'articles.about_bikebike.headings.Amenities', :t

2
app/views/application/permission_denied.html.haml

@ -1,5 +1,5 @@
- content_for :banner do - content_for :banner do
- image = image_url(@banner_image || '403.jpg') - image = image_path(@banner_image || '403.jpg')
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"} #header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
- if capable_of(:svg) - if capable_of(:svg)
= render 'application/banner_image.svg', {:image => image} = render 'application/banner_image.svg', {:image => image}

2
app/views/pages/translations_index.html.haml

@ -1,5 +1,5 @@
- content_for :banner do - content_for :banner do
- image = image_url('grafitti.jpg') - image = image_path('grafitti.jpg')
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"} #header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
- if capable_of(:svg) - if capable_of(:svg)
= render 'application/banner_image.svg', {:image => image} = render 'application/banner_image.svg', {:image => image}

2
app/views/translations/index.html.haml

@ -1,5 +1,5 @@
- content_for :banner do - content_for :banner do
- image = image_url('grafitti.jpg') - image = image_path('grafitti.jpg')
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"} #header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
- if capable_of(:svg) - if capable_of(:svg)
= render 'application/banner_image.svg', {:image => image} = render 'application/banner_image.svg', {:image => image}

Loading…
Cancel
Save