i18n: перевод страницы dashboard (ru/uk/en)
Все видимые строки главной страницы помечены {% trans %} (русский msgid),
переведены на uk/en; часть переиспользует msgid из меню. Сняты fuzzy-метки,
неверные авто-переводы перезаписаны корректными. .mo пересобраны.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
@@ -3,12 +3,11 @@
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-07-25 11:43+0300\n"
|
||||
"POT-Creation-Date: 2026-07-25 11:50+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -17,6 +16,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: apps/ad_connector/models.py:10 apps/employees/models/base.py:186
|
||||
#: apps/employees/models/permissions.py:47
|
||||
msgid "Сотрудник"
|
||||
@@ -380,6 +380,7 @@ msgid "Обновляется автоматически при активнос
|
||||
msgstr ""
|
||||
|
||||
#: apps/employees/models/base.py:187 templates/index.html:250
|
||||
#: templates/pages/dashboard.html:174
|
||||
msgid "Сотрудники"
|
||||
msgstr "Employees"
|
||||
|
||||
@@ -1610,14 +1611,15 @@ msgid "Новости"
|
||||
msgstr "News"
|
||||
|
||||
#: templates/index.html:260 templates/index.html:660
|
||||
#: templates/pages/dashboard.html:145
|
||||
msgid "Задачи"
|
||||
msgstr "Tasks"
|
||||
|
||||
#: templates/index.html:270
|
||||
#: templates/index.html:270 templates/pages/dashboard.html:135
|
||||
msgid "Документы"
|
||||
msgstr "Documents"
|
||||
|
||||
#: templates/index.html:280
|
||||
#: templates/index.html:280 templates/pages/dashboard.html:125
|
||||
msgid "Электронная почта"
|
||||
msgstr "Email"
|
||||
|
||||
@@ -1625,7 +1627,7 @@ msgstr "Email"
|
||||
msgid "Чат"
|
||||
msgstr "Chat"
|
||||
|
||||
#: templates/index.html:298
|
||||
#: templates/index.html:298 templates/pages/dashboard.html:154
|
||||
msgid "Календарь"
|
||||
msgstr "Calendar"
|
||||
|
||||
@@ -1641,7 +1643,7 @@ msgstr "Reports"
|
||||
msgid "Закупки"
|
||||
msgstr "Purchases"
|
||||
|
||||
#: templates/index.html:335
|
||||
#: templates/index.html:335 templates/pages/dashboard.html:183
|
||||
msgid "HR портал"
|
||||
msgstr "HR portal"
|
||||
|
||||
@@ -1681,7 +1683,7 @@ msgstr "Support"
|
||||
msgid "Справка"
|
||||
msgstr "Help"
|
||||
|
||||
#: templates/index.html:438
|
||||
#: templates/index.html:438 templates/pages/dashboard.html:193
|
||||
msgid "Поддержка IT"
|
||||
msgstr "IT Support"
|
||||
|
||||
@@ -1724,3 +1726,91 @@ msgstr ""
|
||||
#: templates/index.html:687
|
||||
msgid "Меню"
|
||||
msgstr ""
|
||||
|
||||
#: templates/pages/dashboard.html:7
|
||||
msgid "Добрый день"
|
||||
msgstr "Good afternoon"
|
||||
|
||||
#: templates/pages/dashboard.html:8
|
||||
msgid "Добро пожаловать в корпоративный портал АКС."
|
||||
msgstr "Welcome to the AKS corporate portal."
|
||||
|
||||
#: templates/pages/dashboard.html:8
|
||||
msgid "Сегодня"
|
||||
msgstr "Today"
|
||||
|
||||
#: templates/pages/dashboard.html:8
|
||||
msgid "г."
|
||||
msgstr "y."
|
||||
|
||||
#: templates/pages/dashboard.html:10
|
||||
msgid "Мои задачи"
|
||||
msgstr "My tasks"
|
||||
|
||||
#: templates/pages/dashboard.html:11
|
||||
msgid "Сообщения"
|
||||
msgstr "Messages"
|
||||
|
||||
#: templates/pages/dashboard.html:20
|
||||
msgid "Сотрудников онлайн"
|
||||
msgstr "Employees online"
|
||||
|
||||
#: templates/pages/dashboard.html:22
|
||||
msgid "из"
|
||||
msgstr "of"
|
||||
|
||||
#: templates/pages/dashboard.html:22
|
||||
msgid "активных"
|
||||
msgstr "active"
|
||||
|
||||
#: templates/pages/dashboard.html:35
|
||||
msgid "Аптек в сети"
|
||||
msgstr "Pharmacies in network"
|
||||
|
||||
#: templates/pages/dashboard.html:37
|
||||
msgid "активных точек"
|
||||
msgstr "active locations"
|
||||
|
||||
#: templates/pages/dashboard.html:48
|
||||
msgid "Открытых IT-заявок"
|
||||
msgstr "Open IT tickets"
|
||||
|
||||
#: templates/pages/dashboard.html:50
|
||||
msgid "в работе и новых"
|
||||
msgstr "in progress and new"
|
||||
|
||||
#: templates/pages/dashboard.html:62
|
||||
msgid "Справочников"
|
||||
msgstr "Directories"
|
||||
|
||||
#: templates/pages/dashboard.html:64
|
||||
msgid "записей"
|
||||
msgstr "records"
|
||||
|
||||
#: templates/pages/dashboard.html:81
|
||||
msgid "Последние новости"
|
||||
msgstr "Latest news"
|
||||
|
||||
#: templates/pages/dashboard.html:82
|
||||
msgid "Объявления и важные события компании"
|
||||
msgstr "Announcements and important company events"
|
||||
|
||||
#: templates/pages/dashboard.html:103
|
||||
msgid "Публикаций пока нет"
|
||||
msgstr "No publications yet"
|
||||
|
||||
#: templates/pages/dashboard.html:107
|
||||
msgid "Все новости"
|
||||
msgstr "All news"
|
||||
|
||||
#: templates/pages/dashboard.html:114
|
||||
msgid "Быстрый доступ"
|
||||
msgstr "Quick access"
|
||||
|
||||
#: templates/pages/dashboard.html:115
|
||||
msgid "Полезные ссылки и инструменты"
|
||||
msgstr "Useful links and tools"
|
||||
|
||||
#: templates/pages/dashboard.html:163
|
||||
msgid "Справочник"
|
||||
msgstr "Directory"
|
||||
|
||||
Binary file not shown.
@@ -3,12 +3,11 @@
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-07-25 11:43+0300\n"
|
||||
"POT-Creation-Date: 2026-07-25 11:50+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -20,6 +19,7 @@ msgstr ""
|
||||
"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % "
|
||||
"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || "
|
||||
"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
||||
|
||||
#: apps/ad_connector/models.py:10 apps/employees/models/base.py:186
|
||||
#: apps/employees/models/permissions.py:47
|
||||
msgid "Сотрудник"
|
||||
@@ -383,6 +383,7 @@ msgid "Обновляется автоматически при активнос
|
||||
msgstr ""
|
||||
|
||||
#: apps/employees/models/base.py:187 templates/index.html:250
|
||||
#: templates/pages/dashboard.html:174
|
||||
msgid "Сотрудники"
|
||||
msgstr "Співробітники"
|
||||
|
||||
@@ -1613,14 +1614,15 @@ msgid "Новости"
|
||||
msgstr "Новини"
|
||||
|
||||
#: templates/index.html:260 templates/index.html:660
|
||||
#: templates/pages/dashboard.html:145
|
||||
msgid "Задачи"
|
||||
msgstr "Задачі"
|
||||
|
||||
#: templates/index.html:270
|
||||
#: templates/index.html:270 templates/pages/dashboard.html:135
|
||||
msgid "Документы"
|
||||
msgstr "Документи"
|
||||
|
||||
#: templates/index.html:280
|
||||
#: templates/index.html:280 templates/pages/dashboard.html:125
|
||||
msgid "Электронная почта"
|
||||
msgstr "Електронна пошта"
|
||||
|
||||
@@ -1628,7 +1630,7 @@ msgstr "Електронна пошта"
|
||||
msgid "Чат"
|
||||
msgstr "Чат"
|
||||
|
||||
#: templates/index.html:298
|
||||
#: templates/index.html:298 templates/pages/dashboard.html:154
|
||||
msgid "Календарь"
|
||||
msgstr "Календар"
|
||||
|
||||
@@ -1644,7 +1646,7 @@ msgstr "Звіти"
|
||||
msgid "Закупки"
|
||||
msgstr "Закупівлі"
|
||||
|
||||
#: templates/index.html:335
|
||||
#: templates/index.html:335 templates/pages/dashboard.html:183
|
||||
msgid "HR портал"
|
||||
msgstr "HR портал"
|
||||
|
||||
@@ -1684,7 +1686,7 @@ msgstr "Підтримка"
|
||||
msgid "Справка"
|
||||
msgstr "Довідка"
|
||||
|
||||
#: templates/index.html:438
|
||||
#: templates/index.html:438 templates/pages/dashboard.html:193
|
||||
msgid "Поддержка IT"
|
||||
msgstr "Підтримка IT"
|
||||
|
||||
@@ -1727,3 +1729,91 @@ msgstr ""
|
||||
#: templates/index.html:687
|
||||
msgid "Меню"
|
||||
msgstr ""
|
||||
|
||||
#: templates/pages/dashboard.html:7
|
||||
msgid "Добрый день"
|
||||
msgstr "Доброго дня"
|
||||
|
||||
#: templates/pages/dashboard.html:8
|
||||
msgid "Добро пожаловать в корпоративный портал АКС."
|
||||
msgstr "Ласкаво просимо до корпоративного порталу АКС."
|
||||
|
||||
#: templates/pages/dashboard.html:8
|
||||
msgid "Сегодня"
|
||||
msgstr "Сьогодні"
|
||||
|
||||
#: templates/pages/dashboard.html:8
|
||||
msgid "г."
|
||||
msgstr "р."
|
||||
|
||||
#: templates/pages/dashboard.html:10
|
||||
msgid "Мои задачи"
|
||||
msgstr "Мої задачі"
|
||||
|
||||
#: templates/pages/dashboard.html:11
|
||||
msgid "Сообщения"
|
||||
msgstr "Повідомлення"
|
||||
|
||||
#: templates/pages/dashboard.html:20
|
||||
msgid "Сотрудников онлайн"
|
||||
msgstr "Співробітників онлайн"
|
||||
|
||||
#: templates/pages/dashboard.html:22
|
||||
msgid "из"
|
||||
msgstr "із"
|
||||
|
||||
#: templates/pages/dashboard.html:22
|
||||
msgid "активных"
|
||||
msgstr "активних"
|
||||
|
||||
#: templates/pages/dashboard.html:35
|
||||
msgid "Аптек в сети"
|
||||
msgstr "Аптек у мережі"
|
||||
|
||||
#: templates/pages/dashboard.html:37
|
||||
msgid "активных точек"
|
||||
msgstr "активних точок"
|
||||
|
||||
#: templates/pages/dashboard.html:48
|
||||
msgid "Открытых IT-заявок"
|
||||
msgstr "Відкритих IT-заявок"
|
||||
|
||||
#: templates/pages/dashboard.html:50
|
||||
msgid "в работе и новых"
|
||||
msgstr "в роботі та нових"
|
||||
|
||||
#: templates/pages/dashboard.html:62
|
||||
msgid "Справочников"
|
||||
msgstr "Довідників"
|
||||
|
||||
#: templates/pages/dashboard.html:64
|
||||
msgid "записей"
|
||||
msgstr "записів"
|
||||
|
||||
#: templates/pages/dashboard.html:81
|
||||
msgid "Последние новости"
|
||||
msgstr "Останні новини"
|
||||
|
||||
#: templates/pages/dashboard.html:82
|
||||
msgid "Объявления и важные события компании"
|
||||
msgstr "Оголошення та важливі події компанії"
|
||||
|
||||
#: templates/pages/dashboard.html:103
|
||||
msgid "Публикаций пока нет"
|
||||
msgstr "Публікацій поки немає"
|
||||
|
||||
#: templates/pages/dashboard.html:107
|
||||
msgid "Все новости"
|
||||
msgstr "Всі новини"
|
||||
|
||||
#: templates/pages/dashboard.html:114
|
||||
msgid "Быстрый доступ"
|
||||
msgstr "Швидкий доступ"
|
||||
|
||||
#: templates/pages/dashboard.html:115
|
||||
msgid "Полезные ссылки и инструменты"
|
||||
msgstr "Корисні посилання та інструменти"
|
||||
|
||||
#: templates/pages/dashboard.html:163
|
||||
msgid "Справочник"
|
||||
msgstr "Довідник"
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{% load common_tags %}
|
||||
{% load i18n %}
|
||||
<div class="page-content">
|
||||
|
||||
<!-- Привітальний банер -->
|
||||
<div style="background: linear-gradient(135deg, hsl(0 60% 97%) 0%, hsl(214 60% 97%) 100%); border-radius: 0.75rem; padding: 2rem 2.5rem; margin-bottom: 1.5rem;">
|
||||
<h1 style="font-size: 1.75rem; font-weight: 700; color: var(--color-foreground); margin-bottom: 0.375rem;">Доброго дня, {{ request.user.first_name|default:request.user.username }}</h1>
|
||||
<p style="font-size: 0.9375rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem;">Ласкаво просимо до корпоративного порталу АКС. Сьогодні {{ today|date:"j E Y" }} р.</p>
|
||||
<h1 style="font-size: 1.75rem; font-weight: 700; color: var(--color-foreground); margin-bottom: 0.375rem;">{% trans "Добрый день" %}, {{ request.user.first_name|default:request.user.username }}</h1>
|
||||
<p style="font-size: 0.9375rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem;">{% trans "Добро пожаловать в корпоративный портал АКС." %} {% trans "Сегодня" %} {{ today|date:"j E Y" }} {% trans "г." %}</p>
|
||||
<div style="display: flex; gap: 0.75rem;">
|
||||
<button class="btn btn-primary" hx-get="/tasks/" hx-target="#main-content" hx-push-url="/tasks/" hx-indicator="#loader">Мої задачі</button>
|
||||
<button class="btn btn-secondary" style="border: 1px solid var(--color-border);" hx-get="/chat/" hx-target="#main-content" hx-push-url="/chat/" hx-indicator="#loader">Повідомлення</button>
|
||||
<button class="btn btn-primary" hx-get="/tasks/" hx-target="#main-content" hx-push-url="/tasks/" hx-indicator="#loader">{% trans "Мои задачи" %}</button>
|
||||
<button class="btn btn-secondary" style="border: 1px solid var(--color-border);" hx-get="/chat/" hx-target="#main-content" hx-push-url="/chat/" hx-indicator="#loader">{% trans "Сообщения" %}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,9 +17,9 @@
|
||||
|
||||
<div class="stat-card" style="display: flex; justify-content: space-between; align-items: flex-start;">
|
||||
<div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">Співробітників онлайн</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">{% trans "Сотрудников онлайн" %}</div>
|
||||
<div style="font-size: 1.75rem; font-weight: 700; color: var(--color-foreground); line-height: 1;">{{ employees_online }}</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">із {{ employees_active }} активних</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">{% trans "из" %} {{ employees_active }} {% trans "активных" %}</div>
|
||||
</div>
|
||||
<div style="width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: hsl(205 80% 55% / 0.12); color: hsl(205 80% 45%); display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
@@ -31,9 +32,9 @@
|
||||
|
||||
<div class="stat-card" style="display: flex; justify-content: space-between; align-items: flex-start;">
|
||||
<div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">Аптек у мережі</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">{% trans "Аптек в сети" %}</div>
|
||||
<div style="font-size: 1.75rem; font-weight: 700; color: var(--color-foreground); line-height: 1;">{{ pharmacies_active }}</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">активних точок</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">{% trans "активных точек" %}</div>
|
||||
</div>
|
||||
<div style="width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: hsl(270 60% 55% / 0.12); color: hsl(270 60% 45%); display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
@@ -44,9 +45,9 @@
|
||||
|
||||
<div class="stat-card" style="display: flex; justify-content: space-between; align-items: flex-start;">
|
||||
<div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">Відкритих IT-заявок</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">{% trans "Открытых IT-заявок" %}</div>
|
||||
<div style="font-size: 1.75rem; font-weight: 700; color: var(--color-foreground); line-height: 1;">{{ open_tickets }}</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">в роботі та нових</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">{% trans "в работе и новых" %}</div>
|
||||
</div>
|
||||
<div style="width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: hsl(174 55% 42% / 0.12); color: hsl(174 55% 35%); display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
@@ -58,9 +59,9 @@
|
||||
|
||||
<div class="stat-card" style="display: flex; justify-content: space-between; align-items: flex-start;">
|
||||
<div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">Довідників</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem;">{% trans "Справочников" %}</div>
|
||||
<div style="font-size: 1.75rem; font-weight: 700; color: var(--color-foreground); line-height: 1;">{{ directory_types_count }}</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">{{ directories_count }} записів</div>
|
||||
<div style="font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem;">{{ directories_count }} {% trans "записей" %}</div>
|
||||
</div>
|
||||
<div style="width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: hsl(38 92% 50% / 0.12); color: hsl(38 80% 35%); display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
@@ -77,8 +78,8 @@
|
||||
<!-- Новини -->
|
||||
<div style="background: var(--color-card); border-radius: 0.75rem; border: 1px solid var(--color-border); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);">
|
||||
<div style="padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border);">
|
||||
<h3 style="font-weight: 600; color: var(--color-card-foreground); font-size: 0.9375rem;">Останні новини</h3>
|
||||
<p style="font-size: 0.8125rem; color: var(--color-muted-foreground); margin-top: 0.125rem;">Оголошення та важливі події компанії</p>
|
||||
<h3 style="font-weight: 600; color: var(--color-card-foreground); font-size: 0.9375rem;">{% trans "Последние новости" %}</h3>
|
||||
<p style="font-size: 0.8125rem; color: var(--color-muted-foreground); margin-top: 0.125rem;">{% trans "Объявления и важные события компании" %}</p>
|
||||
</div>
|
||||
<div>
|
||||
{% for post in latest_posts %}
|
||||
@@ -99,19 +100,19 @@
|
||||
</div>
|
||||
</a>
|
||||
{% empty %}
|
||||
<div style="padding: 1.5rem; text-align: center; color: var(--color-muted-foreground); font-size: 0.8125rem;">Публікацій поки немає</div>
|
||||
<div style="padding: 1.5rem; text-align: center; color: var(--color-muted-foreground); font-size: 0.8125rem;">{% trans "Публикаций пока нет" %}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div style="padding: 0.875rem 1.5rem; border-top: 1px solid var(--color-border);">
|
||||
<a href="/news/" hx-get="/news/" hx-target="#main-content" hx-push-url="/news/" hx-indicator="#loader" style="font-size: 0.8125rem; color: var(--color-primary); text-decoration: none; font-weight: 500;">Всі новини →</a>
|
||||
<a href="/news/" hx-get="/news/" hx-target="#main-content" hx-push-url="/news/" hx-indicator="#loader" style="font-size: 0.8125rem; color: var(--color-primary); text-decoration: none; font-weight: 500;">{% trans "Все новости" %} →</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Швидкий доступ -->
|
||||
<div style="background: var(--color-card); border-radius: 0.75rem; border: 1px solid var(--color-border); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);">
|
||||
<div style="padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border);">
|
||||
<h3 style="font-weight: 600; color: var(--color-card-foreground); font-size: 0.9375rem;">Швидкий доступ</h3>
|
||||
<p style="font-size: 0.8125rem; color: var(--color-muted-foreground); margin-top: 0.125rem;">Корисні посилання та інструменти</p>
|
||||
<h3 style="font-weight: 600; color: var(--color-card-foreground); font-size: 0.9375rem;">{% trans "Быстрый доступ" %}</h3>
|
||||
<p style="font-size: 0.8125rem; color: var(--color-muted-foreground); margin-top: 0.125rem;">{% trans "Полезные ссылки и инструменты" %}</p>
|
||||
</div>
|
||||
<div style="padding: 1.25rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;">
|
||||
|
||||
@@ -121,7 +122,7 @@
|
||||
<rect width="20" height="16" x="2" y="4" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Електронна пошта</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Электронная почта" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/documents/" hx-get="/documents/" hx-target="#main-content" hx-push-url="/documents/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -131,7 +132,7 @@
|
||||
<path d="M14 2v4a2 2 0 0 0 2 2h4"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Документи</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Документы" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/tasks/" hx-get="/tasks/" hx-target="#main-content" hx-push-url="/tasks/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -141,7 +142,7 @@
|
||||
<path d="m9 14 2 2 4-4"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Задачі</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Задачи" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/calendar/" hx-get="/calendar/" hx-target="#main-content" hx-push-url="/calendar/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -150,7 +151,7 @@
|
||||
<rect width="18" height="18" x="3" y="4" rx="2"/><path d="M16 2v4M8 2v4M3 10h18"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Календар</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Календарь" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/databases/" hx-get="/databases/" hx-target="#main-content" hx-push-url="/databases/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -159,7 +160,7 @@
|
||||
<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Довідник</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Справочник" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/employees/" hx-get="/employees/" hx-target="#main-content" hx-push-url="/employees/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -170,7 +171,7 @@
|
||||
<path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Співробітники</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Сотрудники" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/hr-portal/" hx-get="/hr-portal/" hx-target="#main-content" hx-push-url="/hr-portal/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -179,7 +180,7 @@
|
||||
<rect width="20" height="14" x="2" y="7" rx="2"/><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">HR портал</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "HR портал" %}</span>
|
||||
</a>
|
||||
|
||||
<a href="/it-support/" hx-get="/it-support/" hx-target="#main-content" hx-push-url="/it-support/" hx-indicator="#loader" class="li-hover" style="display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.875rem 0.25rem; border-radius: 0.5rem; text-decoration: none; cursor: pointer; transition: background 150ms;">
|
||||
@@ -189,7 +190,7 @@
|
||||
<path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">Підтримка IT</span>
|
||||
<span style="font-size: 0.6875rem; color: var(--color-foreground); text-align: center; line-height: 1.3;">{% trans "Поддержка IT" %}</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user