Currently we have some license issues. We are working on it.

Commit 8f0ba0b0 authored by dmorley's avatar dmorley
Browse files

remove nagbar

parent a67db649
......@@ -2,7 +2,7 @@
source "https://rubygems.org"
#gem "sitemap_generator", "~> 5.1"
#gem "sitemap_generator"
gem "rails", "5.2.5"
# Legacy Rails features, remove me!
......
......@@ -12,16 +12,16 @@ oldurls = urls;
}
});
//$('body').on('mouseenter',"a[href^='https://dia.so/'][class!='expanded'],a[href*='//t.co'][class!='expanded'],a[href*='//bit.ly'][class!='expanded'],a[href*='//goo.gl'][class!='expanded'],a[href*='//j.mp'][class!='expanded'],a[href*='//is.gd'][class!='expanded']", function() {
$(this).css('cursor','wait');
var $self = $(this);
$.ajax({
url: '/shorten/show?url='+this.href,
success: function(data) {
$self.addClass("expanded").after("<span class='via'> URL Expanded: <a href='"+data+"'>"+data+"</a></span>");
$self.css('cursor','alias');
}
});
});
//$(this).css('cursor','wait');
// var $self = $(this);
// $.ajax({
// url: '/shorten/show?url='+this.href,
// success: function(data) {
// $self.addClass("expanded").after("<span class='via'> URL Expanded: <a href='"+data+"'>"+data+"</a></span>");
// $self.css('cursor','alias');
// }
// });
//});
});
function progress(percent, $element) {
var progressBarWidth = '+=' + percent * $element.height() / 100;
......
%ul.nav.navbar-nav.navbar-right
- if display_registration_link? && !current_page?(controller: "/registrations", action: :new)
%li= link_to t("devise.shared.links.sign_up"), new_user_registration_path, class: "login"
- if !current_page?(controller: "/registrations", action: :new)
%li= link_to t("devise.shared.links.sign_up"), "/register", class: "login"
- unless current_page?(controller: "/sessions", action: :new)
%li= link_to t("devise.shared.links.sign_in"), new_user_session_path, class: "login"
......@@ -13,5 +13,4 @@
- if display_password_reset_link?
= link_to t('devise.shared.links.forgot_your_password'), new_password_path(resource_name), id: "forgot_password_link"
%br
- if display_registration_link?
= link_to t('devise.shared.links.sign_up'), new_registration_path(resource_name)
= link_to t('devise.shared.links.sign_up'), "/register"
......@@ -19,6 +19,5 @@
= link_to t("devise.shared.links.forgot_your_password"),
new_password_path(resource_name),
id: "forgot_password_link"
- if display_registration_link?
%li= link_to t("devise.shared.links.sign_up"), new_registration_path(resource_name)
%li= link_to t("devise.shared.links.sign_up"), "/register"
%li= link_to t("layouts.application.switch_to_standard_mode"), toggle_mobile_path
:javascript
$(document).ready(function() {progress(91, $('#progressBar'));});
$(document).ready(function() {progress(100, $('#progressBar'));});
.contentdonations.sidebar.info-bar
2021 Fundraiser is going, goal is $1500. That keeps diasporg ad free and running for a year.
......
......@@ -45,7 +45,7 @@
%li{data: {stream: "public"}}
= link_to t("streams.public.title"), public_stream_path, rel: "backbone", class: "hoverable"
= render "shared/bar"
-#= render "shared/bar"
.sidebar.info-bar.hidden-xs
- if AppConfig.settings.invitations.open?
......
......@@ -6,6 +6,6 @@
%h1= @stream.title
#main-stream.stream
= render "shared/bar"
-#= render "shared/bar"
= render 'shared/stream', posts: @stream.stream_posts
= render 'shared/stream_more_button'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment