Sha256: 74ec38cda04fa1095469b936ef45995efc0947382ece011e92fee30de9b9db98

Contents?: true

Size: 1011 Bytes

Versions: 7

Compression:

Stored size: 1011 Bytes

Contents

<div class="clearfix proxy-rights">
<div class="row">
  <div class="col-xs-6 proxy-search">
    <h4><%= t("hyrax.dashboard.authorize_proxies") %></h4>
    <label class="sr-only" for="user"><%= t("hyrax.dashboard.proxy_user") %></label>
    <%= hidden_field_tag :user, nil, data: { grantor: current_user.to_param } %>
  </div>

  <div class="col-xs-6">
    <h4><%= t("hyrax.dashboard.current_proxies") %></h4>
    <table class="table table-condensed table-striped" id="authorizedProxies">
      <tbody>
      <% user.can_receive_deposits_from.each do |depositor| %>
          <tr><td class="depositor-name"><%= depositor.name %></td>
            <td><%= link_to(hyrax.user_depositor_path(user, depositor), method: :delete, class: "remove-proxy-button") do %>
                  <span class="sr-only"><%= I18n.t('hyrax.dashboard.proxy_delete') %></span>
                  <i class="glyphicon glyphicon-remove"></i><% end %>
            </td></tr>
      <% end %>
      </tbody>
    </table>
  </div>
</div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
hyrax-2.0.2 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
hyrax-2.1.0.beta1 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
hyrax-2.0.1 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
hyrax-2.0.0 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb