<% if logged_in? -%>
- <%= link_to(s_("Menu|Users list"), :controller => "users") %>
- <%= link_to(s_("Menu|Logout"), logout_path) %>
- <%= link_to(s_("Menu|Directory"), :controller => "directory") %>
<% else -%>
- <%= link_to(s_("Menu|Login"), login_path) %>
- <%= link_to(s_("Menu|Sign up"), sign_up_path) %>
<% end -%>
<% if Entry.empty? -%>
- <%= link_to(s_("Menu|Populate"),
{:controller => "directory", :action => "populate"},
:confirm => _("OK?")) %>
<% end -%>