mirror of
https://github.com/docusealco/docuseal
synced 2026-11-12 07:42:32 -05:00
adjust template preview
This commit is contained in:
1 parent
27e5c2c81e
commit
d59776e8f5
4 files changed
+4
-4
No files matched your search
@@ -1,2 +1,2 @@
|
||||
<% author = template.author.full_name.presence || template.author.email.to_s.sub(/\+\w+@/, '@') %>
|
||||
<%= render 'search/row', href: template_path(template), icon: 'layout_grid', title: template.name, subtitle: template.folder.default? || params[:folder].present? ? author : template.folder.full_name, date: template.created_at, native_actions: ('pencil,menu' if turbo_native_app? && !template.archived_at? && can?(:update, template)) %>
|
||||
<%= render 'search/row', href: template_path(template), icon: 'layout_grid', title: template.name, subtitle: template.folder.default? || params[:folder].present? ? author : template.folder.full_name, date: template.created_at, native_actions: ((!template.archived_at? && can?(:update, template) ? 'pencil,menu' : 'file_text,menu') if turbo_native_app?) %>
|
||||
Reference in new issue
Block a user