mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
download event log
This commit is contained in:
1 parent
58e24ef758
commit
7464f9cfad
2 files changed
+12
-1
No files matched your search
@@ -54,7 +54,8 @@
|
||||
<% if @submission.submitters.to_a.any?(&:completed_at?) %>
|
||||
<% show_combined_download = @submission.completed_at? && !is_combined_enabled %>
|
||||
<% show_unarchive = signed_in? && can?(:destroy, @submission) && @submission.archived_at? && @submission.completed_at? %>
|
||||
<% show_download_dropdown = show_combined_download || show_unarchive %>
|
||||
<% show_event_log_download = signed_in? && can?(:manage, :event_log_download) && can?(:read, @submission) %>
|
||||
<% show_download_dropdown = show_combined_download || show_event_log_download || show_unarchive %>
|
||||
<% if @submission.completed_at? || !is_combined_enabled %>
|
||||
<div class="join relative">
|
||||
<native-action data-label="<%= t('download') %>" data-icon="download">
|
||||
@@ -95,6 +96,9 @@
|
||||
</li>
|
||||
</native-action>
|
||||
<% end %>
|
||||
<% if show_event_log_download %>
|
||||
<%= render 'submissions/download_event_log' %>
|
||||
<% end %>
|
||||
<% if show_unarchive %>
|
||||
<native-action data-label="<%= t('unarchive') %>" data-icon="rotate" data-section="archive">
|
||||
<li>
|
||||
|
||||
Reference in new issue
Block a user