app/views/spotlight/admin_users/index.html.erb in blacklight-spotlight-0.22.0 vs app/views/spotlight/admin_users/index.html.erb in blacklight-spotlight-0.23.0
- old
+ new
@@ -48,9 +48,19 @@
<div class="primary-actions">
<%= link_to(t('.add'), 'javascript:;', class: 'btn btn-default', data: { behavior: 'new-user' }) %>
</div>
</div>
<% end %>
+
+ <p class="instructions"><%= t :'.all_users' %></p>
+ <div id="all_users" class="well well-sm">
+ <div class='btn-toolbar pull-right'>
+ <button class="btn btn-xs btn-default copy-email-addresses" data-clipboard-target="#all_users">
+ Copy
+ </button>
+ </div>
+ <%= Spotlight::Engine.user_class.with_roles.pluck(:email).sort.join(', ') %>
+ </div>
</div>
<aside class="col-md-3">
<%= render "shared/site_sidebar" %>
</aside>