Sha256: 5c0c47ad8a7127719626af55a337f2969ebde6eec6ed8a40d77ba79f3bfb3e50
Contents?: true
Size: 1.81 KB
Versions: 64
Compression:
Stored size: 1.81 KB
Contents
<div class="panel panel-default permissions-confirm"> <div class="panel-heading"> <h4>Apply changes to contents?<h4> </div> <div class="panel-body"> <% if curation_concern.under_embargo? %> <p>You've applied an embargo to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing its visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.embargo_release_date.to_date.to_formatted_s(:long_ordinal) %>.</p> <p>Would you like to apply the same embargo to all of the files within the <%= curation_concern.human_readable_type %> as well?</p> <% elsif curation_concern.active_lease? %> <p>You've applied a lease to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing its visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.lease_expiration_date.to_date.to_formatted_s(:long_ordinal) %>.</p> <p>Would you like to apply the same lease to all of the files within the <%= curation_concern.human_readable_type %> as well?</p> <% else %> <p>You've changed the permissions on this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, making it visible to <b><%= visibility_badge(curation_concern.visibility) %></b>.</p> <p>Would you like change all of the files within the <%= curation_concern.human_readable_type %> to <b><%= visibility_badge(curation_concern.visibility) %></b> as well?</p> <% end %> </div> <div class="form-actions panel-footer"> <%= button_to "Yes please.", main_app.copy_curation_concerns_permission_path(curation_concern), class: 'btn btn-primary' %> <%= link_to "No. I'll update it manually.", polymorphic_path([main_app, curation_concern]), class: 'btn' %> </div> </div>
Version data entries
64 entries across 64 versions & 1 rubygems