aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorutvk <utvk@users.noreply.github.com>2015-12-26 23:36:49 +0100
committerutvk <utvk@users.noreply.github.com>2015-12-27 00:07:26 +0100
commitf8ca87568f2040cd81c16e5db70bfd8cd6cbb247 (patch)
treed4f1d28cfe615aaaf2e7083b69a8ad6d26673625 /lib
parenta0463dac75d1f72a5360bc4e59da30b86001a26d (diff)
Adjustments after update to responsive theme
Diffstat (limited to 'lib')
-rw-r--r--lib/views/general/_before_body_end.html.erb13
-rw-r--r--lib/views/general/_before_head_end.html.erb2
-rw-r--r--lib/views/general/_orglink.html.erb3
3 files changed, 10 insertions, 8 deletions
diff --git a/lib/views/general/_before_body_end.html.erb b/lib/views/general/_before_body_end.html.erb
index 355c0b7..12b0a0f 100644
--- a/lib/views/general/_before_body_end.html.erb
+++ b/lib/views/general/_before_body_end.html.erb
@@ -1,12 +1,13 @@
<script>
jQuery('#user_locale_switcher').find('.locale-list-trigger').each(function() {
- jQuery(this).click(function(){
+ jQuery(this).click(function(){
+ console.log('yoyo');
jQuery(this).parent().toggleClass('active');
});
});
-<!-- Piwik -->
-<script type="text/javascript">
- var _paq = _paq || [];
+
+ // Should only add in production
+/* var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
@@ -15,7 +16,7 @@
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
- })();
+ })();*/
</script>
-<noscript><p><img src="//piwik.nuug.no/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
+<!--<noscript><p><img src="//piwik.nuug.no/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> -->
<!-- End Piwik Code -->
diff --git a/lib/views/general/_before_head_end.html.erb b/lib/views/general/_before_head_end.html.erb
index 7f33fa9..39380d1 100644
--- a/lib/views/general/_before_head_end.html.erb
+++ b/lib/views/general/_before_head_end.html.erb
@@ -1 +1 @@
-<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
+<!--<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/_orglink.html.erb b/lib/views/general/_orglink.html.erb
index b22d123..66002c0 100644
--- a/lib/views/general/_orglink.html.erb
+++ b/lib/views/general/_orglink.html.erb
@@ -1 +1,2 @@
-<%= link_to image_tag('old-logo.png', :alt => 'Alaveteli logo'), frontpage_url, :id=>'logo' %>
+<%# Put the link to your organisation here, or leave blank %>
+<%= link_to image_tag('logo.png'), frontpage_path, :id=>'logo' %>