https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35972 --- Comment #35 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 199121 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199121&action=edit Bug 35972: Implement dynamic course type display in OPAC This patch updates the OPAC to use dynamic display text from authorized values instead of hardcoded "Research tables" terminology. Changes to OPAC scripts: 1. opac-thesis-tables.pl: - Uses course_type='RESEARCH_TABLE' instead of thesis_table='yes' - Retrieves display text from authorised_values.lib_opac - Passes course_type_display to template 2. opac-thesis-table-details.pl: - Retrieves course type from course record - Looks up dynamic display text from authorized values - Passes course_type_display to template Changes to OPAC templates: 1. opac-thesis-tables.tt: - Replaced all hardcoded "Research tables" text - Now uses [% course_type_display | html %] variable - Displays terminology from CR_TYPE authorized values 2. opac-thesis-table-details.tt: - Updated breadcrumb to use dynamic display text 3. masthead.inc: - Moved "Research tables" link next to "Course reserves" - Removed duplicate link from suggestions section - Shows when UseCourseReserves preference is enabled - More logical navigation structure Benefits: - Libraries can customize terminology without code changes - Multilingual support via lib_opac field - Consistent with overall course type architecture - Supports future course types (On Display, etc.) Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.