fixed routing and position
This commit is contained in:
@@ -152,4 +152,7 @@ body
|
||||
a
|
||||
color: #FFF
|
||||
|
||||
|
||||
.row.fix
|
||||
display: flex
|
||||
flex-wrap: wrap
|
||||
width: 100%
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
|
||||
h1.sr-only = title 'Gründonnerstag'
|
||||
#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|
|
||||
.col-xs-12.col-sm-6.col-lg-4
|
||||
.well
|
||||
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'
|
||||
address = simple_format(greenday.address)
|
||||
- if greenday.homepage
|
||||
|
||||
@@ -119,6 +119,7 @@ de:
|
||||
numbers: zahlen
|
||||
statementes: statements
|
||||
collection_concept: Sammelkonzept
|
||||
greendays: gründonnerstag
|
||||
|
||||
mongoid:
|
||||
models:
|
||||
|
||||
@@ -116,6 +116,7 @@ fr:
|
||||
numbers: chiffres
|
||||
statements: declarations
|
||||
collection_concept: plan_de_collecte
|
||||
greendays: jeudi_vert
|
||||
|
||||
mongoid:
|
||||
models:
|
||||
|
||||
@@ -120,6 +120,7 @@ it:
|
||||
numbers: numeri
|
||||
statements: dichiarazioni
|
||||
collection_concept: sistema_di_raccolta
|
||||
greendays: giovedi_verdi
|
||||
|
||||
mongoid:
|
||||
attributes:
|
||||
|
||||
+1
-1
@@ -1,5 +1,4 @@
|
||||
Rails.application.routes.draw do
|
||||
resources :greendays
|
||||
devise_for :supporters
|
||||
root to: 'supporters#new'
|
||||
|
||||
@@ -12,6 +11,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
localized do
|
||||
resources :greendays
|
||||
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
|
||||
get '/arguments', to: 'pages#show', as: :arguments, page: 'arguments'
|
||||
get '/faq', to: 'pages#show', as: :faq, page: 'faq'
|
||||
|
||||
Reference in New Issue
Block a user