Hello team, I am using the OpenOndemand ansible role to deploy our OpenOndemand portal, now we have a request that need to embed a script block to the bottom of the html body, so that we can change the status of the web portal, I am just wondering, what is the best practice to do this. thanks.
You can either create a widget and have it display there. Looks like custom_javascript_paths is coming in 3.1.
OR - you can override or hack the application.html.erb to include it.
We distribute the file application.html.erb in /var/www/ood/apps/sys/dashboard/app/views/layouts/application.html.erb. You can edit this file directory (after backing it up!) or possibly supply an override at /etc/ood/config/apps/dashboard/views/layouts/application.html.erb that has your edits.