Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

move File info / Download button to top of metadata display #400

Open
seanaery opened this issue May 25, 2016 · 0 comments
Open

move File info / Download button to top of metadata display #400

seanaery opened this issue May 25, 2016 · 0 comments

Comments

@seanaery
Copy link
Contributor

This is probably needed for index & show views. The MEDIA_TYPE field should be the first field displayed in the metadata section so the Download link isn't buried. Presently, when you are on a component's show page or see the component in a search result, the Download link is buried in the middle of the metadata section.

E.g., move these lines:
config.add_index_field Ddr::Index::Fields::MEDIA_TYPE.to_s, helper_method: 'file_info', label: 'File'
config.add_show_field Ddr::Index::Fields::MEDIA_TYPE.to_s, helper_method: 'file_info', label: 'File'

Ultimately, we might want to separate the download button from the media type metadata field for even greater prominence (at least for show view), but moving to the top of that section would be an incremental improvement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant