3 <a href="<% root_path %>" class="geolink llz layers">
4 <%= image_tag "osm_logo.png", :alt => t('layouts.logo.alt_text'), :class => 'logo' %>
5 <%= t 'layouts.project_name.h1' %>
11 <%= link_to t('layouts.view'), root_path, :class => 'tab geolink llz layers' %>
12 </li><li id="edit_tab" class="dropdown">
13 <%= link_to t('layouts.edit'), edit_path, :class => "tab geolink llz object",
15 :data => { :editor => preferred_editor }
16 %><a class='dropdown-toggle' data-toggle='dropdown' href='#'><b class="caret"></b></a>
17 <ul class='dropdown-menu'>
18 <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
20 <%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
21 edit_path(:editor => editor),
22 :data => { :editor => editor },
23 :class => "geolink llz object" %>
27 </li><li id="history_tab">
28 <%= link_to t('layouts.history'), browse_changesets_path, :class => 'tab geolink llz' %>
29 </li><li id="export_tab">
30 <%= link_to t('layouts.export'), export_path, :class => 'tab geolink llz' %>
34 <nav class='secondary'>
36 <li><%= link_to t('layouts.gps_traces'), traces_path %></li>
37 <li><%= link_to t('layouts.user_diaries'), diary_path %></li>
38 <li><%= link_to t('layouts.help'), help_path %></li>
39 <li><%= link_to t('layouts.about'), about_path %></li>
42 <div class='dropdown user-menu'>
43 <a class='dropdown-toggle' data-toggle='dropdown' href="#">
44 <%= user_thumbnail_tiny(@user, :size => 20, :width => 20, :height => 20)
45 %><%= render :partial => 'layouts/inbox'
46 %><span class='username'><%= @user.display_name %></span>
49 <ul class='dropdown-menu'>
51 <%= link_to inbox_path(:display_name => @user.display_name) do %>
52 <span class='count-number'><%= number_with_delimiter(@user.new_messages.size) %></span>
53 <%= t('message.inbox.my_inbox') %>
57 <%= link_to t('user.view.my profile'), user_path(:display_name => @user.display_name) %>
60 <%= link_to t('user.view.my settings'), :controller => 'user', :action => 'account', :display_name => @user.display_name %>
62 <li class="divider"></li>
64 <%= yield :greeting %>
67 <%= link_to t('layouts.logout'), logout_path(:session => request.session_options[:id], :referer => request.fullpath) %>
72 <ul class="user-menu">
73 <li><%= link_to t('layouts.log_in'), login_path(:referer => request.fullpath) %></li>
74 <li><%= link_to t('layouts.sign_up'), user_new_path %></li>