adjust shared tag
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user