X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/983e21db2e3ccc5f645f40a5f076d35e2b7897c2..fbcd2bc10a5f97a1ecd5d6d76a039ebd85365d2e:/app/views/layouts/_header.html.erb
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index a3e1846a9..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 %>