Donation button and responsibility
This commit is contained in:
@@ -30,12 +30,19 @@ body.admin
|
|||||||
background: repeating-linear-gradient(45deg, yellow, yellow 50px, black 50px, black 100px)
|
background: repeating-linear-gradient(45deg, yellow, yellow 50px, black 50px, black 100px)
|
||||||
|
|
||||||
body
|
body
|
||||||
|
nav.languages
|
||||||
|
position: absolute
|
||||||
|
top: 12px
|
||||||
|
right: 12px
|
||||||
|
|
||||||
> .container
|
> .container
|
||||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
|
||||||
padding: 20px
|
padding: 20px
|
||||||
margin-top: 10px
|
margin-top: 10px
|
||||||
background: #FFF
|
background: #FFF
|
||||||
header
|
header
|
||||||
|
.pagelogo
|
||||||
|
max-height: 91px
|
||||||
h1
|
h1
|
||||||
font-size: 20px
|
font-size: 20px
|
||||||
margin-top: 35px
|
margin-top: 35px
|
||||||
@@ -103,3 +110,22 @@ body
|
|||||||
ol
|
ol
|
||||||
padding-left: 1em
|
padding-left: 1em
|
||||||
|
|
||||||
|
.donation_button
|
||||||
|
height: 50px
|
||||||
|
background: $brand-success
|
||||||
|
width: 200px
|
||||||
|
text-align: center
|
||||||
|
font-size: 18px
|
||||||
|
line-height: 50px
|
||||||
|
font-family: sans-serif
|
||||||
|
color: #FFF
|
||||||
|
transform: rotate(-45deg)
|
||||||
|
position: relative
|
||||||
|
top: 30px
|
||||||
|
left: -50px
|
||||||
|
box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 0.34)
|
||||||
|
|
||||||
|
a
|
||||||
|
color: #FFF
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
.donation_button
|
||||||
|
=link_to t('donation'), donation_path
|
||||||
@@ -27,6 +27,7 @@ html lang="#{I18n.locale}"
|
|||||||
meta content="#ffffff" name="theme-color" /
|
meta content="#ffffff" name="theme-color" /
|
||||||
|
|
||||||
body class="#{'admin' if controller.admin_area}"
|
body class="#{'admin' if controller.admin_area}"
|
||||||
|
= render 'donation_button'
|
||||||
javascript:
|
javascript:
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
@@ -36,7 +37,17 @@ html lang="#{I18n.locale}"
|
|||||||
ga('create', 'UA-79948850-1', 'auto');
|
ga('create', 'UA-79948850-1', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
|
|
||||||
/ = console if Rails.env.development?
|
nav.languages
|
||||||
|
h2.sr-only =t('.lang')
|
||||||
|
a href='/' lang='de'
|
||||||
|
| Deutsch
|
||||||
|
| |
|
||||||
|
a href='/it' lang='it'
|
||||||
|
| Italiano
|
||||||
|
| |
|
||||||
|
a href='/fr' lang='fr'
|
||||||
|
| Français
|
||||||
|
br/
|
||||||
.container
|
.container
|
||||||
= render 'shared/flashes'
|
= render 'shared/flashes'
|
||||||
= render 'shared/header'
|
= render 'shared/header'
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
h1 = t("Unsere Sponsoren")
|
h1 = t("Unsere Sponsoren")
|
||||||
|
.lead
|
||||||
|
| Wir suchen tatkräftige Sponsoren, die uns bei der Sammlung der Unterschriften und im späteren Wahlkampf finanziell unterstützen. Im Gegenzug ermöglichen wir den Sponsoren, sich mit Logo, einem kleinen Text und Link zu präsentieren.
|
||||||
.row
|
.row
|
||||||
.col-xs-12.col-sm-6.col-md-3
|
.col-xs-12.col-sm-6.col-md-3
|
||||||
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
||||||
@@ -11,35 +13,3 @@ h1 = t("Unsere Sponsoren")
|
|||||||
p Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
p Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||||
.col-xs-12.col-sm-6.col-md-3
|
.col-xs-12.col-sm-6.col-md-3
|
||||||
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
||||||
|
|
||||||
.row
|
|
||||||
.col-xs-12.col-sm-6.col-md-3
|
|
||||||
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
|
||||||
.col-xs-12.col-sm-6.col-md-9
|
|
||||||
h2 Ihr Firmenname
|
|
||||||
p Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
||||||
hr
|
|
||||||
.row
|
|
||||||
.col-xs-12.col-md-6
|
|
||||||
h1 = title 'Deine Spende zählt - Verein Legalize it!'
|
|
||||||
p
|
|
||||||
dl.dl-horizontal
|
|
||||||
dt Postkonto:
|
|
||||||
dd 87-091354-3, Verein Legalize it!, Postfach 2159, 8031 Zürich
|
|
||||||
dt IBAN:
|
|
||||||
dd CH02 0900 0000 8709 1354 3
|
|
||||||
dt Zahlungszweck:
|
|
||||||
dd Spende Initiative
|
|
||||||
h2 Warum kann ich nicht auch online oder per Kreditkarte spenden?
|
|
||||||
p Wir haben mehrere Versuche unternommen, dies mittels verschiedener (zahlbaren) Payment-Service-Providern zu ermöglichen, sind jedoch immer wieder gescheitert. Die Gründe dafür sind vielfältig: Zum einen bieten viele solche Dienstleister ihren Service gar nicht für Vereine an, zum anderen ist das Schweizer Vereinsrecht relativ liberal. Ein zentrales Register für Vereine wie in anderen Ländern üblich, gibt es nicht. Einzig ein Handelsregistereintrag könnte ein wenig Klarheit schaffen. Dies ist jedoch zu kostspielig und würde momentan zu viel Zeit in Anspruch nehmen. Selbst wenn wir einen solchen hätten, wäre es nicht sicher, dass Dienste wie beispielsweise PayPal uns akzeptieren würden.
|
|
||||||
p Eine andere schwierigere Hürde ist unser Umfeld. Wir haben, genau wie in Amerika, die Schwierigkeit, dass unser Themenbereich Cannabis ist. Da der Umgang mit Cannabis illegal ist, scheinen die Banken der Logik verfallen zu sein, dass alles was mit Cannabis zu tun hat, auch illegal sei, notabene auch das Ändern des illegalen Status. Viele Finanzdienstleister wie etwa Stripe.com lehnen daher jegliche Zusammenarbeit kategorisch ab.
|
|
||||||
|
|
||||||
p Somit bleibt nur zum guten alten Einzahlungsschein zu greifen beziehungsweise die richtigen Zahlenkombinationen beim E-Banking an den richtigen Stellen einzufügen.
|
|
||||||
p
|
|
||||||
b Wir würden uns freuen, wenn ihr das macht und uns finanziell unter die Arme greift.
|
|
||||||
|
|
||||||
p Danke, dein Verein Legalize it!
|
|
||||||
.col-xs-12.col-md-6
|
|
||||||
= link_to asset_path('Einzahlungsschein_Spende_Initiative.pdf') do
|
|
||||||
= image_tag('Einzahlungsschein_Spende_Initiative.jpg', class:'img-responsive pagelogo', alt: 'Einzahlungsschein Spende initiative')
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,19 +2,8 @@ header
|
|||||||
.row
|
.row
|
||||||
.col-md-1.col-xs-4
|
.col-md-1.col-xs-4
|
||||||
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
|
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
|
||||||
.col-md-8.col-xs-8
|
.col-md-7.col-xs-8
|
||||||
h1
|
h1
|
||||||
= t('.title_html')
|
= t('.title_html')
|
||||||
.col-xs-12.col-md-3
|
.col-xs-12.col-md-4.hidden-xs.hidden-sm
|
||||||
nav.pull-right
|
|
||||||
h2.sr-only =t('.lang')
|
|
||||||
a href='/' lang='de'
|
|
||||||
| Deutsch
|
|
||||||
| |
|
|
||||||
a href='/it' lang='it'
|
|
||||||
| Italiano
|
|
||||||
| |
|
|
||||||
a href='/fr' lang='fr'
|
|
||||||
| Français
|
|
||||||
br/
|
|
||||||
= render 'shared/counter'
|
= render 'shared/counter'
|
||||||
@@ -6,14 +6,13 @@ de:
|
|||||||
logo: Logo der Initiative
|
logo: Logo der Initiative
|
||||||
title_html: Ja, ich will <strong class="text-success">Cannabis</strong> in der Schweiz <strong class="text-success">legalisieren</strong>
|
title_html: Ja, ich will <strong class="text-success">Cannabis</strong> in der Schweiz <strong class="text-success">legalisieren</strong>
|
||||||
topnavigation:
|
topnavigation:
|
||||||
donation: Spenden
|
|
||||||
sign_in: Anmelden
|
sign_in: Anmelden
|
||||||
sign_out: Abmelden
|
sign_out: Abmelden
|
||||||
initiative_text: Der Initiativtext im Wortlaut
|
initiative_text: Der Initiativtext im Wortlaut
|
||||||
initiative: Die Initiative
|
initiative: Die Initiative
|
||||||
arguments: Argumentarium
|
arguments: Argumentarium
|
||||||
faq: Fragen und Antworten
|
faq: Fragen und Antworten
|
||||||
sponsoring: Sponsoren & Spenden
|
sponsoring: Sponsoren
|
||||||
numbers: Zahlen
|
numbers: Zahlen
|
||||||
statementes: Statements
|
statementes: Statements
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ de:
|
|||||||
amount_of_supporters: Zurzeit haben wir %{amount} Unterstützer.
|
amount_of_supporters: Zurzeit haben wir %{amount} Unterstützer.
|
||||||
|
|
||||||
input_error: Deine Eingaben konnte nicht gespeichert werden. Überprüfe deine Eingaben.
|
input_error: Deine Eingaben konnte nicht gespeichert werden. Überprüfe deine Eingaben.
|
||||||
|
donation: Deine Spende
|
||||||
welcome_email:
|
welcome_email:
|
||||||
subject: Besten Dank für deine Unterstützung!
|
subject: Besten Dank für deine Unterstützung!
|
||||||
|
|
||||||
@@ -109,7 +108,8 @@ de:
|
|||||||
initiative_text: initiativtext
|
initiative_text: initiativtext
|
||||||
arguments: argumentarium
|
arguments: argumentarium
|
||||||
faq: fragen_und_antworten
|
faq: fragen_und_antworten
|
||||||
sponsoring: sponsoren_und_spenden
|
sponsoring: sponsoren
|
||||||
|
donation: spenden
|
||||||
numbers: zahlen
|
numbers: zahlen
|
||||||
statementes: statements
|
statementes: statements
|
||||||
|
|
||||||
|
|||||||
@@ -11,14 +11,13 @@ fr:
|
|||||||
logo: Logo de l'initiative
|
logo: Logo de l'initiative
|
||||||
title_html: Oui, je veux <strong class="text-success">légaliser le cannabis</strong> en Suisse.
|
title_html: Oui, je veux <strong class="text-success">légaliser le cannabis</strong> en Suisse.
|
||||||
topnavigation:
|
topnavigation:
|
||||||
donation: Donation
|
|
||||||
sign_out: déconnecter
|
sign_out: déconnecter
|
||||||
sign_in: Connexion
|
sign_in: Connexion
|
||||||
initiative: l' initiative
|
initiative: l' initiative
|
||||||
initiative_text: L'initiative propose (en allemand)
|
initiative_text: L'initiative propose (en allemand)
|
||||||
arguments: Arguments (en allemand)
|
arguments: Arguments (en allemand)
|
||||||
faq: Questions et réponses (en allemand)
|
faq: Questions et réponses (en allemand)
|
||||||
sponsoring: Donation et Sponsors (en allemand)
|
sponsoring: Sponsors (en allemand)
|
||||||
numbers: Chiffres (en allemand)
|
numbers: Chiffres (en allemand)
|
||||||
statements: Déclarations
|
statements: Déclarations
|
||||||
|
|
||||||
@@ -26,6 +25,7 @@ fr:
|
|||||||
edit: Éditer
|
edit: Éditer
|
||||||
save: Sauver
|
save: Sauver
|
||||||
|
|
||||||
|
donation: Donation
|
||||||
welcome_email:
|
welcome_email:
|
||||||
subject: Merci beaucoup pour ton soutien!
|
subject: Merci beaucoup pour ton soutien!
|
||||||
|
|
||||||
@@ -104,7 +104,8 @@ fr:
|
|||||||
initiative_text: l_initiative_propose
|
initiative_text: l_initiative_propose
|
||||||
arguments: arguments
|
arguments: arguments
|
||||||
faq: questions_et_reponses
|
faq: questions_et_reponses
|
||||||
sponsoring: donation_et_sponsor
|
sponsoring: sponsor
|
||||||
|
donation: donation
|
||||||
numbers: chiffres
|
numbers: chiffres
|
||||||
statements: declarations
|
statements: declarations
|
||||||
|
|
||||||
|
|||||||
@@ -8,14 +8,13 @@ it:
|
|||||||
logo: Logo dell'iniziativa
|
logo: Logo dell'iniziativa
|
||||||
title_html: Si, voglio <strong class="text-success">legalizzare</strong> la <strong class="text-success">cannabis in Svizzera</strong>
|
title_html: Si, voglio <strong class="text-success">legalizzare</strong> la <strong class="text-success">cannabis in Svizzera</strong>
|
||||||
topnavigation:
|
topnavigation:
|
||||||
donation: Donazione
|
|
||||||
sign_out: Disconnettersi
|
sign_out: Disconnettersi
|
||||||
sign_in: Registro
|
sign_in: Registro
|
||||||
initiative_text: Il testo dell’iniziativa
|
initiative_text: Il testo dell’iniziativa
|
||||||
initiative: l'iniziativa
|
initiative: l'iniziativa
|
||||||
arguments: Argomentazioni
|
arguments: Argomentazioni
|
||||||
faq: Domande e risposte (in tedesco)
|
faq: Domande e risposte (in tedesco)
|
||||||
sponsoring: Donazione e Sponsor
|
sponsoring: Sponsor
|
||||||
numbers: Numeri (in tedesco)
|
numbers: Numeri (in tedesco)
|
||||||
statements: Dichiarazioni
|
statements: Dichiarazioni
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ it:
|
|||||||
are_you_sure: Sei sicuro?
|
are_you_sure: Sei sicuro?
|
||||||
edit: Modifica
|
edit: Modifica
|
||||||
save: Salvare
|
save: Salvare
|
||||||
|
donation: Donazione
|
||||||
welcome_email:
|
welcome_email:
|
||||||
subject: Grazie mille per il tuo sostegno!
|
subject: Grazie mille per il tuo sostegno!
|
||||||
|
|
||||||
@@ -108,7 +107,8 @@ it:
|
|||||||
initiative_text: il_testo_dell_iniziativa
|
initiative_text: il_testo_dell_iniziativa
|
||||||
arguments: argomentazioni
|
arguments: argomentazioni
|
||||||
faq: domande_e_risposte
|
faq: domande_e_risposte
|
||||||
sponsoring: donazione_e_sponsor
|
sponsoring: sponsor
|
||||||
|
donation: donazione
|
||||||
numbers: numeri
|
numbers: numeri
|
||||||
statements: dichiarazioni
|
statements: dichiarazioni
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -16,6 +16,7 @@ Rails.application.routes.draw do
|
|||||||
get '/faq', to: 'pages#show', as: :faq, page: 'faq'
|
get '/faq', to: 'pages#show', as: :faq, page: 'faq'
|
||||||
get '/terms_and_conditions', to: 'pages#show', as: :terms_and_conditions, page: 'terms_and_conditions'
|
get '/terms_and_conditions', to: 'pages#show', as: :terms_and_conditions, page: 'terms_and_conditions'
|
||||||
get '/sponsoring', to: 'pages#show', as: :sponsoring, page: 'sponsoring'
|
get '/sponsoring', to: 'pages#show', as: :sponsoring, page: 'sponsoring'
|
||||||
|
get '/donation', to: 'pages#show', as: :donation, page: 'donation'
|
||||||
get '/numbers', to: 'pages#show', as: :numbers, page: 'numbers'
|
get '/numbers', to: 'pages#show', as: :numbers, page: 'numbers'
|
||||||
get '/statements', to: 'pages#show', as: :statements, page: 'statements'
|
get '/statements', to: 'pages#show', as: :statements, page: 'statements'
|
||||||
end
|
end
|
||||||
@@ -26,7 +27,6 @@ Rails.application.routes.draw do
|
|||||||
resources :supporters
|
resources :supporters
|
||||||
resource :publicity
|
resource :publicity
|
||||||
get '/thanks', to: 'pages#thanks', as: :thanks
|
get '/thanks', to: 'pages#thanks', as: :thanks
|
||||||
get '/spenden', to: 'pages#spenden', as: :spenden
|
|
||||||
end
|
end
|
||||||
|
|
||||||
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
|
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
|
||||||
|
|||||||
Reference in New Issue
Block a user