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
OR - you can override or hack the
application.html.erb to include it.
We distribute the file
/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.
I believe the override is the better option.
Thank you Jeff, I will check it out.
Create override the file in /etc/ood/config/apps/dashboard/views/layouts/application.html.erb works great as expected, thanks Jeff.