Don't render the back-to-top link on the landing page
This commit is contained in:
parent
86e374b8ce
commit
3c4f6527ec
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue