fixed routing and position
This commit is contained in:
@@ -152,4 +152,7 @@ body
|
|||||||
a
|
a
|
||||||
color: #FFF
|
color: #FFF
|
||||||
|
|
||||||
|
.row.fix
|
||||||
|
display: flex
|
||||||
|
flex-wrap: wrap
|
||||||
|
width: 100%
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
h1.sr-only = title 'Gründonnerstag'
|
h1.sr-only = title 'Gründonnerstag'
|
||||||
#map
|
#map
|
||||||
= link_to 'Neun Shop erfassen', new_greenday_path if admin?
|
= link_to 'Neuen Shop erfassen', new_greenday_path if admin?
|
||||||
|
|
||||||
.row
|
.row.fix
|
||||||
- @greendays.each do |greenday|
|
- @greendays.each do |greenday|
|
||||||
.col-xs-12.col-sm-6.col-lg-4
|
.col-xs-12.col-sm-6.col-lg-4
|
||||||
.well
|
.well
|
||||||
h2 = greenday.title
|
h2 = greenday.title
|
||||||
- if greenday.logo
|
- if greenday.logo.url(:original) != '/logos/original/missing.png'
|
||||||
= image_tag greenday.logo.url(:original), alt: '', class: 'img-responsive'
|
= image_tag greenday.logo.url(:original), alt: '', class: 'img-responsive'
|
||||||
address = simple_format(greenday.address)
|
address = simple_format(greenday.address)
|
||||||
- if greenday.homepage
|
- if greenday.homepage
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ de:
|
|||||||
numbers: zahlen
|
numbers: zahlen
|
||||||
statementes: statements
|
statementes: statements
|
||||||
collection_concept: Sammelkonzept
|
collection_concept: Sammelkonzept
|
||||||
|
greendays: gründonnerstag
|
||||||
|
|
||||||
mongoid:
|
mongoid:
|
||||||
models:
|
models:
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ fr:
|
|||||||
numbers: chiffres
|
numbers: chiffres
|
||||||
statements: declarations
|
statements: declarations
|
||||||
collection_concept: plan_de_collecte
|
collection_concept: plan_de_collecte
|
||||||
|
greendays: jeudi_vert
|
||||||
|
|
||||||
mongoid:
|
mongoid:
|
||||||
models:
|
models:
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ it:
|
|||||||
numbers: numeri
|
numbers: numeri
|
||||||
statements: dichiarazioni
|
statements: dichiarazioni
|
||||||
collection_concept: sistema_di_raccolta
|
collection_concept: sistema_di_raccolta
|
||||||
|
greendays: giovedi_verdi
|
||||||
|
|
||||||
mongoid:
|
mongoid:
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,4 @@
|
|||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
resources :greendays
|
|
||||||
devise_for :supporters
|
devise_for :supporters
|
||||||
root to: 'supporters#new'
|
root to: 'supporters#new'
|
||||||
|
|
||||||
@@ -12,6 +11,7 @@ Rails.application.routes.draw do
|
|||||||
end
|
end
|
||||||
|
|
||||||
localized do
|
localized do
|
||||||
|
resources :greendays
|
||||||
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
|
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
|
||||||
get '/arguments', to: 'pages#show', as: :arguments, page: 'arguments'
|
get '/arguments', to: 'pages#show', as: :arguments, page: 'arguments'
|
||||||
get '/faq', to: 'pages#show', as: :faq, page: 'faq'
|
get '/faq', to: 'pages#show', as: :faq, page: 'faq'
|
||||||
|
|||||||
Reference in New Issue
Block a user