From f17d16385fac0339173cc0ff7a160e8abd6f6fbc Mon Sep 17 00:00:00 2001 From: movilla Date: Wed, 24 Apr 2013 22:17:47 +0200 Subject: [PATCH] mobile private post dont show error 404 --- Changelog.md | 1 + app/assets/stylesheets/mobile.css.scss | 8 ++++++++ app/views/errors/not_public.haml | 7 ------- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Changelog.md b/Changelog.md index 46e95a066..ef1bd4a46 100644 --- a/Changelog.md +++ b/Changelog.md @@ -132,6 +132,7 @@ everything is set up. * Fix wrong message on infinite scroll on contacts page [#3681](https://github.com/diaspora/diaspora/issues/3681) * My Activity mobile doesn't show second page when clicking "more". [#4109](https://github.com/diaspora/diaspora/issues/4109) * Remove unnecessary navigation bar to access mobile site and re-add flash warning to mobile registrations. [#4085](https://github.com/diaspora/diaspora/pull/4085) +* Private post dont show error 404 when you are not authorized on mobile page [#4129](https://github.com/diaspora/diaspora/issues/4129) ## Features diff --git a/app/assets/stylesheets/mobile.css.scss b/app/assets/stylesheets/mobile.css.scss index b1121bc70..962dbee37 100644 --- a/app/assets/stylesheets/mobile.css.scss +++ b/app/assets/stylesheets/mobile.css.scss @@ -1235,3 +1235,11 @@ input#q.search { height: 16px; width: 16px; } + +#big-number { + font-size: 120px !important; +} + +#content { + font-size: 13px !important; +} diff --git a/app/views/errors/not_public.haml b/app/views/errors/not_public.haml index 832dad9b9..008dd27ed 100644 --- a/app/views/errors/not_public.haml +++ b/app/views/errors/not_public.haml @@ -2,16 +2,9 @@ -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -- if in_mobile_view? - :css - #big-number{ font-size: 120px;} - #content{ font-size: 13px;} - - content_for :head do = stylesheet_link_tag :error_pages, :media => 'all' -- content_for :after_content do - #big-number.transparent 404