fixed routing and position

This commit is contained in:
2017-11-12 14:05:45 +01:00
parent 7bd9a0ab22
commit 94d2d733e9
6 changed files with 11 additions and 5 deletions
+4 -1
View File
@@ -152,4 +152,7 @@ body
a
color: #FFF
.row.fix
display: flex
flex-wrap: wrap
width: 100%
+3 -3
View File
@@ -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
+1
View File
@@ -119,6 +119,7 @@ de:
numbers: zahlen
statementes: statements
collection_concept: Sammelkonzept
greendays: gründonnerstag
mongoid:
models:
+1
View File
@@ -116,6 +116,7 @@ fr:
numbers: chiffres
statements: declarations
collection_concept: plan_de_collecte
greendays: jeudi_vert
mongoid:
models:
+1
View File
@@ -120,6 +120,7 @@ it:
numbers: numeri
statements: dichiarazioni
collection_concept: sistema_di_raccolta
greendays: giovedi_verdi
mongoid:
attributes:
+1 -1
View File
@@ -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'