Sha256: 66bf4f9c5a1a9b3a7ce30af675bf6ea893b6b8ba387356da1bf92e457dc0bda2
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
<div id="permissions_display"> <fieldset class="control-group"> <legend> Access Rights <small>Applied to the attached files and their metadata</small> </legend> <p class="help-block"> Who should be able to read and download your files? </p> <div class="controls"> <label class="radio"> <input type="radio" id="visibility_open" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC %>" <% if curation_concern.open_access? %> checked="true"<% end %>/> <span class="label label-success">Open Access</span> Visible to the world. </label> <label class="radio"> <input type="radio" id="visibility_embargo" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_EMBARGO %>" <% if curation_concern.open_access_with_embargo_release_date? %> checked="true"<% end %>/> <span class="label label-warning">Open Access with Embargo</span> Treated as <span class="label label-important">Private</span> until <%= f.input :embargo_release_date, placeholder: Date.today, label: false, input_html: { class: 'datepicker inline' } %> then it is <span class="label label-success">Open Access</span>. </label> <label class="radio"> <input type="radio" id="visibility_ndu" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED %>" <% if curation_concern.authenticated_only_access? %> checked="true"<% end %> /> <span class="label label-info"><%=t('sufia.institution_name') %></span> Visible to all <%=t('sufia.institution_name') %> users. </label> <label class="radio"> <input type="radio" id="visibility_restricted" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE%>" <% if curation_concern.private_access? %> checked="true"<% end %>/> <span class="label label-important">Private</span> Only visible to you. </label> </div> </fieldset> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
curate-0.2.0 | app/views/curation_concern/_permission.html.erb |