adjust shared tag

This commit is contained in:
Pete Matsyburka
2026-06-24 16:14:57 +03:00
parent c18ddb99a8
commit 2840359396
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
<%= svg_icon('user', class: 'w-4 h-4') %>
<span><%= template.author.full_name.presence || template.author.email.to_s.sub(/\+\w+@/, '@') %></span>
<% if template.account_id != current_account.id %>
<span class="badge badge-neutral badge-outline badge-sm text-[10px] uppercase"><%= t('shared') %></span>
<span class="badge badge-neutral badge-outline badge-sm text-[10px] uppercase !border-base-content/60"><%= t('shared') %></span>
<% end %>
</p>
<p class="flex text-xs text-base-content/60">
+6 -3
View File
@@ -31,9 +31,12 @@
<% else %>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="flex items-center space-x-1 mt-1 peer">
<span class="badge badge-neutral badge-outline badge-md text-xs text-white uppercase"><%= t('shared') %></span>
</div>
<a href="<%= templates_shared_index_path %>" class="flex items-center space-x-1 mt-1">
<%= svg_icon('folder', class: 'w-5 h-5 flex-shrink-0') %>
<span class="text-sm capitalize">
<%= t('shared') %>
</span>
</a>
</div>
</div>
<% end %>