Permalink
Browse files

Link to French survey

  • Loading branch information...
eeeschwartz committed Jun 3, 2015
1 parent b1b6bb8 commit 55b99d29cf514384f87de8f3fb219e334be7c64e
Showing with 11 additions and 6 deletions.
  1. +7 −5 Gemfile.lock
  2. +4 −1 index.html
View
@@ -35,13 +35,14 @@ GEM
fast-stemmer (1.0.2)
ffi (1.9.8)
gemoji (2.1.0)
- github-pages (35)
+ github-pages (36)
RedCloth (= 4.2.9)
github-pages-health-check (~> 0.2)
jekyll (= 2.4.0)
jekyll-coffeescript (= 1.0.1)
+ jekyll-feed (= 0.2.3)
jekyll-mentions (= 0.2.1)
- jekyll-redirect-from (= 0.6.2)
+ jekyll-redirect-from (= 0.8.0)
jekyll-sass-converter (= 1.2.0)
jekyll-sitemap (= 0.8.1)
jemoji (= 0.4.0)
@@ -78,13 +79,14 @@ GEM
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
+ jekyll-feed (0.2.3)
jekyll-gist (1.2.1)
jekyll-mentions (0.2.1)
html-pipeline (~> 1.9.0)
jekyll (~> 2.0)
jekyll-paginate (1.1.0)
- jekyll-redirect-from (0.6.2)
- jekyll (~> 2.0)
+ jekyll-redirect-from (0.8.0)
+ jekyll (>= 2.0)
jekyll-sass-converter (1.2.0)
sass (~> 3.2)
jekyll-sitemap (0.8.1)
@@ -139,7 +141,7 @@ PLATFORMS
DEPENDENCIES
compass
- github-pages (= 35)
+ github-pages (= 36)
jekyll
json
mini_magick
View
@@ -41,7 +41,7 @@ <h1 class="cover-heading">Help us build a better LexingtonKy.gov</h1>
<![endif]-->
<script type="text/javascript">
function googleTranslateElementInit() {
- new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'en,es', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
+ new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'en,es,fr', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
$(function() {
var linkText = 'Take the Survey';
@@ -52,7 +52,10 @@ <h1 class="cover-heading">Help us build a better LexingtonKy.gov</h1>
var text = $(e.target)[0].innerHTML;
if (text === linkText) {
loc = 'https://lexington.typeform.com/to/BofuZK';
+ } else if (text === 'Participez au sondage') {
+ loc = 'https://lexington.typeform.com/to/PgTLon';
} else {
+ // Spanish
loc = 'https://lexington.typeform.com/to/dogssi';
}
ga('send', 'event', 'button', 'click', 'survey');

0 comments on commit 55b99d2

Please sign in to comment.