Sha256: 02c579ef16db7d321bdcc87de14c619d99fba61458239b633cfff27643a22021

Contents?: true

Size: 703 Bytes

Versions: 2

Compression:

Stored size: 703 Bytes

Contents

<h4><%= t("fcrepo_admin.object.permissions.inherited") %></h4>

<% if object_is_governable? %>
  <div class="alert alert-info">
	<% if object_is_governed_by %>
	  <%= t("fcrepo_admin.object.apo.governed_by") %>: 
	  <%= link_to object_is_governed_by.pid, fcrepo_admin.object_path(object_is_governed_by) %>
	<% else %>
	  <%= t("fcrepo_admin.object.apo.not_assigned") %>.
    <% end %>
  </div>
  <% if object_is_governed_by %>
    <%= render :partial => 'permissions_list', :locals => {:permissions => object_is_governed_by.default_permissions} %>
  <% end %>
<% else %>
  <p class="alert alert-info">
    <%= t("fcrepo_admin.object.apo.relationship_undefined") %>: <%= object_type %>.
  </p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fcrepo_admin-0.5.0 app/views/fcrepo_admin/objects/_inherited_permissions.html.erb
fcrepo_admin-0.4.1 app/views/fcrepo_admin/objects/_inherited_permissions.html.erb