diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 25a82b3..0402870 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -26,15 +26,15 @@
-
-
+
+
- - <%= link_to t(".home"), root_path, class: "nav-link px-2 link-secondary" %>
+ - <%= link_to t(".home"), root_path, class: "nav-link ps-0 link-secondary" %>
<% if user_signed_in? %>
-
<% if can? :read, :armstrong %>
- <%= link_to armstrong_index_path, class: "nav-link px-2 link-secondary position-relative" do %>
+ <%= link_to armstrong_index_path, class: "nav-link link-secondary position-relative" do %>
<%= t(".ARMS") %>
β
@@ -45,7 +45,7 @@
-
<% if can? :read, Device %>
- <%= link_to device_index_path, class: "nav-link px-2 link-secondary position-relative" do %>
+ <%= link_to device_index_path, class: "nav-link link-secondary position-relative" do %>
<%= t(".devices") %>
β
@@ -57,9 +57,9 @@
-
<% if can? :read, Inspection %>
<% if can? :new_tasks, Inspection %>
- <%= link_to t(".inspections"), new_tasks_inspection_index_path, class: "nav-link px-2 link-secondary" %>
+ <%= link_to t(".inspections"), new_tasks_inspection_index_path, class: "nav-link link-secondary" %>
<% elsif can? :service_tasks, Inspection %>
- <%= link_to t(".inspections"), service_tasks_inspection_index_path, class: "nav-link px-2 link-secondary" %>
+ <%= link_to t(".inspections"), service_tasks_inspection_index_path, class: "nav-link link-secondary" %>
<%end%>
<%end%>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a497753..3aa08a0 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -80,6 +80,7 @@ en:
updated: Updated
author: Author
comments: Comments
+ all_posts: All posts
shared:
post_footer:
published: published
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index 94cf31c..1a6a30e 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -198,6 +198,7 @@ ru:
post: Пост
user: Пользователь
inspection: Инспекция
+ post_comment: Комментарий
attributes:
building:
id: ID
@@ -313,7 +314,7 @@ ru:
building_id: Здание
level: Уровень
description: Описание
- posts:
+ post:
title: Заголовок
body: Текст записи
user: Автор
@@ -537,6 +538,7 @@ ru:
updated: Обновлен
author: Автор
comments: Комментарии
+ all_posts: Все посты
shared:
post_footer:
published: опубликовано