mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 15:42:32 -05:00
adjust cancan permissions
This commit is contained in:
1 parent
18bb57aa99
commit
b8fd5a77d4
18 files changed
+90
-71
No files matched your search
@@ -1,4 +1,13 @@
|
||||
<div class="text-center px-2">
|
||||
Powered by
|
||||
<% if local_assigns[:with_counter] %>
|
||||
<% count = Submitter.where.not(completed_at: nil).distinct.count(:submission_id) %>
|
||||
<% if count > 1 %>
|
||||
<b><%= count %></b> documents signed with
|
||||
<% else %>
|
||||
Powered by
|
||||
<% end %>
|
||||
<% else %>
|
||||
Powered by
|
||||
<% end %>
|
||||
<a href="<%= Docuseal::PRODUCT_URL %>" class="underline"><%= Docuseal::PRODUCT_NAME %></a> - open source documents software
|
||||
</div>
|
||||
Reference in new issue
Block a user