Author SHA1 Message Date
dependabot[bot]andGitHub 695db9c693 Bump rack from 1.6.10 to 1.6.12
Bumps [rack](https://github.com/rack/rack) from 1.6.10 to 1.6.12.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/1.6.10...1.6.12)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-19 06:15:16 +00:00
gurix af8f55fc23 fixed missing site 2019-07-09 17:53:48 +02:00
gurix 554c8cc5c3 content changes 2019-07-09 17:06:30 +02:00
gurix 5ff8944e80 removed some pages 2019-06-28 18:50:50 +02:00
gurix bac73000c1 fixed broken spec 2019-05-28 16:46:57 +02:00
gurix 0e96429f76 remove right side 2019-05-28 16:44:13 +02:00
gurix 0a47824571 content changes 2019-05-28 16:34:22 +02:00
gurix 4d369d2646 removed duftsäckli 2019-02-08 18:32:21 +01:00
gurix 6d3e30faff removed statements 2019-02-08 18:30:49 +01:00
gurix 13a27f8529 removed content 2019-02-08 18:28:47 +01:00
gurix 13342dd595 dont remove donation at the moment 2019-01-18 20:20:45 +01:00
gurix 45050f1c67 removed some content 2019-01-18 20:18:33 +01:00
Markus GrafandGitHub aab4141e5e Update _right_side.it.slim 2019-01-18 20:06:39 +01:00
Markus GrafandGitHub 3a80de2974 Update _right_side.fr.slim 2019-01-18 20:06:16 +01:00
Markus GrafandGitHub 1d8cbaba89 Update _right_side.de.slim 2019-01-18 20:05:25 +01:00
gurix e21cfd2807 changed reason for transfer 2018-10-05 20:58:31 +02:00
gurix 3a7e871909 Bundle update for the sake of security. 2018-10-05 19:07:46 +02:00
gurix 1d3989394e Remove some older content. 2018-10-05 18:42:33 +02:00
gurix aeed65d7d8 Remove donation progress. 2018-10-05 18:41:56 +02:00
gurix 4b6702a3e2 Updated address for donation. 2018-10-05 18:41:26 +02:00
gurix bafb0604dd bundle update beceause of security 2018-05-29 09:05:55 +02:00
gurix 01e39563d6 removed icon 2018-05-29 08:48:31 +02:00
gurix 3f7ff9480d Updated statistics 2018-05-29 08:48:16 +02:00
gurix 6429885f39 updated button 2018-02-10 23:52:48 +01:00
gurix 8f343a91de added cbd button 2018-02-10 23:04:31 +01:00
gurix 359717100d Merge branch 'master' of github.com:gurix/ch420 2018-01-25 14:43:28 +01:00
gurix 8785f49386 bundle update paperclip because of CVE-2017-0889 2018-01-25 14:43:10 +01:00
Markus GrafandGitHub 0cc858d22e fixed typo 2017-12-20 23:08:04 +01:00
gurix 0993d6387c using old eth address 2017-12-20 15:29:24 +01:00
gurix ed18fa6067 changed ethereum 2017-12-20 15:09:14 +01:00
gurix c7f26e1acd added ethereum 2017-12-20 12:27:48 +01:00
gurix cf566f5e9d fixed false class 2017-12-18 21:04:06 +01:00
gurix f6558753f3 Adjusted donation state 2017-12-15 23:12:43 +01:00
Markus GrafandGitHub 44bc6e1118 Update donation.de.slim 2017-12-08 16:19:06 +01:00
Markus GrafandGitHub b102223a2d Update donation.de.slim 2017-12-05 16:44:02 +01:00
gurix d883f80f18 Added statement admin link 2017-11-29 12:23:29 +01:00
gurix 58a576e011 added Geocoding key 2017-11-20 14:57:12 +01:00
gurix 4c8f3b8643 fixed broken design 2017-11-20 09:22:04 +01:00
gurix b753511096 website instead of url 2017-11-18 19:48:23 +01:00
gurix 2fb44885ce responsibility 2017-11-18 19:20:11 +01:00
gurix 4e45e94f4b changed content 2017-11-16 17:38:48 +01:00
gurix d8106e7b08 Merge branch 'staging' 2017-11-16 14:52:16 +01:00
Markus GrafandGitHub 018ddce8cf Update donation.de.slim 2017-11-14 21:28:57 +01:00
gurix a4c8b2beba added description 2017-11-12 16:35:43 +01:00
gurix 59aa0ecbaf fixed spec 2017-11-12 14:07:27 +01:00
gurix 94d2d733e9 fixed routing and position 2017-11-12 14:05:45 +01:00
gurix 7bd9a0ab22 added greenday event 2017-11-12 13:27:10 +01:00
gurix 299097e13f accessibility for focus 2017-11-11 23:50:13 +01:00
gurix 037030a140 enhanced navigation 2017-11-11 23:37:01 +01:00
Markus GrafandGitHub bd95513f59 Update numbers.de.slim 2017-11-10 15:37:10 +01:00
gurix e4a2b26d6e added missing translations 2017-11-10 12:25:14 +01:00
gurix 93a77e12a4 Refactured navigation 2017-11-10 12:18:05 +01:00
gurix e9a73ea5cb User can now add a phone number 2017-11-10 10:25:25 +01:00
Markus GrafandGitHub 06922e9316 Update thanks.de.slim 2017-11-10 10:12:01 +01:00
gurix 421f9907b9 Added password for staging 2017-11-10 09:55:40 +01:00
gurix cd6bff99e7 added secret for staging 2017-11-10 09:37:45 +01:00
gurix c82f8e1ab8 added staging envs 2017-11-10 09:33:18 +01:00
Markus GrafandGitHub aa4c9d5704 Update faq.de.slim 2017-11-09 14:58:19 +01:00
Markus GrafandGitHub b55a2ac434 Update _core_statements.de.slim 2017-11-09 14:57:12 +01:00
Markus GrafandGitHub 8c772b1e43 Update donation.de.slim 2017-10-31 15:01:13 +01:00
gurix 3c6a23036c fixed typo 2017-10-19 11:13:34 +02:00
gurix df5f4df90d Merge branch 'feature/stripe' 2017-10-18 23:33:15 +02:00
gurix c5b7b79b7b addes stripe 2017-10-18 23:32:28 +02:00
Markus GrafandGitHub bdddba4e07 Update donation.de.slim 2017-10-16 18:00:54 +02:00
gurix e44d5935f2 Support bitcoin cash 2017-10-12 22:43:47 +02:00
gurix 9387735ae6 fixed statment site. 2017-10-07 20:29:58 +02:00
gurix 050a4a88e7 bundle update all 2017-10-02 13:21:56 +02:00
gurix 7f540bc3c5 bundle update nokogiri because of CVE-2017-5029 2017-10-02 13:17:36 +02:00
gurix add8550617 fixed heading of numbers 2017-09-09 17:22:21 +02:00
gurix 5834b42266 added blog link 2017-08-29 21:05:08 +02:00
gurix fec35cfa1b initiative text version 6 2017-08-28 17:21:25 +02:00
gurix 45e96470af integrate bitcoin donations 2017-08-17 18:25:25 +02:00
Markus GrafandGitHub 82db449769 Update donation.de.slim 2017-08-16 17:44:04 +02:00
Markus GrafandGitHub ca2aea6022 Update donation.de.slim 2017-08-11 14:13:48 +02:00
Markus GrafandGitHub 49ddc08550 Update donation.de.slim 2017-08-07 10:43:18 +02:00
Markus GrafandGitHub 8957724102 Update donation.de.slim 2017-07-28 19:22:40 +02:00
Markus GrafandGitHub 506665e991 Update donation.de.slim 2017-07-17 15:58:03 +02:00
Markus GrafandGitHub 03848cb6e8 Update collection_concept.de.slim 2017-07-14 16:40:18 +02:00
Markus GrafandGitHub dfa2c02820 Update donation.de.slim 2017-07-12 17:04:59 +02:00
gurix 63f514144a some content changes 2017-07-07 18:42:30 +02:00
gurix 8d0fdf9210 content changes 2017-07-07 16:16:55 +02:00
gurix 10727a1302 added content 2017-07-07 16:07:53 +02:00
gurix 1440cfcc1e statements without redcarpet gem 2017-07-06 16:56:19 +02:00
gurix 71a5c8ee64 Disable sponsoring and add sponsoring instead 2017-07-06 16:51:04 +02:00
gurix d7d42ae241 refactored statements 2017-07-06 16:50:10 +02:00
gurix 0a20c632b8 Some statistics 2017-07-06 16:48:53 +02:00
gurix d247560fca Added read more for statements 2017-05-20 15:24:44 +02:00
gurix ebe53e40d2 fixed broken link 2017-05-02 11:13:52 +02:00
gurix 36d8787306 added faq for psychosis theory 2017-04-27 11:53:09 +02:00
gurix a1fbcac477 added donation button 2017-04-25 06:59:14 +02:00
gurix 572c21a310 hide crowdfunding 2017-04-23 20:47:38 +02:00
gurix a4b267056d fixed responsivness 2017-04-22 08:26:43 +02:00
gurix 867078a437 added crowdfunding 2017-04-22 07:39:07 +02:00
gurix e244e592ed fixed routing 2017-04-21 19:33:57 +02:00
gurix 6b7feefa16 fixed sorting of statements 2017-04-21 16:31:05 +02:00
gurix 9c6414477d added link to new statement 2017-04-19 22:52:37 +02:00
gurix d4566c7446 fixed accessing not available languages 2017-04-19 10:32:35 +02:00
gurix 1bc5f9aa7a robots.txt 2017-04-19 10:18:05 +02:00
gurix d288f26286 fixed sponsoring title 2017-04-18 17:52:09 +02:00
gurix 515519a537 fixed some translation and added social media meta tags 2017-04-18 17:45:48 +02:00
gurix 2111fe9b46 changed from mail for devise 2017-04-18 16:52:18 +02:00
gurix 1ea3806a7d removed cache data 2017-04-18 16:41:39 +02:00
125 changed files with 1275 additions and 521 deletions
+1
View File
@@ -14,3 +14,4 @@
/log/*
!/log/.keep
/tmp
.Rproj.user
+14 -5
View File
@@ -12,17 +12,29 @@ gem 'coffee-rails', '~> 4.1.0'
# gem 'therubyracer', platforms: :ruby
# Integrate Paperclip into Mongoid.
gem "mongoid-paperclip"
gem 'mongoid-paperclip'
# Markdown rendering
gem 'redcarpet'
# Stripe integration
gem 'stripe'
# Render your navigation as HTML list, link list or breadcrumbs.
gem 'simple-navigation'
# To extend paperclip with locales
gem 'paperclip-i18n'
# Amazon's S3 file hosting service
gem 'aws-sdk'
gem 'aws-sdk', '< 3.0' # see https://github.com/thoughtbot/paperclip/issues/2484
# A fixtures replacement
gem 'factory_girl'
# It's a small library to provide the Rails I18n translations on the JavaScript.
gem "i18n-js"
# Use jquery as the JavaScript library
gem 'jquery-rails'
@@ -31,9 +43,6 @@ gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Easily generate a Twitter Bootstrap navbar in your Rails app
gem 'rails_bootstrap_navbar'
# Kaminari Mongoid adapter.
gem 'kaminari-mongoid'
gem 'kaminari-actionview'
+173 -149
View File
@@ -1,76 +1,74 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.8)
actionpack (= 4.2.8)
actionview (= 4.2.8)
activejob (= 4.2.8)
actionmailer (4.2.10)
actionpack (= 4.2.10)
actionview (= 4.2.10)
activejob (= 4.2.10)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.8)
actionview (= 4.2.8)
activesupport (= 4.2.8)
actionpack (4.2.10)
actionview (= 4.2.10)
activesupport (= 4.2.10)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.8)
activesupport (= 4.2.8)
actionview (4.2.10)
activesupport (= 4.2.10)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (4.2.8)
activesupport (= 4.2.8)
activejob (4.2.10)
activesupport (= 4.2.10)
globalid (>= 0.3.0)
activemodel (4.2.8)
activesupport (= 4.2.8)
activemodel (4.2.10)
activesupport (= 4.2.10)
builder (~> 3.1)
activerecord (4.2.8)
activemodel (= 4.2.8)
activesupport (= 4.2.8)
activerecord (4.2.10)
activemodel (= 4.2.10)
activesupport (= 4.2.10)
arel (~> 6.0)
activesupport (4.2.8)
activesupport (4.2.10)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
arel (6.0.4)
autoprefixer-rails (6.7.7.1)
autoprefixer-rails (7.1.4.1)
execjs
aws-sdk (2.9.7)
aws-sdk-resources (= 2.9.7)
aws-sdk-core (2.9.7)
aws-sdk (2.10.61)
aws-sdk-resources (= 2.10.61)
aws-sdk-core (2.10.61)
aws-sigv4 (~> 1.0)
jmespath (~> 1.0)
aws-sdk-resources (2.9.7)
aws-sdk-core (= 2.9.7)
aws-sigv4 (1.0.0)
aws-sdk-resources (2.10.61)
aws-sdk-core (= 2.10.61)
aws-sigv4 (1.0.2)
bcrypt (3.1.11)
benchmark-ips (2.7.2)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-navbar (2.4.0)
gem_config (~> 0.3)
bootstrap-sass (3.3.7)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
bson (4.2.1)
bson (4.2.2)
builder (3.2.3)
byebug (9.0.6)
capybara (2.13.0)
byebug (9.1.0)
capybara (2.15.1)
addressable
mime-types (>= 1.16)
mini_mime (>= 0.1.3)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
climate_control (0.1.0)
climate_control (0.2.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.1)
coderay (1.1.2)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
@@ -79,9 +77,10 @@ GEM
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
css_parser (1.4.10)
crass (1.0.4)
css_parser (1.6.0)
addressable
debug_inspector (0.0.2)
debug_inspector (0.0.3)
derailed_benchmarks (1.3.2)
benchmark-ips (~> 2)
get_process_mem (~> 0)
@@ -90,76 +89,89 @@ GEM
rack (>= 1)
rake (> 10, < 13)
thor (~> 0.19)
devise (4.2.1)
devise (4.3.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.1)
railties (>= 4.1.0, < 5.2)
responders
warden (~> 1.2.3)
devise-i18n (1.1.2)
devise-i18n (1.2.0)
diff-lcs (1.3)
dotenv (2.2.0)
dotenv-rails (2.2.0)
dotenv (= 2.2.0)
railties (>= 3.2, < 5.1)
dotenv (2.2.1)
dotenv-rails (2.2.1)
dotenv (= 2.2.1)
railties (>= 3.2, < 5.2)
erubis (2.7.0)
execjs (2.7.0)
factory_girl (4.8.0)
factory_girl (4.8.1)
activesupport (>= 3.0.0)
faker (1.7.2)
faker (1.8.4)
i18n (~> 0.5)
font-awesome-rails (4.7.0.1)
railties (>= 3.2, < 5.1)
gem_config (0.3.1)
geocoder (1.4.3)
faraday (0.13.1)
multipart-post (>= 1.2, < 3)
ffi (1.9.25)
font-awesome-rails (4.7.0.4)
railties (>= 3.2, < 6.0)
geocoder (1.4.4)
get_process_mem (0.2.1)
globalid (0.3.7)
activesupport (>= 4.1.0)
haml (4.0.7)
globalid (0.4.1)
activesupport (>= 4.2.0)
haml (5.0.4)
temple (>= 0.8.0)
tilt
heapy (0.1.2)
i18n (0.8.1)
jbuilder (2.6.3)
activesupport (>= 3.0.0, < 5.2)
multi_json (~> 1.2)
heapy (0.1.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
i18n-js (3.0.1)
i18n (~> 0.6, >= 0.6.6)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jmespath (1.3.1)
jquery-rails (4.3.1)
jquery-rails (4.3.3)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.6)
kaminari (0.17.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kaminari-actionview (1.0.1)
kaminari (1.1.1)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.1.1)
kaminari-activerecord (= 1.1.1)
kaminari-core (= 1.1.1)
kaminari-actionview (1.1.1)
actionview
kaminari-core (= 1.0.1)
kaminari-core (1.0.1)
kaminari-core (= 1.1.1)
kaminari-activerecord (1.1.1)
activerecord
kaminari-core (= 1.1.1)
kaminari-core (1.1.1)
kaminari-mongoid (1.0.1)
kaminari-core (~> 1.0)
mongoid
loofah (2.0.3)
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
mail (2.7.0)
mini_mime (>= 0.1.1)
memory_profiler (0.9.8)
method_source (0.8.2)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_portile2 (2.1.0)
minitest (5.10.1)
mongo (2.4.1)
mini_mime (0.1.4)
mini_portile2 (2.3.0)
minitest (5.11.3)
mongo (2.4.3)
bson (>= 4.2.1, < 5.0.0)
mongoid (5.0.2)
activemodel (~> 4.0)
mongo (~> 2.1)
origin (~> 2.1)
tzinfo (>= 0.3.37)
mongoid-compatibility (0.4.1)
mongoid-compatibility (0.5.0)
activesupport
mongoid (>= 2.0)
mongoid-paperclip (0.0.11)
@@ -172,118 +184,124 @@ GEM
mongoid_paranoia (0.2.1)
mongoid (>= 4)
mongoid-compatibility
multi_json (1.12.1)
multi_json (1.12.2)
multipart-post (2.0.0)
nested_form (0.3.2)
nokogiri (1.7.1)
mini_portile2 (~> 2.1.0)
origin (2.3.0)
nokogiri (1.8.5)
mini_portile2 (~> 2.3.0)
origin (2.3.1)
orm_adapter (0.5.0)
paperclip (5.1.0)
paperclip (5.2.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
cocaine (~> 0.5.5)
mime-types
mimemagic (~> 0.3.0)
paperclip-i18n (4.3.0)
pry (0.10.4)
pry (0.11.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
method_source (~> 0.9.0)
pry-rails (0.3.6)
pry (>= 0.10.4)
public_suffix (2.0.5)
puma (3.8.2)
rack (1.6.5)
public_suffix (3.0.0)
puma (3.10.0)
rack (1.6.12)
rack-pjax (1.0.0)
nokogiri (~> 1.5)
rack (>= 1.1)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.8)
actionmailer (= 4.2.8)
actionpack (= 4.2.8)
actionview (= 4.2.8)
activejob (= 4.2.8)
activemodel (= 4.2.8)
activerecord (= 4.2.8)
activesupport (= 4.2.8)
rails (4.2.10)
actionmailer (= 4.2.10)
actionpack (= 4.2.10)
actionview (= 4.2.10)
activejob (= 4.2.10)
activemodel (= 4.2.10)
activerecord (= 4.2.10)
activesupport (= 4.2.10)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.8)
railties (= 4.2.10)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.8)
activesupport (>= 4.2.0.beta, < 5.0)
rails-dom-testing (1.0.9)
activesupport (>= 4.2.0, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
rails-i18n (4.0.9)
i18n (~> 0.7)
railties (~> 4.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_admin (1.1.1)
rails_admin (1.3.0)
builder (~> 3.1)
coffee-rails (~> 4.0)
font-awesome-rails (>= 3.0, < 5)
haml (~> 4.0)
haml (>= 4.0, < 6)
jquery-rails (>= 3.0, < 5)
jquery-ui-rails (~> 5.0)
kaminari (~> 0.14)
kaminari (>= 0.14, < 2.0)
nested_form (~> 0.3)
rack-pjax (>= 0.7)
rails (>= 4.0, < 6)
remotipart (~> 1.3)
sass-rails (>= 4.0, < 6)
rails_bootstrap_navbar (2.0.1)
bootstrap-navbar (~> 2.0)
rails (>= 3.0.0)
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (4.2.8)
actionpack (= 4.2.8)
activesupport (= 4.2.8)
railties (4.2.10)
actionpack (= 4.2.10)
activesupport (= 4.2.10)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.0.0)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rdoc (4.3.0)
remotipart (1.3.1)
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
roadie (3.2.1)
css_parser (~> 1.4.5)
nokogiri (>= 1.5.0, < 1.8.0)
roadie-rails (1.1.1)
railties (>= 3.0, < 5.1)
redcarpet (3.4.0)
remotipart (1.4.2)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
roadie (3.2.2)
css_parser (~> 1.4)
nokogiri (~> 1.5)
roadie-rails (1.2.1)
railties (>= 3.0, < 5.2)
roadie (~> 3.1)
route_translator (4.4.1)
actionpack (>= 3.2, < 5.0)
activesupport (>= 3.2, < 5.0)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-core (3.6.0)
rspec-support (~> 3.6.0)
rspec-expectations (3.6.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
rspec-support (~> 3.6.0)
rspec-mocks (3.6.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-rails (3.5.2)
rspec-support (~> 3.6.0)
rspec-rails (3.6.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
sass (3.4.23)
sass-rails (5.0.6)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-support (~> 3.6.0)
rspec-support (3.6.0)
sass (3.5.6)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
@@ -292,32 +310,35 @@ GEM
sdoc (0.4.2)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
simple_form (3.4.0)
actionpack (> 4, < 5.1)
activemodel (> 4, < 5.1)
slim (3.0.7)
temple (~> 0.7.6)
simple-navigation (4.0.5)
activesupport (>= 2.3.2)
simple_form (3.5.0)
actionpack (> 4, < 5.2)
activemodel (> 4, < 5.2)
slim (3.0.8)
temple (>= 0.7.6, < 0.9)
tilt (>= 1.3.3, < 2.1)
slim-rails (3.1.2)
actionpack (>= 3.1)
railties (>= 3.1)
slim (~> 3.0)
slop (3.6.0)
sprockets (3.7.1)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
stackprof (0.2.10)
temple (0.7.7)
thor (0.19.4)
stripe (3.6.0)
faraday (~> 0.10)
temple (0.8.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.7)
tzinfo (1.2.3)
tilt (2.0.8)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (3.1.10)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)
warden (1.2.7)
rack (>= 1.0)
@@ -326,14 +347,14 @@ GEM
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
xpath (2.0.0)
xpath (2.1.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
aws-sdk
aws-sdk (< 3.0)
bootstrap-sass (~> 3.3.5)
byebug
capybara
@@ -345,6 +366,7 @@ DEPENDENCIES
factory_girl
faker
geocoder
i18n-js
jbuilder (~> 2.0)
jquery-rails
kaminari-actionview
@@ -360,16 +382,18 @@ DEPENDENCIES
rails-i18n
rails_12factor
rails_admin
rails_bootstrap_navbar
redcarpet
roadie-rails (~> 1.0)
route_translator
rspec-rails (~> 3.0)
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
simple-navigation
simple_form
slim
slim-rails
stackprof
stripe
uglifier (>= 1.3.0)
web-console (~> 2.0)
@@ -377,4 +401,4 @@ RUBY VERSION
ruby 2.3.1p112
BUNDLED WITH
1.14.6
1.16.0
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+1
View File
@@ -15,4 +15,5 @@
//= require bootstrap-sprockets
//= require typeahead.bundle
//= require markerclusterer_compiled
//= require i18n/translations
//= require_tree .
+3
View File
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
+3
View File
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
+25
View File
@@ -0,0 +1,25 @@
$(document).ready(function(){
$('.statement article').each(function(){
var trimLength = 300;
var trimMargin = 1.2; // don't trim just a couple of words
if($(this).text().length > (trimLength * trimMargin)) {
var text = $(this).text();
var trimPoint = $(this).text().indexOf(" ", trimLength);
var newContent = text.substring(0, trimPoint)+'<span class="read-more">'+text.substring(trimPoint)+'</span><span class="toggle">... <a href="#">' + I18n.t("pages.statements.read_more");
+ '</a></span>';
$(this).html(newContent);
}
});
$('.toggle a').click(function(e){
e.preventDefault();
var para = $(this).closest('article');
var initialHeight = $(this).closest('article').innerHeight();
para.find('.read-more').show();
para.find('.toggle').hide();
var newHeight = para.innerHeight();
para.css('max-height', initialHeight+'px');
para.animate({ maxHeight: newHeight }, 300, function(){
para.css('max-height', 'none');
});
});
});
+32 -5
View File
@@ -19,6 +19,18 @@
@import "typeaheadjs"
@import "footnotes"
@import "statements"
@import "donations"
@import "nav"
*:focus
outline: 0
-webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.075), 0 0 8px red
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.075), 0 0 8px red
.form-control:focus, input:focus
outline: 0
-webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.075), 0 0 8px $brand-success
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.075), 0 0 8px $brand-success
.alert-alert
@extend .alert-danger
@@ -31,15 +43,21 @@ body.admin
body
nav.languages
position: absolute
top: 12px
right: 12px
position: relative
padding: 3px
> .container
.container.content
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
padding: 20px
margin-top: 10px
background: #FFF
.anouncement
margin-top: 10px
.lead
margin: 0px
header
.pagelogo
max-height: 91px
@@ -51,6 +69,12 @@ body
.container
padding-left: 0px
header > .row
margin-bottom: 12px
main > h1
margin-top: 0px
ul#topnav
font-size: 1.2em
@@ -128,4 +152,7 @@ body
a
color: #FFF
.row.fix
display: flex
flex-wrap: wrap
width: 100%
+3
View File
@@ -0,0 +1,3 @@
// Place all the styles related to the charges controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+24
View File
@@ -0,0 +1,24 @@
.progress
.progress-bar-default
background-color: #f5f5f5
color: green
font-size: 1.2em
.progress-target
border-right: 2px solid black
text-align: right
padding: 1em
display: inline-block
.donatebox
font-size: 24px
margin: 15px
width: 80px
height: 80px
.crypto_address
word-wrap: break-word
font-weight: bold
img.crypto_address
margin: 5px
+11
View File
@@ -0,0 +1,11 @@
// Place all the styles related to the Greendays controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
.well > h2
margin-top: 0px
#map
width: 100%
height: 300px
margin-bottom: 12px
+34
View File
@@ -0,0 +1,34 @@
@import "variables"
nav#mainnav
marign-top: 12px
font-size: 16pt
a
color: $brand-success
a.selected
font-weight: bold
ul
list-style: none
padding: 0px
li
padding: 5px 5px 5px 10px
ul
padding-left: 20px
li
font-size: 12pt
li.selected
background-color: $brand-success
a
color: white
#greendays
margin-bottom: 12px
border: 1px solid $brand-success
+30
View File
@@ -0,0 +1,30 @@
.field_with_errors {
padding: 2px;
background-color: red;
display: table;
}
#error_explanation {
width: 450px;
border: 2px solid red;
padding: 7px;
padding-bottom: 0;
margin-bottom: 20px;
background-color: #f0f0f0;
h2 {
text-align: left;
font-weight: bold;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
margin-bottom: 0px;
background-color: #c00;
color: #fff;
}
ul li {
font-size: 12px;
list-style: square;
}
}
+3
View File
@@ -14,6 +14,9 @@
margin: 0px
display: inline
.read-more
display: none
@media (max-width: 800px)
.statement
display: block
+1 -1
View File
@@ -1,4 +1,4 @@
$brand-success: #66903F
$brand-success: #4b7d1c
$navbar-default-bg: #FFF
$navbar-default-border: none
$font-size-base: 14px
+29
View File
@@ -0,0 +1,29 @@
class ChargesController < ApplicationController
def new; end
def create
@amount = params[:amount]
begin
@amount = Float(@amount).round(2)
rescue
flash[:danger] = 'Bitte geben sie einen Betrag in CHF ein.'
redirect_to donation_path
return
end
@amount = (@amount * 100).to_i # Must be an integer!
if @amount < 1000
flash[:danger] = 'Ihre Spende muss mindestens 10.- CHF betragen.'
redirect_to donation_path
return
end
Stripe::Charge.create(amount: @amount, currency: 'CHF', source: params[:stripeToken], description: 'Initiativspende')
rescue Stripe::CardError => e
flash[:danger] = e.message
redirect_to donation_path
end
end
+65
View File
@@ -0,0 +1,65 @@
class GreendaysController < ApplicationController
before_action :only_admin, except: [:index, :show]
before_action :set_greenday, only: [:show, :edit, :update, :destroy]
def index
@greendays = Greenday.all.sort(title: 1)
end
def new
@greenday = Greenday.new
end
def edit; end
def create
@greenday = Greenday.new(greenday_params)
respond_to do |format|
if @greenday.save
format.html { redirect_to greendays_path, success: 'Greenday was successfully created.' }
format.json { render :show, status: :created, location: @greenday }
else
format.html { render :new }
format.json { render json: @greenday.errors, status: :unprocessable_entity }
end
end
end
def update
respond_to do |format|
if @greenday.update(greenday_params)
format.html { redirect_to greendays_path, notice: 'Greenday was successfully updated.' }
format.json { render :show, status: :ok, location: @greenday }
else
format.html { render :edit }
format.json { render json: @greenday.errors, status: :unprocessable_entity }
end
end
end
def destroy
@greenday.destroy
respond_to do |format|
format.html { redirect_to greendays_path, notice: 'Greenday was successfully destroyed.' }
format.json { head :no_content }
end
end
private
# Use callbacks to share common setup or constraints between actions.
def set_greenday
@greenday = Greenday.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
def greenday_params
params.require(:greenday).permit(:title, :address, :homepage, :description, :logo, :delete_logo)
end
def only_admin
return true if current_supporter && current_supporter.admin?
raise ActionController::RoutingError, 'Not Found'
end
end
+2 -2
View File
@@ -9,7 +9,7 @@ class SupportersController < ApplicationController
@supporter = Supporter.new supporter_form_params.merge(language: I18n.locale)
@supporter.password = random_password = SecureRandom.hex(5)
if !input_to_fast? && @supporter.save
SupporterMailer.welcome_email(@supporter, random_password).deliver_now
# SupporterMailer.welcome_email(@supporter, random_password).deliver_now
sendy_registraion
redirect_to thanks_path
else
@@ -21,7 +21,7 @@ class SupportersController < ApplicationController
private
def supporter_form_params
params.require(:supporter).permit(:first_name, :last_name, :street, :zip, :email, :support, :li_membership, :age_category, :city, :comments)
params.require(:supporter).permit(:first_name, :last_name, :street, :zip, :email, :support, :li_membership, :age_category, :city, :comments, :tel)
end
# We use sendy for newsletters atm
+9
View File
@@ -3,4 +3,13 @@ module ApplicationHelper
content_for :title, strip_tags(page_title.to_s)
page_title
end
def markdown(content)
@markdown ||= Redcarpet::Markdown.new(Redcarpet::Render::HTML, autolink: true, space_after_headers: true)
@markdown.render(content)
end
def admin?
current_supporter && current_supporter.admin?
end
end
+2
View File
@@ -0,0 +1,2 @@
module ChargesHelper
end
+43
View File
@@ -0,0 +1,43 @@
class Greenday
include Mongoid::Document
include Mongoid::Timestamps
include Geocoder::Model::Mongoid
include Mongoid::Paperclip
before_save :delete_logo?
has_mongoid_attached_file :logo,
path: ':attachment/:id/:style.:extension',
styles: {
original: ['1920x1680>', :jpg],
small: ['100x100#', :jpg],
medium: ['250x250', :jpg],
large: ['500x500>', :jpg]
},
convert_options: { all: '-background white -flatten +matte' }
field :title, type: String
field :address, type: String
field :homepage, type: String
field :description, type: String
field :coordinates, type: Array
geocoded_by :address
after_validation :geocode # auto-fetch coordinates
validates :title, presence: true
validates :address, presence: true
validates_attachment_content_type :logo, content_type: ['image/jpg', 'image/jpeg', 'image/png', 'image/gif']
def delete_logo
@delete_logo ||= '0'
end
attr_writer :delete_logo
private
def delete_logo?
logo.clear if @delete_logo == '1'
end
end
+1
View File
@@ -45,6 +45,7 @@ class Supporter
field :comments, type: String
field :language, type: String
field :duplicate, type: Boolean, default: false
field :tel, type: String
validates :first_name, presence: true
validates :last_name, presence: true
+1 -2
View File
@@ -10,7 +10,6 @@ css:
#map
javascript:
function pinSymbol(color) {
return {
path: 'M 0,0 C -2,-20 -10,-22 -10,-30 A 10,10 0 1,1 10,-30 C 10,-22 2,-20 0,0 z M -2,-30 a 2,2 0 1,1 4,0 2,2 0 1,1 -4,0',
@@ -24,7 +23,7 @@ javascript:
function initMap() {
var supporters = #{@supporters.to_json.html_safe}
console.log(@supporters.to_json.html_safe);
var customMapType = new google.maps.StyledMapType([{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}], {
name: 'Black White'
});
-5
View File
@@ -1,5 +0,0 @@
address
| Verein Legalize it! <br/>
| Quellenstrasse 25 <br/>
| Postfach 2159 <br/>
| CH-8031 Zürich
-7
View File
@@ -1,7 +0,0 @@
h2 Kontakt
p
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
em Strategie / Presse
br
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
em Inhalt / Technik
-7
View File
@@ -1,7 +0,0 @@
h2 Contatti
p
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
em Strategie / Presse
br
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
em Inhalt / Technik
@@ -2,4 +2,4 @@ h2 Ziele der Initiative
ol
li Erwachsene haben genauso die Freiheit und das Recht Cannabis zu konsumieren, wie Alkohol oder Tabak.
li Niemand muss gezwungen sein, sich auf dem Schwarzmarkt zu bedienen.
li Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen der Prävention, der Forschung oder den Sozialversicherungen zugutekommen.
li Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen der Prävention, der Suchtbehandlung, der Forschung oder den Sozialversicherungen zugutekommen.
@@ -1,2 +0,0 @@
.donation_button
=link_to t('donation'), donation_path
+3
View File
@@ -0,0 +1,3 @@
h1 = title 'Vielen Dank für Ihre Spende'
p Auch dank Ihrer Hilfe können wir uns aktiv für die Interessen der Cannabis-Konsumenten einsetzen.
+4
View File
@@ -0,0 +1,4 @@
b Am Samstag 25. November ist Nationaler CBD-Tag!
p Um die #{link_to 'Finanzierung der Sammlung und Beglaubigung', donation_path} der eidgenössischen #{link_to 'Volksinitiative zur Cannabislegalisierung', initiative_text_path} in der Schweiz voranzutreiben, lanciert der Verein Legalize it! in Zusammenarbeit mit dem #{link_to 'Branchenverband IG Hanf', 'https://www.ighanf.ch/D_about.html', target: '_blank'} am Samstag 25. November 2017 den ersten nationalen CBD-Tag.
p In jedem Laden steht eine Spendenbox, welche für Spenden für die Initiative benutzt werden kann und die dem Verein Legalize it! zugute kommt.
p Welche Läden mitmachen, seht ihr auf der Karte:
+14
View File
@@ -0,0 +1,14 @@
= simple_form_for(@greenday) do |f|
= f.error_notification
.form-inputs
= f.input :title
= f.input :address, as: :text
= f.input :homepage
= f.input :description, as: :text
= f.input :logo, as: :file, required: false
= image_tag f.object.logo.url(:original), alt: '', class: 'img-responsive'
= f.input :delete_logo, as: :boolean
.form-actions
= f.button :submit, 'Shop speichern'
@@ -0,0 +1,2 @@
json.extract! greenday, :id, :title, :address, :coordinates, :homepage, :logo, :description, :created_at, :updated_at
json.url greenday_url(greenday, format: :json)
+8
View File
@@ -0,0 +1,8 @@
h1 Editing greenday
== render 'form'
= link_to 'Show', @greenday
' |
= link_to 'Back', greendays_path
+69
View File
@@ -0,0 +1,69 @@
h1.sr-only = title '#Greensaturday'
= render 'description'
#map
= link_to 'Neuen Shop erfassen', new_greenday_path if admin?
.row.fix
- @greendays.each do |greenday|
.col-xs-12.col-sm-6.col-lg-4
.well
h2 = greenday.title
- 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
= link_to("Website", greenday.homepage, target: "_blank")
p = markdown(greenday.description).html_safe
- if admin?
= link_to 'Bearbeiten', edit_greenday_path(greenday)
| &nbsp;
= link_to 'Löschen', greenday, data: { confirm: 'Are you sure?' }, method: :delete
javascript:
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 8, center: {lat: 47.242, lng: 8.133},
});
var greendays_url = "#{greendays_url(format: :json)}"
var infowindow = new google.maps.InfoWindow({
content: '',
maxWidth: 200
});
$.getJSON(greendays_url, function(json) {
$.each(json, function(key, data) {
var marker = new google.maps.Marker({
position: {lat: data.coordinates[1], lng: data.coordinates[0] },
map: map,
title: data.title
});
marker.addListener('click', function() {
infowindow.open(map, marker);
var content = '<b>' + data.title + '</b>'
if(data.logo) {
content += '<img src="' + data.logo + ' alt="" width="100%"/>'
}
content += '<address>' + data.address.replace(/\n/g,"<br>")
if(data.homepage) {
content += '<br/><a href="' + data.homepage + '" target="_blank">Website</a>'
}
content += '</address>'
if(data.description) {
content += '<p>' + data.description + '</p>'
}
infowindow.setContent(content);
});
});
});
}
script async="" defer="" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBbwMtGKDqf4i8x9-OVP1-H_QVAKp92h2M&callback=initMap&libraries=visualization"
+1
View File
@@ -0,0 +1 @@
json.array! @greendays, partial: 'greendays/greenday', as: :greenday
+5
View File
@@ -0,0 +1,5 @@
h1 New greenday
== render 'form'
= link_to 'Back', greendays_path
+35 -13
View File
@@ -22,12 +22,25 @@ html lang="#{I18n.locale}"
link href="/favicon-96x96.png" rel="icon" sizes="96x96" type="image/png" /
link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" /
link href="/manifest.json" rel="manifest" /
meta name="viewport" content="width=device-width, initial-scale=1.0"
meta content="#ffffff" name="msapplication-TileColor" /
meta content="/ms-icon-144x144.png" name="msapplication-TileImage" /
meta content="#ffffff" name="theme-color" /
meta property="og:title" content="#{content_for(:title)}"
meta property="og:description" content="#{t('shared.description')}"
meta property="og:image" content="#{image_url('ch420_logo.png')}"
meta name="twitter:title" content="#{content_for(:title)}"
meta name="twitter:image" content="#{image_url('ch420_logo.png')}"
meta name="twitter:site" content="@vereinlegalize"
meta name="twitter:description" content="#{t('shared.description')}"
meta name="twitter:image:alt" content="#{t('shared.header.logo')}"
body class="#{'admin' if controller.admin_area}"
= render 'donation_button'
javascript:
(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),
@@ -36,9 +49,14 @@ html lang="#{I18n.locale}"
ga('create', 'UA-79948850-1', 'auto');
ga('send', 'pageview');
.container.anouncement
/.text-center.lead.alert.alert-success
| Für das Projekt Initiative ist Ende Januar ein neuer Träger­verein gegründet worden.
br
| Weitere Informationen dazu werden folgen.
nav.languages
h2.sr-only =t('.lang')
nav.languages.pull-right
h2.sr-only =t('shared.lang')
a href='/' lang='de'
| Deutsch
| &nbsp; | &nbsp;
@@ -47,18 +65,22 @@ html lang="#{I18n.locale}"
| &nbsp; | &nbsp;
a href='/fr' lang='fr'
| Français
br/
.container
.container.content
= render 'shared/flashes'
= render 'shared/header'
= render 'shared/topnavigation'
= yield
.row
.col-xs-12.col-sm-3
nav#mainnav = render_navigation
.col-xs-12.col-sm-9
main= yield
hr
footer.row
.col-xs-12.col-sm-6
= render 'core_statements'
.col-xs-12.col-sm-4
= render 'contact'
.col-xs-12.col-sm-2
= render 'address'
/.col-xs-12.col-sm-6
/= render 'core_statements'
.col-xs-12
p Dieses Onlineformular wurde vom <a href="https://www.hanflegal.ch">Verein Legalize it!</a> erstellt, um Unterstützende für eine neue Volksinitiative zur Legalisierung von Cannabis in der Schweiz zu sammeln. Die Geschichte des Initiativprojekts kann im <a href="/pages/archiv">Archiv</a> nachgelesen werden. Fragen zum Initiativprojekt können an <a href="mailto: info@cannabis-consensus.ch">info@cannabis-consensus.ch</a> gestellt werden.
javascript:
I18n.defaultLocale = "#{I18n.default_locale}";
I18n.locale = "#{I18n.locale}";
+41
View File
@@ -0,0 +1,41 @@
markdown:
## März 2019
[So will eine neue Hanf-Allianz das Kiffen legalisieren](https://www.blick.ch/news/schweiz/starker-jugendschutz-staatliche-markt-kontrolle-so-will-eine-neue-hanf-allianz-das-kiffen-legalisieren-id15196799.html)
## Februar 2019
[Cannabis-Initiative erhält neuen Schub](https://www.aargauerzeitung.ch/schweiz/volksinitiative-geplant-legalisierung-von-cannabis-erhaelt-neuen-schub-134096909)
## November 2018
[Podium über Cannabis](https://zueriost.ch/news/2018-11-21/kaum-bedenken-fuer-cannabislegalisierung)
## Juni 2018
[Une votation populaire](https://www.letemps.ch/suisse/essais-pilotes-cannabis-legal-lespoir-tenu-villes-face-parlement)
## April 2018
[Die grössten Hürden für die Cannabis-Legalisierung](https://www.vice.com/de_ch/article/qvxaab/7-gegner-der-cannabis-legalisierung-initiative-hanflegal-dech)
## März 2018
[Unterschriftensammlung wird aus gutem Grund verschoben](https://www.watson.ch/schweiz/gesellschaft%20&%20politik/943177354-kiffer-freunde-wollen-buergerliche-fuer-gras-legaliserung-ins-boot-holen)
## November 2017
[Das gibt der Cannabis-Initiative Rückenwind](https://www.20min.ch/schweiz/news/story/-Das-gibt-der-Cannabis-Initiative-Rueckenwind--30790796)
## Oktober 2017
[Der VICE-Guide zum Kiffen in der Schweiz](https://www.vice.com/de_ch/article/59yzbz/der-vice-guide-zum-kiffen-in-der-schweiz)
## August 2017
[Schützt die Jugend - legalisiert Cannabis!](https://www.nzz.ch/meinung/drogenpolitik-schuetzt-die-jugend-legalisiert-cannabis-ld.1312315)
## April 2017
[Könnte das Verbot fallen?](https://www.vice.com/de_ch/article/d7bdwz/wieso-haben-wir-in-der-schweiz-das-kiffen-noch-immer-nicht-legalisiert-weedweek2017)
## Januar 2017
[12mila simpatizzanti](http://www.caffe.ch/stories/attualita/56687_vogliamo_che_lerba_venga_legalizzata/)
## Dezember 2016
[Wann wird Cannabis in der Schweiz legalisiert?](http://www.solothurnerzeitung.ch/schweiz/wann-wird-cannabis-in-der-schweiz-legalisiert-130765070)
## Mai 2016
[Kiffer wandern drei Stunden durchs Rheintal](http://www.20min.ch/schweiz/ostschweiz/story/Kiffer-wandern-drei-Stunden-durchs-Rheintal-15418622)
## April 2016
[«Legalize it!» plant Volksinitiative zur Cannabis-Legalisierung](http://www.watson.ch/Schweiz/Gesellschaft%20&%20Politik/807046564-%C2%ABLegalize-it!%C2%BB-Privater-Verein-plant-Volksinitiative-zur-Cannabis-Legalisierung)
+103 -13
View File
@@ -1,28 +1,118 @@
h1 = title 'Deine Spende zählt - Verein Legalize it!'
script src="https://checkout.stripe.com/checkout.js"
javascript:
var handler = StripeCheckout.configure({
key: "#{Rails.configuration.stripe[:publishable_key]}",
locale: '#{I18n.locale}',
image: '#{image_url("ch420_logo.png")}',
name: 'Verein Legalize it!',
currency: 'CHF',
description: 'Initiativspende',
token: function(token) {
$('input#stripeToken').val(token.id);
$('form').submit();
}
});
h2 Via Kreditkarte online spenden
= form_tag charges_path do
= hidden_field_tag(:stripeToken)
#error_explanation.text-danger.hidden
= flash[:error] if flash[:error].present?
.row
.col-xs12.col-md-5
button.donatebox.btn.btn-success onclick="donate(20)" 20 .-
button.donatebox.btn.btn-success onclick="donate(50)" 50 .-
button.donatebox.btn.btn-success onclick="donate(100)" 100 .-
button.donatebox.btn.btn-success onclick="donate(200)" 200 .-
button.donatebox.btn.btn-success onclick="donate(500)" 500 .-
button.donatebox.btn.btn-success onclick="donate(1000)" 1000 .-
.col-xs12.col-md-6
.form-group
strong oder einen eigenen Betrag
.form-group
.input-group
.input-group-addon CHF
= text_field_tag(:amount, 100 , class: 'form-control')
.form-group
button#donateButton.btn.btn-success Spenden übermitteln
h2 Mit Bitcoin, Bitcoin Cash oder Ethereum spenden
.row
.col-md-6.col-xs-12
p
= image_tag '1LaYbTiCjhrUhxrQ9D5BQUfxPmRqJ7Q3gG.png', alt: 'Bitcoin Adresse: 1LaYbTiCjhrUhxrQ9D5BQUfxPmRqJ7Q3gG', width: '150', class: 'pull-right'
div
| Gerne nehmen wir auch Spenden via Bitcoin unter folgender Adresse entgegen:
br
span.crypto_address 1LaYbTiCjhrUhxrQ9D5BQUfxPmRqJ7Q3gG
br
| oder Bitcoin Cash:
br
i.crypto_address 1LVGcneFcYqCkhDFNsnhWb6x7cCHHxakg9
.col-md-6.col-xs-12
p
= image_tag 'ethereum_address.png', alt: 'Ethereum Adresse: 0x8747d7F53FdaCD01bb269757E2bdd885B3033A45', width: '150', class: 'pull-right crypto_address'
div
| Gerne nehmen wir auch Spenden via Ethereum unter folgender Adresse entgegen:
br
span.crypto_address 0x8747d7F53FdaCD01bb269757E2bdd885B3033A45
.clearfix
h2 Per Überweisung spenden
.row
.col-md-7.col-xs-12
dl.dl-horizontal
dt Postkonto:
dd 87-091354-3, Verein Legalize it!, Postfach 2159, 8031 Zürich
dd 87-091354-3, Verein Legalize it!, Quellenstrasse 25, 8005 Zürich
dt IBAN:
dd CH02 0900 0000 8709 1354 3
dt Zahlungszweck:
dd Spende Initiative
.row
.col-xs-12.col-md-9
.col-md-5.col-xs-12
= link_to asset_path('Einzahlungsschein_Spende_Initiative.pdf') do
= image_tag('Einzahlungsschein_Spende_Initiative.jpg', class:'img-responsive pagelogo', alt: 'Einzahlungsschein Spende initiative')
= image_tag('Einzahlungsschein_Spende_Initiative.jpg', class:'img-responsive', alt: 'Einzahlungsschein 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!
h3 Weitere Informationen zur Initiative findest du hier:
ul
li = link_to 'Initiativ-Seite', 'https://www.hanflegal.ch/initiative'
li = link_to 'Onlineformular', root_path
javascript:
$('.donatebox').on('click', function(e) {
e.preventDefault();
});
function donate(amount) {
$('#amount').val(amount);
$('#donateButton').click();
}
$('#donateButton').on('click', function(e) {
e.preventDefault();
$('#error_explanation').html('');
var amount = $('input#amount').val();
amount = parseFloat(amount);
if (isNaN(amount)) {
$('#error_explanation').toggleClass('hidden')
$('#error_explanation').html('<p>Bitte geben sie einen Betrag in CHF ein.</p>');
}
else if (amount < 10.00) {
$('#error_explanation').toggleClass('hidden')
$('#error_explanation').html('<p>Ihre Spende muss mindestens 10.- CHF betragen.</p>');
}
else {
amount = amount * 100; // Needs to be an integer!
handler.open({
amount: Math.round(amount)
})
}
});
+7 -2
View File
@@ -6,7 +6,7 @@
ul
li Erwachsene haben genauso die Freiheit und das Recht Cannabis zu konsumieren, wie Alkohol oder Tabak.
li Niemand muss gezwungen sein, sich auf dem Schwarzmarkt zu bedienen.
li Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen der Prävention, der Forschung oder den Sozialversicherungen zugutekommen.
li Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen der Prävention, der Suchtbehandlung, der Forschung oder den Sozialversicherungen zugutekommen.
h2 Wem nützt die Initiative?
p Jeder Schweizer Bürger profitiert von der Annahme der Initiative. Gelder, die über den Schwarzmarkt in internationale Terror-Organisationen fliessen, werden versteuert und Millionen von Steuergeldern in der Strafverfolgung eingespart. Zehntausende von Patienten profitieren von der Möglichkeit einer alternativen Behandlung mittels Cannabis. Hunderttausende Schweizer Bürger werden entkriminalisiert und in Freiheit Cannabis als Genussmittel konsumieren.
@@ -59,7 +59,12 @@
p Nein, man müsste sich in einem geschlossenen Raum befinden und Unmengen von Cannabis verbrennen, um eine Wirkung zu erzielen. Das Einatmen einer vorbeiziehenden süsslichen Rauchschwade hat absolut keine Wirkung.
h2 Verführt Cannabis zum Konsum anderer Drogen?
p Nein, die sogenannte Einstiegsdrogen-Theorie gilt bei allen Experten als überholt. Im Gegenteil, die Trennung von sogenannten weichen und harten Drogen kann nur durch eine konsequente Legalisierung vollzogen werden. Wenn Personen, welche nicht mehr in Kontakt mit Dealern kommen, die auch noch harte Drogen verkaufen, greifen sie weniger zu anderen Drogen. Ein Modell, dass in Holland seit Jahrzehnten erfolgreich umgesetzt wird.
p Nein, die sogenannte Einstiegsdrogen-Theorie gilt bei allen Experten als überholt. Im Gegenteil, die Trennung von sogenannten weichen und harten Drogen kann nur durch eine konsequente Legalisierung vollzogen werden. Personen kommen weniger in Kontakt mit anderen Drogen, wenn sie keinen Kontakt mit Dealern haben müssen. Ein Modell, dass in Holland seit Jahrzehnten erfolgreich umgesetzt wird.
h2 Führt Cannabis-Konsum zu Psychosen?
p Das Risiko, durch das Rauchen von Cannabis eine psychische Erkrankung zu entwickeln, ist in Relation zur gesamten Zahl aller Cannabis-Konsumenten sehr gering und wissenschaftlich nicht bewiesen.
p <a href="http://www.sciencedirect.com/science/article/pii/S0955395909001182" target="_blank">Studien, die sich mit dieser Thematik befassen, liefern lediglich Hinweise</a>. Die meisten Studien sind nicht oder quasi experimentell. Das heisst sie Untersuchen das Geschehene erst im Nachhinein. Die konsumierte Menge wird oft gar nicht erhoben oder kann nicht exakt bestimmt werden. Die Qualität und der Wirkstoffgehalt kann nicht überprüft werden, da auf dem Schwarzmarkt bezogenes Cannabis weder geprüft, noch deklariert ist. Es ist, als ob man ein Weizenbier mit gepanschtem Wodka vergleichen würde. Meist kann also nicht einmal aussgeschlossen werden ob nicht auch Verunreinigungen den Effekt erklären und zur Psychose führen könnte.
p Wird die Ursache und Wirkung untersucht, muss die zeitliche Abfolge der Ereignisse berücksichtig werden. Es muss also die Erkrankung nach dem Konsum nachgewiesen sein. Psychische Erkrankungen beginnen oft schleichend und werden von den Betroffenen erst spät als solche wahrgenommen. Cannabis-Konsum, der zwischen Erkrankung und Diagnose beginnt, ist demnach nicht mehr Ursache, sondern Wirkung. Dieses Phänomen kann als eine unbewusste Selbstmedikation interpretiert werden. Bei vielen Studien wird, gerade diese Annahme der Kausalität schlicht nicht berücksichtigt ein methodischer Mangel der Studie.
h2 Wie wird Cannabis hergestellt und gewonnen?
p Cannabinoide, also die verschiedenen Wirkstoffe sind in der Cannabispflanze, insbesondere in der weiblichen Blüte vorhanden. Die Pflanze kann relativ einfach angepflanzt werden, danach können die getrockneten Blüten direkt konsumiert oder weiter verarbeitet werden. Im Prinzip reicht es ein Samen in einem Blumentopf zu setzen und regelmässig zu giessen.
+20 -6
View File
@@ -1,15 +1,29 @@
sass:
.initiative_text
ol
counter-reset: item
list-style: none
li
counter-increment: item
li:before
content: counter(item)
vertical-align: super
font-size: 0.8em
display: inline-block
h1= title 'Der Initiativtext im Wortlaut'
.well
.well.initiative_text
p Die Bundesverfassung vom 18. April 1999 wird wie folgt geändert:
p Art. 105a (neu) Cannabis:
ul
li Der Konsum von Stoffen und Präparaten des Wirkungstyps Cannabis sowie die Vorbereitung zum eigenen Konsum sind straffrei. Der gemeinschaftliche Anbau von Cannabis für den Eigenbedarf ist ebenfalls straffrei.
ol
li Der Konsum von Stoffen und Präparaten des Wirkungstyps Cannabis sowie die Vorbereitung zum eigenen Konsum ist straffrei. Der Anbau von Pflanzen, welche die Herstellung von Stoffen und Präparaten dieses Wirkungstyps für den Eigenbedarf ermöglichen, ist ebenfalls straffrei.
li Der Bund erlässt Vorschriften über den gewerblichen Anbau und die Herstellung sowie den Handel mit Stoffen und Präparaten des Wirkungstyps Cannabis.
li Die Abgabe von Stoffen und Präparaten des Wirkungstyps Cannabis an Minderjährige ohne medizinische Indikation ist verboten.
p Art. 131 Abs.1 Bst. f
ul
ol
li
| Der Bund kann besondere Verbrauchssteuern erheben auf
| Der Bund kann besondere Verbrauchssteuern erheben auf:
br
| f. Stoffe und Präparate des Wirkungstyps Cannabis, welche nicht der medizinischen Anwendung dienen.
| &nbsp; f. Stoffe und Präparate des Wirkungstyps Cannabis, welche nicht der medizinischen Anwendung dienen.
p Feedback und konstruktive Kritik ist per E-Mail herzlich willkommen. Als Cannabis im Sinne dieses Artikels gelten alle Stadien der Hanfpflanze (inkl. Saatgut) und deren Produkte, unabhängig von ihrem Gehalt an Tetrahydrocannabinol (THC). Als „Vorbereitung“ gilt vor allem der Besitz, der Erwerb und der Anbau für den eigenen Konsum.
-17
View File
@@ -1,17 +0,0 @@
h1= title 'Il testo delliniziativa'
.well
p La Costituzione Federale del 18 aprile 1999 é stata modifata come segue
p Art. 105a (nuovo) Cannabis:
ul
li Il consume di sostanze e preparati a base di cannabis, derivati o sostanze con effetto simile alla cannabis, e la preparazione per il proprio consumo non sono punibili. La coltivazione di cannabis per uso proprio non è punibile.
li La Confederazione emana prescrizioni sulla coltivazione commerciale e la produzione e il commercio di sostanze e preparati del tipo di effetto di cannabis.
li Il rilascio di sostanze e preparati a base di cannabis e di sostanze con effetto simile alla cannabis ai minori senza indicazione medica è vietata.
p Art. 131 Abs.1 Bst. f
ul
li
| La Confederazione può riscuotere imposte speciali di consumo su
br
| f. cannabis o sostanze con effetto simile alla cannabis, che non necessitano l'applicazione medica.
p In questo articolo tutte le fasi della pianta della canapa (semi incl.) e applicare i loro prodotti, indipendentemente dal loro contenuto di tetraidrocannabinolo (THC). Come „preparazione“ è particolarmente vero per il possesso, l'acquisto e la coltivazione per il consumo personale.
+4 -4
View File
@@ -1,15 +1,15 @@
article
h1 = title t("Die Cannabis-Legalisierung in Zahlen: Der Staat wirft Geld aus dem Fenster und verpasst Millionen an Steuereinnahmen")
h1 = title "Die Cannabis-Legalisierung in Zahlen: Der Staat wirft Geld aus dem Fenster und verpasst Millionen an Steuereinnahmen"
h2 Cannabis-Konsum
table.table.table-bordered.table-condensed.table-inherit
caption Cannabis-Konsum im Jahr 2014 gemäss <a href="http://www.suchtmonitoring.ch/de/4/1-2.html?cannabis-pravalenz-gebrauch-in-der-gesamtbevolkerung" target="_blank">Suchtmonitoring</a>
tbody
tr
td Gelegenheitskonsumenten (Konsum innerhalb von 12 Monaten)
td Mindestens einmaliger Konsum innerhalb der letzten 12 Monaten
td ca. 536000
td 6.7%
tr
td Regelmässige Konsumenten (Konsum innerhalb von 30 Tagen)
td Mindestens einmaliger Konsum innerhalb der letzten 30 Tage
td ca. 240000
td 3%
tr
@@ -19,7 +19,7 @@ article
h2 Strafverfolgung
table.table.table-bordered.table-condensed.table-inherit
caption Strafverfolgung im Jahr 2015 gemäss <a href="http://www.bfs.admin.ch/bfs/portal/de/index/themen/19/03/02/key/05/03.html" target="_blank">Bundesamt für Statistik</a>
caption Strafverfolgung im Jahr 2015 gemäss <a href="https://www.bfs.admin.ch/bfs/de/home/statistiken/kriminalitaet-strafrecht/polizei/betaebungsmittelsubstanzen.html" target="_blank">Bundesamt für Statistik</a>
tbody
tr
td Jährliche Kosten für die Strafverfolgung (gemäss <a href="http://cannabis-irrsinn.info/wp/" target="_blank">«Der Cannabis-Irrsinn»</a>)
+1 -1
View File
@@ -1,4 +1,4 @@
h1 = t("Unsere Sponsoren")
h1 = title "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.
h2 Beispiel...
+3 -3
View File
@@ -1,5 +1,4 @@
- supporters = Supporter.where('publicity.state' => :approved).desc(:created_at)
- supporters = Supporter.where('publicity.state' => :approved).desc('publicity.created_at')
h1 = title t('.title')
- supporters.each do |supporter|
.statement
@@ -8,6 +7,7 @@ h1 = title t('.title')
- unless supporter.publicity.organisation.blank?
em= ", #{supporter.publicity.organisation}"
br
= supporter.publicity.statement
article= supporter.publicity.statement
hr.clearfix
.text-center = link_to t(".submit_your_own_statement"), new_publicity_path
+1 -40
View File
@@ -1,43 +1,4 @@
h1
= title t('.title')
| Du bist nun ein Teil der Bewegung!
h2 Wie sieht das weitere Vorgehen aus?
p
| Wir informieren dich per E-Mail über die nächsten Schritte und kommen aktiv auf dich zu.
| Auf #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'} informieren wir über laufende Aktivitäten.
h2 Was kannst du machen?
ul
li Versende den <a href="mailto:?subject=Es wird Zeit, Cannabis in der Schweiz legalisieren&body=Ich hab meine Unterstützung zugesichert unter https://ch420.herokuapp.com. Unterstütze uns auch du.">Link zum Online-Formular</a> an all deine Freunde und Bekannte
li Folge uns auf <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> und <a href="https://twitter.com/VereinLegalize">Twitter</a>
li Teile unser Projekt in den sozialen Medien mit dem Hashtag #CH420
li Erzähle allen von unserem Vorhaben und bitte Sie mitzumachen
li Werde Mitglied beim <a href="https://www.hanflegal.ch">Verein Legalize it!</a>
li = link_to 'Spende für die Legalisierung', donation_path
li Besuche unser <a href="https://forum.hanflegal.ch">Forum</a>. Da findest du eine Jobbörse und spannende Projekte bei denen wir deine Hilfe brauchen können
h2 Folge uns auf Facebook
#fb-root
javascript:
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.4&appId=236723906381514";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
.fb-like data-action="like" data-href="https://www.facebook.com/vereinlegalizeit" data-layout="standard" data-share="true" data-show-faces="true"
h2 Folge uns auf Twitter
p
<a href="https://twitter.com/vereinlegalize" class="twitter-follow-button" data-show-count="false" data-lang="de" data-size="large">@vereinlegalize folgen</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
.lead Setze ein Zeichen und zeig, dass du uns unterstützt
p
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://ch420.herokuapp.com" data-text="Ja, ich will Cannabis in der Schweiz legalisieren" data-via="vereinlegalize" data-lang="de" data-size="large" data-hashtags="ch420">Twittern</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
h1 = title t('.title')
p
a href="/" Zurück zum Formular
-40
View File
@@ -1,40 +0,0 @@
h1
= title t('.title')
| Tu fais maintenant partie du mouvement!
h2 Quelles sont les prochaines étapes?
p
| Nous allons tenvoyer par e-mail les informations sur les prochaines étapes.
| Sur #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'} initiative nous informons des activités en cours.
h2 Que peux-tu faire?
ul
li Envoie le <a href="mailto:?subject=Oui, je veux légaliser le cannabis en Suisse.&body=Envoie un signe et montre que tu nous soutiens sur https://ch420.herokuapp.com. Unterstütze uns auch du.">lien pour le formulaire en ligne</a> à tous tes amis et connaissances
li Suis-nous sur <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> et <a href="https://twitter.com/VereinLegalize">Twitter</a>
li Partage notre projet sur les réseaux sociaux avec le hashtag #CH420
li Raconte à tout le monde ce que nous avons prévu et demande leurs de participer
li Deviens un <a href="https://www.hanflegal.ch">membre de lassociation Legalize it!</a>
h2 Suis-nous sur Facebook
#fb-root
javascript:
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.4&appId=236723906381514";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
.fb-like data-action="like" data-href="https://www.facebook.com/vereinlegalizeit" data-layout="standard" data-share="true" data-show-faces="true"
h2 Retour au formulaire
p
<a href="https://twitter.com/vereinlegalize" class="twitter-follow-button" data-show-count="false" data-lang="de" data-size="large">@vereinlegalize folgen</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
h2 Envoie un signe et montre que tu nous soutiens
p
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://ch420.herokuapp.com" data-text="Ja, ich will Cannabis in der Schweiz legalisieren" data-via="vereinlegalize" data-lang="de" data-size="large" data-hashtags="ch420">Twittern</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
p
a href="/fr" Retour au formulaire
-39
View File
@@ -1,39 +0,0 @@
h1
= title t('.title')
| Ora sei una parte del movimento!
h2 Qual’é la strada da seguire?
p
| Vi informeremo via e-mail circa i prossimi passi e diventare attivo.
| Su #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'} può informarsi sulle attività in corso.
h2 Che cosa puoi fare?
ul
li Invia il <a href="mailto:?subject=Si, voglio legalizzare la cannabis in Svizzera&body=https://ch420.herokuapp.com">link del formulario on-line</a> a tutti i tuoi amici e conoscenti
li Seguici su <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> e <a href="https://twitter.com/VereinLegalize">Twitter</a>
li Racconta die nostri progetti sui social media con lHashtag #CH420
li Di a tutti di unirsi ai nostri progetti
li Diventa un membro dell <a href="https://www.hanflegal.ch">associazione Verein Legalize it!</a>
h2 Seguici su Facebook
#fb-root
javascript:
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.4&appId=236723906381514";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
.fb-like data-action="like" data-href="https://www.facebook.com/vereinlegalizeit" data-layout="standard" data-share="true" data-show-faces="true"
h2 Seguici su Twitter
p
<a href="https://twitter.com/vereinlegalize" class="twitter-follow-button" data-show-count="false" data-lang="de" data-size="large">@vereinlegalize folgen</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
p
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://ch420.herokuapp.com" data-text="Ja, ich will Cannabis in der Schweiz legalisieren" data-via="vereinlegalize" data-lang="de" data-size="large" data-hashtags="ch420">Twittern</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
p
a href="/it" Vai alla modulo
+1 -3
View File
@@ -1,8 +1,6 @@
header
.row
.col-md-1.col-xs-4
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
.col-md-7.col-xs-8
.col-xs-8
h1
= t('.title_html')
.col-xs-12.col-md-4.hidden-xs.hidden-sm
-17
View File
@@ -1,17 +0,0 @@
= navbar do
= navbar_header
= navbar_collapse do
= navbar_group id: 'topnav' do
= navbar_item "Home", "/#{I18n.locale}"
= navbar_dropdown t('.initiative') do
= navbar_item t('.initiative_text'), initiative_text_path
= navbar_item t('.arguments'), arguments_path
= navbar_item t('.faq'), faq_path
= navbar_item t('.numbers'), numbers_path
= navbar_item t('.statements'), statements_path
= navbar_item t('.sponsoring'), sponsoring_path
= navbar_item t('.sign_in'), new_supporter_session_path unless supporter_signed_in?
= navbar_item t('.sign_out'), destroy_supporter_session_path, nil, 'data-method' => :delete if supporter_signed_in?
- if supporter_signed_in? && current_supporter.admin?
= navbar_dropdown t('admin.title') do
= navbar_item t('admin.publicities.index.title'), admin_publicities_path
+2 -3
View File
@@ -1,6 +1,6 @@
- title(t('shared.header.title_html'))
.row
.col-xs-12.col-md-7
.col-xs-12
h2.sr-only = t('.form')
= simple_form_for @supporter do |f|
= f.input :first_name, placeholder: t('.placeholders.first_name')
@@ -9,6 +9,7 @@
= f.input :city, placeholder: t('.placeholders.city')
= f.input :zip, placeholder: t('.placeholders.zip')
= f.input :email, placeholder: t('.placeholders.email')
= f.input :tel, placeholder: '+41 (0) xxxx'
= f.input :support, as: :radio_buttons, collection: t('support_type').map{ |x| [x.first, raw(x.last)]}, label_method: :last, value_method: :first
= f.input :li_membership, as: :boolean
= f.input :age_category, as: :radio_buttons, collection: t('age_category'), label_method: :last, value_method: :first
@@ -62,5 +63,3 @@
}).on('typeahead:selected', function(event, datum) {
$("#supporter_city").val(datum.city);
});
aside.col-md-5.col-xs-12
= render 'right_side'
-24
View File
@@ -1,24 +0,0 @@
.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:
p
strong Schritt 1:
| Durch dieses Onlineformular sammeln wir Sympathisanten und potentielle Aktivisten.
p
strong Schritt 2:
| Sobald die geforderte Anzahl Personen gesammelt sind, schauen wir, wie viele Ressourcen an Helfer/innen an welchen Orten benötigt werden.
p
strong Schritt 3:
| Durch eine ausgeklügelte Logistik werden Sympathisanten und Aktivisten zusammengebracht, um gemeinsam die nötigen Unterschriften zu generieren.
p.lead Wenn du also <span class="text-success">Cannabis in der Schweiz legalisieren</span> willst, fülle das nebenstehende Formular aus und schreibe mit uns Geschichte.
/ p.embed-responsive.embed-responsive-4by3
iframe.embed-responsive-item src="https://www.youtube.com/embed/l5DjuLXRVVM" frameborder="0" allowfullscreen=""
/ p.embed-responsive.embed-responsive-4by3
iframe src="https://www.youtube.com/embed/videoseries?list=PLlC7Go4yV6YKunLd6O627HTQlNswQQ6vw" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen
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.
-19
View File
@@ -1,19 +0,0 @@
.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 lexécution de ce projet, un nouveau concept de collection a été mis sur pieds. Cela fonctionne en trois étapes:
p
strong Etape 1:
| Avec ce formulaire en ligne, nous recueillions des sympathisants et des militants potentiels.
p
strong Etape 2:
| Une fois que le nombre nécessaire de personnes est atteint, nous pouvons regarder dans quel région de la Suisse se trouvent les différents militants.
p
strong Etape 3:
| Grâce à une logistique sophistiquée, les sympathisants et militants seront réunis pour pouvoir obtenir ensemble les signatures nécessaires.
p.lead Donc, si tu désires <span class="text-success">légaliser le cannabis en Suisse</span>, remplis le formulaire ci-dessous et aide nous à faire un grand pas dans l'histoire
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 lassociation Legalize It!, aidons les gens qui utilisent des produits à base de THC et répondons volontiers à leurs questions.
-20
View File
@@ -1,20 +0,0 @@
.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:
p
strong Fase 1:
| Con questo modulo on-line che raccoglie simpatizzanti e potenziali attivisti.
p
strong Fase 2:
| Una volta raccolto il numero richiesto di persone, andiamo a vedere quante risorse di aiuto sono in nel luogo dove richiesto.
p
strong Fase 3:
| Utilizzando un sofisticata logistica riuniremo simpatizzanti e attivisti per generare congiuntamente le firme necessarie.
p.lead Quindi, se anche tu vuoi <span class="text-success">legalizzare la Cannabis</span> in Svizzera, compila il seguente modulo e riscrivi la storia con noi.
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.
+3 -5
View File
@@ -1,7 +1,7 @@
- if supporter_signed_in?
h1.sr-only = title t('.title', name: current_supporter.first_name)
.row
.col-xs-12.col-md-7
.col-xs-12
.panel.panel-default
.panel-heading
h2.panel-title = t '.my_data'
@@ -23,15 +23,13 @@
dd == t("age_category.#{current_supporter.age_category}")
dt = Supporter.human_attribute_name(:language)
dd = t("languages.#{current_supporter.language}")
dt = Supporter.human_attribute_name(:tel)
dd = current_supporter.tel
p
= link_to t('.edit'), edit_supporter_registration_path(), class: 'pull-right'
= render 'publicity'
aside.col-md-5.col-xs-12
= render 'right_side'
- else
= render 'form'
@@ -21,7 +21,6 @@
= f.input :language, as: :radio_buttons, collection: t('languages').map{ |x| [x.first, raw(x.last)]}, label_method: :last, value_method: :first
.form-actions
= f.button :submit, t("devise.registrations.edit.update"), class: 'btn btn-primary'
p = link_to t("devise.shared.links.back"), :back
hr
p = link_to t("devise.registrations.edit.cancel_my_account"), registration_path(resource_name), data: { confirm: t("devise.registrations.edit.are_you_sure") }, method: :delete, class: 'btn btn-danger btn-sm pull-right'
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Some files were not shown because too many files have changed in this diff Show More