Files
docuseal/app/views/shared/_powered_by.html.erb
T
Oleksandr Turchyn e9d728fa4a add i18n
2024-09-23 11:45:07 +03:00

14 lines
515 B
Plaintext

<div class="text-center px-2">
<% if local_assigns[:with_counter] %>
<% count = Submitter.where.not(completed_at: nil).distinct.count(:submission_id) %>
<% if count > 1 %>
<%= t('count_documents_signed_with_html', count:) %>
<% else %>
<%= t('powered_by') %>
<% end %>
<% else %>
<%= t('powered_by') %>
<% end %>
<a href="<%= Docuseal::PRODUCT_URL %><%= local_assigns[:link_path] %>" class="underline"><%= Docuseal.product_name %></a> - open source documents software
</div>