[#692] Add register link back into the top menu
This commit is contained in:
parent
612f2f98e4
commit
0385979d5e
|
@ -78,6 +78,11 @@
|
||||||
<li>
|
<li>
|
||||||
<%= render_menu_node(help_menu_item) %>
|
<%= render_menu_node(help_menu_item) %>
|
||||||
<% unless User.current.logged? %>
|
<% unless User.current.logged? %>
|
||||||
|
<% if Setting.self_registration? %>
|
||||||
|
<li>
|
||||||
|
<%= link_to l(:label_register), { :controller => 'account', :action => 'register' } %>
|
||||||
|
</li>
|
||||||
|
<% end %>
|
||||||
<li id="login-menu" class="drop-down last-child">
|
<li id="login-menu" class="drop-down last-child">
|
||||||
<%= link_to l(:label_login), {:controller => 'account', :action => 'login'}, :class => 'login' %>
|
<%= link_to l(:label_login), {:controller => 'account', :action => 'login'}, :class => 'login' %>
|
||||||
<div id="nav-login" style="display:none;">
|
<div id="nav-login" style="display:none;">
|
||||||
|
|
Loading…
Reference in New Issue