diaspora/app/views/errors/not_public.html.haml
Florian Staudacher 8ca39f5936 show a "post is not public" message when visitor is not logged in
and tries to access a show page of a non-public post
2012-06-07 22:16:37 +02:00

14 lines
407 B
Text

-# Copyright (c) 2010-2012, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- content_for :head do
= stylesheet_link_tag :error_pages, :media => 'all'
#big-number.transparent
404
#content
= t('error_messages.post_not_public')
%br
= t('error_messages.login_try_again', :login_link => new_user_session_path).html_safe