Sha256: a48ccfb87cf9339dfd5c56f10dfc08521a5732ff040ea8e5af95eaa61d0430c2

Contents?: true

Size: 425 Bytes

Versions: 4

Compression:

Stored size: 425 Bytes

Contents

<% total_missing_emails = setting&.participants.where(email: "").count %>
<% i18n_scope = "decidim.action_delegator.admin.settings.setting_checks" %>
<% if Decidim::ActionDelegator.allow_to_invite_users && total_missing_emails.positive? %>
  <div class="callout warning text-left">
    <p><%= t("#{i18n_scope}.missing_emails", count: pluralize(total_missing_emails, t("#{i18n_scope}.participant"))) %></p>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 app/views/decidim/action_delegator/admin/settings/_participants_email_check.html.erb
decidim-action_delegator-0.7.2 app/views/decidim/action_delegator/admin/settings/_participants_email_check.html.erb
decidim-action_delegator-0.7.1 app/views/decidim/action_delegator/admin/settings/_participants_email_check.html.erb
decidim-action_delegator-0.7.0 app/views/decidim/action_delegator/admin/settings/_participants_email_check.html.erb