adjust template preview

This commit is contained in:
Pete Matsyburka committed 2026-09-23 10:59:54 +03:00
1 parent 27e5c2c81e
commit d59776e8f5
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@
</native-action>
<% end %>
<% if template.archived_at? || (!can?(:update, template) && can?(:read, template)) %>
<native-action data-section="edit" data-icon="file_text" data-label="<%= t('preview') %>">
<native-action data-placement="bar" data-icon="file_text" data-label="<%= t('preview') %>">
<a href="<%= template_preview_path(template) %>" data-native-title="<%= template.name %>"></a>
</native-action>
<% end %>