The code to display the "MARC preview" modal is copy/pasted all over our templates, we should centralize them to prevent to see more occurrences coming.
Created attachment 130843 [details] [review] Bug 30131: Centralize "marc preview" buttons and links
We have: * simple "MARC|Card" link * MARC|Card in button groups * svc/records/preview and catalogue/showmarc.pl We must centralize everything. The patch is suggesting to have the code in an include file, but it's not ready (it gets messy with the buttons).
This is stuck in NEW with a patch attached?
Would this make the MARC previews in bibs and auts the same? With 22.11, the authority MARC preview is just a repeat of the labeled display in one screen--it's not a clean, unlabeled MARC preview like the bib MARC preview. Or is making the aut MARC preview look like the unlabele, bib MARC preview a separate bug (which I could create)?