From: Jean-Philippe Lang Date: Fri, 4 Mar 2011 15:14:24 +0000 (+0000) Subject: Fixed: Login page should not show projects link and search box if authentication... X-Git-Tag: 1.2.0~823 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e41b76b459539b99208b7076decbc4534e917a0c;p=redmine.git Fixed: Login page should not show projects link and search box if authentication is required (#3715). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5007 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 017fcc173..fda4e2954 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -29,10 +29,11 @@ <%= render_menu :account_menu -%> <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %> - <%= render_menu :top_menu -%> + <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>