Setting embargo "change all files within" to true #4520
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change now echoes the lease behavior rendering. See
hyrax/app/views/hyrax/leases/_list_expired_active_leases.html.erb
Line 43 in b1c3624
for the similar view.
Closes #4161
Per discussions with the product owner and QA on Github and Slack:
Jeremy (Developer, Github)
Crystal (QA, Slack)
**Julie (PO, Slack)
To test this in the UI, I cheated a bit. On the
app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb
partial I added the following code before line 1:
This allowed me to create a data structure that enabled UI rendering.
One thing I noticed is that in the Embargo UI there's a "Select All" yet
there isn't an equivalent in the Lease UI. It's an odd little
discrepency.
Note: To test the lease page, I added the following at the beginning of
the
app/views/hyrax/leases/_list_expired_active_leases.html.erb
partial:@samvera/hyrax-code-reviewers