X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8a8a88004d25837a10436fdc13128146b32c32b..cbea796ef412840af9a3ec2fd26bf08657fc4cd3:/app/views/layouts/_header.html.erb
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 %>