fix
This commit is contained in:
parent
383d62a353
commit
b2896c1645
|
@ -18,8 +18,8 @@
|
||||||
@nav_dispaly_forum_label = 1
|
@nav_dispaly_forum_label = 1
|
||||||
@nav_dispaly_bid_label = 1
|
@nav_dispaly_bid_label = 1
|
||||||
@nav_dispaly_contest_label = 1
|
@nav_dispaly_contest_label = 1
|
||||||
@nav_dispaly_store_all_label = 1
|
@nav_dispaly_store_all_label = end
|
||||||
end
|
1
|
||||||
%>
|
%>
|
||||||
<div id="top-menu" style="background-color: #15bccf;height:40px;margin-top: 10px;margin-bottom: 10px;">
|
<div id="top-menu" style="background-color: #15bccf;height:40px;margin-top: 10px;margin-bottom: 10px;">
|
||||||
<div class="welcome_logo">
|
<div class="welcome_logo">
|
||||||
|
|
|
@ -264,7 +264,7 @@ end
|
||||||
# end
|
# end
|
||||||
|
|
||||||
Redmine::MenuManager.map :account_menu do |menu|
|
Redmine::MenuManager.map :account_menu do |menu|
|
||||||
menu.push :login, {:controller => 'account', :action => 'login', :host => Setting.user_domain}, :if => Proc.new { !User.current.logged? }
|
menu.push :login, {:controller => 'account', :action => 'login'}, :if => Proc.new { !User.current.logged? }
|
||||||
menu.push :register, {:controller => 'account', :action => 'register'}, :if => Proc.new { !User.current.logged? && Setting.self_registration? }
|
menu.push :register, {:controller => 'account', :action => 'register'}, :if => Proc.new { !User.current.logged? && Setting.self_registration? }
|
||||||
# menu.push :my_account, { :controller => 'my', :action => 'account' }, :if => Proc.new { User.current.logged? }
|
# menu.push :my_account, { :controller => 'my', :action => 'account' }, :if => Proc.new { User.current.logged? }
|
||||||
menu.push :logout, {:controller => 'account', :action => 'logout'},: html => {:method => 'post'}, :if => Proc.new { User.current.logged? }
|
menu.push :logout, {:controller => 'account', :action => 'logout'},: html => {:method => 'post'}, :if => Proc.new { User.current.logged? }
|
||||||
|
|
Loading…
Reference in New Issue