From 3c4f6527ec5741e152e5715276bb7935aaa015a0 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Tue, 9 Aug 2011 16:36:56 -0700 Subject: [PATCH] Don't render the back-to-top link on the landing page --- app/views/layouts/application.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 22c7d90da..12ed3985a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -80,6 +80,9 @@ %body{:class => "#{yield(:body_class)}"} - unless @landing_page + %a{:id=>"back-to-top", :title=>"Back to top", :href=>"#"} + ⇧ + #notifications - flash.each do |name, msg| @@ -107,9 +110,6 @@ %br = link_to t('.have_a_problem'), 'http://diaspora.shapado.com/' - %a{:id=>"back-to-top", :title=>"Back to top", :href=>"#"} - ⇧ - -if !@landing_page && request.url.match(/joindiaspora.com/) :javascript var is_ssl = ("https:" == document.location.protocol);