X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..657ed03d8b2e262bc965cc38e8af190624c3295b:/app/views/layouts/_header.html.erb?ds=inline
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index e17c6a77b..725000a13 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -3,9 +3,9 @@
- <%= t 'layouts.project_name.h1' %>
+ <%= t "layouts.project_name.h1" %>
@@ -13,14 +13,16 @@
<%= content_for :header %>
-
- <%= link_to t('layouts.edit'), edit_path, :class => "tab geolink editlink",
- :id => 'editanchor',
- :data => { :editor => preferred_editor }
- %>
+ <%= link_to t("layouts.edit"),
+ edit_path,
+ :class => "tab geolink editlink",
+ :id => "editanchor",
+ :data => { :editor => preferred_editor } %>
+
-
- <%= link_to t('layouts.history'), history_path, :class => 'tab geolink' %>
+ <%= link_to t("layouts.history"), history_path, :class => "tab geolink" %>
-
- <%= link_to t('layouts.export'), export_path, :class => 'tab geolink' %>
+ <%= link_to t("layouts.export"), export_path, :class => "tab geolink" %>
@@ -40,70 +42,74 @@
<% if current_user and ( current_user.administrator? or current_user.moderator? ) %>
-
- <%= link_to issues_path(:status => 'open') do %>
- <%= t('layouts.issues') %>
+ <%= link_to issues_path(:status => "open") do %>
+ <%= t("layouts.issues") %>
<%= open_issues_count %>
<% end -%>
<% end %>
- - <%= link_to t('layouts.gps_traces'), traces_path %>
- - <%= link_to t('layouts.user_diaries'), diary_path %>
- - <%= link_to t('layouts.copyright'), copyright_path %>
- - <%= link_to t('layouts.help'), help_path %>
- - <%= link_to t('layouts.about'), about_path %>
+ - <%= link_to t("layouts.gps_traces"), traces_path %>
+ - <%= link_to t("layouts.user_diaries"), diary_entries_path %>
+ - <%= link_to t("layouts.copyright"), copyright_path %>
+ - <%= link_to t("layouts.help"), help_path %>
+ - <%= link_to t("layouts.about"), about_path %>
-
- <%= t 'layouts.more' %>
+ <%= t "layouts.more" %>
<% if current_user && current_user.id %>
<% else %>
<% end %>