Sha256: 8293424af1fb0f4c4d2ef9f0a859e072b029f5efc7b20b80ab0596715b203699

Contents?: true

Size: 756 Bytes

Versions: 17

Compression:

Stored size: 756 Bytes

Contents

<% total_count = @handler_result.outputs.total_count
   accounts = @handler_result.outputs.items || [] %>

<div id='search-results-count'>
  <%= pluralize(total_count, 'user') %> found.
</div>

<div id='search-results-list'>
  <%= osu.action_list(
        records: accounts,
        list: {
          headings: ['UID', 'UUID', 'Username (click to sign in as)', 'Name'],
          widths: ['20%', '20%', '30%', '30%'],
          data_procs: [
            ->(account) { account.openstax_uid },
            ->(account) { account.uuid },
            ->(account) {
              link_to account.username, become_dev_account_path(account.id), method: :post
            },
            ->(account) { account.name || '---' }
          ]
        }
      ) %>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
openstax_accounts-9.9.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.8.1 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.8.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.7.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.6.1 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.6.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.5.1 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.5.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.4.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.3.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.0.5 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.0.4 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.2.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.0.3 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.1.0 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.0.2 app/views/openstax/accounts/dev/accounts/_search_results.html.erb
openstax_accounts-9.0.1 app/views/openstax/accounts/dev/accounts/_search_results.html.erb