Skip to content

Commit

Permalink
Add IIIF Manifest link to the share resource panel (#5825)
Browse files Browse the repository at this point in the history
* Add IIIF Manifest link to the share resource panel

* Update app/views/media_objects/_share_resource.html.erb

Co-authored-by: Mason Ballengee <[email protected]>

* Change from code review: use rails routes to get manifest URL

* Update app/views/media_objects/_share_resource.html.erb

Co-authored-by: Chris Colvard <[email protected]>

---------

Co-authored-by: Mason Ballengee <[email protected]>
Co-authored-by: Chris Colvard <[email protected]>
  • Loading branch information
3 people authored May 29, 2024
1 parent 2dac39c commit 119f382
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/media_objects/_share_resource.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Unless required by applicable law or agreed to in writing, software distributed
<p class="muted"> <%= I18n.t('media_object.empty_share_section_permalink_notice') %> </p>
<% end %>
</div>
<div class="form-group">
<label for="link-object-manifest">IIIF Manifest</label>
<input type="text" class="col-md-12 form-control" id="link-object-manifest" value="<%= manifest_media_object_url(@media_object.id) %>"
placeholder="<%= manifest_media_object_url(@media_object.id) %>" onClick="this.select();" readonly="readonly">
</div>
</form>
</div>
<% elsif section=='share-tabs' %>
Expand Down

0 comments on commit 119f382

Please sign in to comment.