Sha256: 79c955b2a87d45f7c96ce17cbeb1f1844fe01122ed20efeb050c749cefa922b1

Contents?: true

Size: 577 Bytes

Versions: 4

Compression:

Stored size: 577 Bytes

Contents

<% missing_sync =  missing_decidim_users(setting&.participants) %>
<% if setting.participants.any? && missing_sync.present? %>
<div class="callout alert text-left">
  <ul class="happy-faces">
    <li class="unhappy">
      <%= t("users_need_sync_html", scope: "decidim.action_delegator.admin.settings.setting_checks", count: missing_sync.count) %><br>
      <%= link_to t("click_to_fix", scope: "decidim.action_delegator.admin.settings.setting_checks"), decidim_admin_action_delegator.sync_setting_permissions_path(setting), method: :post %>
    </li>
  </ul>
</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_sync_check.html.erb
decidim-action_delegator-0.7.2 app/views/decidim/action_delegator/admin/settings/_participants_sync_check.html.erb
decidim-action_delegator-0.7.1 app/views/decidim/action_delegator/admin/settings/_participants_sync_check.html.erb
decidim-action_delegator-0.7.0 app/views/decidim/action_delegator/admin/settings/_participants_sync_check.html.erb