aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/views/general/_before_body_end.html.erb7
-rw-r--r--lib/views/general/_before_head_end.html.erb2
-rw-r--r--lib/views/general/_frontpage_intro_sentence.html.erb4
3 files changed, 8 insertions, 5 deletions
diff --git a/lib/views/general/_before_body_end.html.erb b/lib/views/general/_before_body_end.html.erb
new file mode 100644
index 0000000..daeaeb2
--- /dev/null
+++ b/lib/views/general/_before_body_end.html.erb
@@ -0,0 +1,7 @@
+<script>
+ jQuery('#user_locale_switcher').find('.locale-list-trigger').each(function() {
+ jQuery(this).click(function(){
+ jQuery(this).parent().toggleClass('active');
+ });
+ });
+</script>
diff --git a/lib/views/general/_before_head_end.html.erb b/lib/views/general/_before_head_end.html.erb
index 19a54a0..7f33fa9 100644
--- a/lib/views/general/_before_head_end.html.erb
+++ b/lib/views/general/_before_head_end.html.erb
@@ -1 +1 @@
- <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Roboto+Slab:400,700&subset=latin,latin-ext,cyrillic,cyrillic-ext">
+<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
diff --git a/lib/views/general/_frontpage_intro_sentence.html.erb b/lib/views/general/_frontpage_intro_sentence.html.erb
deleted file mode 100644
index cfba8f6..0000000
--- a/lib/views/general/_frontpage_intro_sentence.html.erb
+++ /dev/null
@@ -1,4 +0,0 @@
-<h2>
- Your <strong>Right to Know</strong>
-</h2>
-<p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information.</a></p>