Bug 40669 - Load "Preview content" on demand
Summary: Load "Preview content" on demand
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-19 00:06 UTC by David Cook
Modified: 2025-08-19 00:07 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2025-08-19 00:06:40 UTC
At the moment, all displayed rows on /cgi-bin/koha/tools/additional-contents.pl will create hidden modals with the modal body containing the "Default" content.

This is suboptimal for a number of reasons.

An interesting enhancement would be to change this so that clicking "Preview content" let you choose which language and launched the preview in a modal iframe or a separate window. 

For "Pages", it would be interesting to preview the whole page.