Sha256: 64c62c48ecb3c6740da96430917a7305fa2174eca811332f785f140e41100061

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

<div class="clearfix proxy-rights">

  <div class="col-xs-6 proxy-search">
    <h3 class="panel-title"><%= t("sufia.dashboard.authorize_proxies") %></h3>
    <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">
    <h3 class="panel-title"><%= t("sufia.dashboard.current_proxies") %></h3>
    <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>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-7.0.0.rc1 app/views/dashboard/_index_partials/_proxy_rights.html.erb
sufia-7.0.0.beta4 app/views/dashboard/_index_partials/_proxy_rights.html.erb