Sha256: 2871f1d87075ffc74f9d4635c8c38f3e04c29b0858f94124d5d19f2c8589f8cf

Contents?: true

Size: 918 Bytes

Versions: 11

Compression:

Stored size: 918 Bytes

Contents

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

  <div class="col-xs-6">
    <h4><%= t("sufia.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(sufia.user_depositor_path(user, depositor), method: :delete, class: "remove-proxy-button") do %>
                  <i class="glyphicon glyphicon-remove"></i><% end %>
            </td></tr>
      <% end %>
      </tbody>
    </table>
  </div>
</div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.4.0 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.3.1 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.3.0 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.3.0.rc3 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.3.0.rc2 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.3.0.rc1 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.2.0 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.1.0 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.0.0 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.0.0.rc2 app/views/dashboard/_index_partials/_proxy_rights.html.erb