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)}"}
|
%body{:class => "#{yield(:body_class)}"}
|
||||||
- unless @landing_page
|
- unless @landing_page
|
||||||
|
%a{:id=>"back-to-top", :title=>"Back to top", :href=>"#"}
|
||||||
|
⇧
|
||||||
|
|
||||||
#notifications
|
#notifications
|
||||||
|
|
||||||
- flash.each do |name, msg|
|
- flash.each do |name, msg|
|
||||||
|
|
@ -107,9 +110,6 @@
|
||||||
%br
|
%br
|
||||||
= link_to t('.have_a_problem'), 'http://diaspora.shapado.com/'
|
= 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/)
|
-if !@landing_page && request.url.match(/joindiaspora.com/)
|
||||||
:javascript
|
:javascript
|
||||||
var is_ssl = ("https:" == document.location.protocol);
|
var is_ssl = ("https:" == document.location.protocol);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue