From ca9ab667a86decac371ad7167ac546be98993eae Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Sun, 26 Feb 2017 18:02:07 +0100 Subject: [PATCH] Fixed headings --- app/assets/stylesheets/application.sass | 1 + app/views/supporters/_form.slim | 3 ++- app/views/supporters/_right_side.de.slim | 6 ++++-- app/views/supporters/_right_side.fr.slim | 5 +++-- app/views/supporters/_right_side.it.slim | 5 +++-- config/locales/de.yml | 1 + config/locales/fr.yml | 1 + config/locales/it.yml | 1 + 8 files changed, 16 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/application.sass b/app/assets/stylesheets/application.sass index 0a4e21d..6dd0a42 100644 --- a/app/assets/stylesheets/application.sass +++ b/app/assets/stylesheets/application.sass @@ -16,6 +16,7 @@ $brand-success: #66903F $font-size-base: 16px +$font-size-h3: $font-size-base @import "bootstrap-sprockets" @import "bootstrap" diff --git a/app/views/supporters/_form.slim b/app/views/supporters/_form.slim index 96fa403..d821b0f 100644 --- a/app/views/supporters/_form.slim +++ b/app/views/supporters/_form.slim @@ -19,6 +19,7 @@ = render 'shared/counter' .row .col-xs-12.col-md-7 + h2.sr-only =t('.form') = simple_form_for @supporter do |f| = f.input :first_name, placeholder: t('.placeholders.first_name') = f.input :last_name, placeholder: t('.placeholders.last_name') @@ -79,5 +80,5 @@ }).on('typeahead:selected', function(event, datum) { $("#supporter_city").val(datum.city); }); - .col-md-5.col-xs-12 + aside.col-md-5.col-xs-12 = render 'right_side' \ No newline at end of file diff --git a/app/views/supporters/_right_side.de.slim b/app/views/supporters/_right_side.de.slim index b869d6c..77f0643 100644 --- a/app/views/supporters/_right_side.de.slim +++ b/app/views/supporters/_right_side.de.slim @@ -1,4 +1,5 @@ .well + h2.sr-only Über die Initiative p = image_tag 'li_logo.svg', class: 'img-responsive', alt: 'Logo des Vereins Legalize it!' p Wir wollen die nötigen Unterschriften für eine Volksinitiative zur Cannabis-Legalisierung sammeln. Für die Umsetzung setzt man auf ein neues Sammelkonzept. Dies funktioniert in drei Schritten: @@ -21,9 +22,10 @@ / p.embed-responsive.embed-responsive-4by3 iframe src="https://www.youtube.com/embed/videoseries?list=PLlC7Go4yV6YKunLd6O627HTQlNswQQ6vw" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen - strong Wer steht hinter dieser Aktion? + h3 Wer steht hinter dieser Aktion? p Die Aktion wurde von Mitgliedern des Verein Legalize it! initiiert. Seit 25 Jahren helfen wir vom Verein Legalize it! Menschen, die mit THC-Produkten Umgang pflegen, bei den unterschiedlichsten Fragen. - strong Kontakt + + h3 Kontakt p | Nino Forrer (#{mail_to 'nino@hanflegal.ch'}) em Strategie / Presse diff --git a/app/views/supporters/_right_side.fr.slim b/app/views/supporters/_right_side.fr.slim index 5964c09..4a1ed25 100644 --- a/app/views/supporters/_right_side.fr.slim +++ b/app/views/supporters/_right_side.fr.slim @@ -1,4 +1,5 @@ .well + h2.sr-only A propos de l'initiative p = image_tag 'li_logo.svg', class: 'img-responsive', alt: 'Logo de l\'association Legalize It!' p Nous voulons recueillir les signatures nécessaires pour une initiative populaire pour la légalisation du cannabis. Pour l’exécution de ce projet, un nouveau concept de collection a été mis sur pieds. Cela fonctionne en trois étapes: @@ -16,10 +17,10 @@ p Plus d'informations peuvent être trouvées sous #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'} - strong Qui se trouve derrière cette action? + h3 Qui se trouve derrière cette action? p L'action a été lancée par les membres de l'association Legalize It!. Depuis 25 ans, nous, de l’association Legalize It!, aidons les gens qui utilisent des produits à base de THC et répondons volontiers à leurs questions. - strong Contact + h3 Contact p | Nino Forrer (#{mail_to 'nino@hanflegal.ch'}) em Stratégie / Presse diff --git a/app/views/supporters/_right_side.it.slim b/app/views/supporters/_right_side.it.slim index 77f2499..1ba1957 100644 --- a/app/views/supporters/_right_side.it.slim +++ b/app/views/supporters/_right_side.it.slim @@ -1,4 +1,5 @@ .well + h2.sr-only A proposito l'iniziativa p = image_tag 'li_logo.svg', class: 'img-responsive', alt: 'Logo dell\'associazione Legalize It!' p Vogliamo raccogliere le firme necessarie per un'iniziativa popolare per la legalizzazione della cannabis. Per implementare l'accento su un nuovo concetto collettivo. Questo funziona in tre fasi: @@ -17,10 +18,10 @@ p Più informazioni le trovi su #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'} - strong Chi c’é dietro questa azione? + h3 Chi c’é dietro questa azione? p L'azione è stata sostenuta da membri dell'associazione Legalize It! Da 25 anni aiutiamo l'associazione Legalize It! Le persone che si prendono cura con prodotti THC si occupano di una vasta gamma di questioni. - strong Contatti + h3 Contatti p | Nino Forrer (#{mail_to 'nino@hanflegal.ch'}) em Strategie / Presse diff --git a/config/locales/de.yml b/config/locales/de.yml index c677b9b..495202a 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -16,6 +16,7 @@ de: supporters: form: + form: Formular lang: Sprache logo: Logo der Initiative title_html: Ja, ich will Cannabis in der Schweiz legalisieren diff --git a/config/locales/fr.yml b/config/locales/fr.yml index cc21237..39f05e9 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -16,6 +16,7 @@ fr: supporters: form: + form: Formulaire lang: Langue logo: Logo de l'initiative title_html: Oui, je veux légaliser le cannabis en Suisse. diff --git a/config/locales/it.yml b/config/locales/it.yml index a84873c..ac3ba9a 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -16,6 +16,7 @@ it: supporters: form: + form: Modulo lang: Lingua logo: Logo dell'iniziativa title_html: Si, voglio legalizzare la cannabis in Svizzera