add native titles

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2026-09-23 10:59:53 +03:00
1 parent aa1874cdb4
commit 617d75a4ed
28 files changed
+82 -13

No files matched your search

+2 -3
View File
@@ -1,3 +1,4 @@
<% content_for(:native_title, t('archived')) if turbo_native_app? %>
<% unless turbo_native_app? %>
<div>
<%= link_to root_path, class: 'flex items-center mb-1 md:mb-0' do %>
@@ -6,9 +7,7 @@
<% end %>
</div>
<% end %>
<% if turbo_native_app? %>
<% content_for(:html_title, t('archived')) %>
<% else %>
<% unless turbo_native_app? %>
<div class="group/header flex justify-between mb-4 items-center">
<div class="max-md:group-has-[search-input:focus-within]/header:hidden">
<h1 class="text-2xl md:text-3xl font-bold md:block <%= 'hidden' if params[:q].present? %>"><%= t('document_templates_html') %> <span class="badge badge-outline badge-lg align-middle"><%= t('archived') %></span></h1>