Don't render the back-to-top link on the landing page

This commit is contained in:
Raphael Sofaer 2011-08-09 16:36:56 -07:00
parent 86e374b8ce
commit 3c4f6527ec

View file

@ -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);