OregonDigital / oregondigital

OregonDigital Hydra Application
https://oregondigital.org/catalog/
Other
25 stars 5 forks source link

Add institutional identity banners for collections/sets pages #123

Closed wickr closed 10 years ago

wickr commented 10 years ago

Here are some screenshots of the current set template code with the UO template files as best as I could combine them so far and not break existing stuff.

sheetmusic-home sheetmusic-about sheetmusic-related

These are all pushed up in the branch feature/uolibrary_set_template, and set page files are updated in the oregon-digital-set-content repo (which has some more sheetmusic pages in as well).

The UO header and footer are called from the main blacklight template, if the institution is in place on a set. This means that a given set's pages don't need to call the template files directly.

The OregonDigital wordmark hasn't been showing up on my local copy, haven't tracked down why. I didn't include the UO top black bar in lieu of the combined one. The black bar and the search bar stay fixed at the top when you scroll. (you can kind of see this in the About page screenshot). Title of the set can definitely be styled differently. Both footers does look a little weird. The 'content' column had to be reduced a bit (span9 down to span8) to fit the fixed width. Right now this only happens for the UO pages. The list of pages currently displays below the facets, but maybe should be moved. Could be made horizontal too.

Next step is more testing with items and facets. Also trying to set page titles in a sane way.

If anyone needs them, here's what I've been using for testing:

Rails Console Commands for Test Sets

osu = OregonDigital::ControlledVocabularies::Organization.new('Oregon_State_University') uo = OregonDigital::ControlledVocabularies::Organization.new('University_of_Oregon')

s1 = GenericCollection.new(:pid => "oregondigital:braceros") s1.pid = 'oregondigital:braceros' s1.title = 'Braceros in Oregon Photography' s1.descMetadata.institution = osu s1.save!

s2 = GenericCollection.new(:pid => "oregondigital:sheetmusic") s2.pid = 'oregondigital:sheetmusic' s2.title = 'Historic Sheetmusic Collection' s2.descMetadata.institution = uo s2.save!

slmcevoy commented 10 years ago

New OSU and UO set templates: uo_set_template osu_set_template

Branch: feature/set_templates They both use many of the same template files and just check the value of @set to change bits as necessary.

Facets need to be checked but they are placed above the left-hand resources menu.

I still need to fix much of the padding on the admin pages.

wickr commented 10 years ago

This was closed by #280