mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 23:32:33 -05:00
adjust nav
This commit is contained in:
1 parent
073859a4b7
commit
38ecda82fa
7 files changed
+37
-30
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<% status_badges = { 'awaiting' => 'badge-info', 'sent' => 'badge-info', 'completed' => 'badge-success', 'opened' => 'badge-warning', 'declined' => 'badge-error' } %>
|
||||
<div class="bg-base-200 rounded-2xl flex flex-col sm:flex-row">
|
||||
<div class="bg-base-200 rounded-2xl flex flex-col sm:flex-row" data-native-title="<%= submission.name.presence || (local_assigns[:template] || submission.template)&.name if turbo_native_app? %>">
|
||||
<% if local_assigns[:with_template] %>
|
||||
<% template = submission.template %>
|
||||
<a href="<%= template ? template_path(template) : submission_path(submission) %>" class="px-5 sm:pr-3 py-3 group sm:rounded-l-2xl sm:rounded-tr-none rounded-t-2xl flex sm:flex-col justify-between sm:w-52 w-full flex-shrink-0 bg-base-300/60 space-x-2 sm:space-x-0">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<% if @template.account_id == current_account.id %>
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center">
|
||||
<a href="<%= folder_path(@template.folder) %>" class="flex items-center space-x-1 mt-1 peer">
|
||||
<a href="<%= folder_path(@template.folder) %>" class="flex items-center space-x-1 mt-1 peer" data-native-title="<%= @template.folder.name %>">
|
||||
<%= svg_icon('folder', class: 'w-5 h-5 flex-shrink-0') %>
|
||||
<span class="text-sm">
|
||||
<%= @template.folder.full_name %>
|
||||
@@ -81,7 +81,7 @@
|
||||
<% end %>
|
||||
<% if !template.archived_at? && can?(:update, template) %>
|
||||
<native-action data-placement="bar" data-icon="pencil" data-label="<%= t('edit') %>">
|
||||
<a href="<%= edit_template_path(template) %>"></a>
|
||||
<a href="<%= edit_template_path(template) %>" data-native-title="<%= template.name %>"></a>
|
||||
</native-action>
|
||||
<native-action data-section="edit" data-icon="adjustments_horizontal" data-label="<%= t('preferences') %>">
|
||||
<a href="<%= template_preferences_path(template) %>" data-turbo-frame="modal"></a>
|
||||
|
||||
Reference in new issue
Block a user