Univention Bugzilla – Bug 56917
Make the UMC HTML Title configurable
Last modified: 2024-02-12 13:52:49 CET
The message displayed in the browser title bar of the UMC tab should be configurable. Before and during login, the title is hardcoded in the respective `index.html`. After logging in to the UMC, the title is set to the respective UCS Server name. In a containerized UMC Gateway this value needs to be configurable because the "server name" is an autogenerated container name with no useful meaning to the administrator. Because this is a requirement for openDesk, we currently modify the file(s) at runtime. A better solution would be to make it configurable upstream. The relevant file is: /management/univention-management-console/www/management/main.js line 1306: `window.document.title = lang.replace('{0} - {1}', [tools.status('fqdn'), window.document.title]);` We may also want to make the title configurable in: /management/univention-management-console/www/login/index.html /management/univention-management-console/www/management/index.html But this is less important because the UMC is usually accessed from the Portal while already being logged in.
*** Bug 55052 has been marked as a duplicate of this bug. ***
The title and favicon of UMC, Portal, Self-Service, etc are now configurable via the UCR variables `umc/web/title` and `umc/web/favicon`. univention-portal.yaml 1e799f1f2cde | feat(portal): make HTML title and favicon configurable univention-portal (4.0.15-2) 1e799f1f2cde | feat(portal): make HTML title and favicon configurable univention-management-console.yaml 593de9aefb43 | feat(umc): make HTML title and favicon configurable univention-management-console (12.0.32-19) 593de9aefb43 | feat(umc): make HTML title and favicon configurable
QA: ucr set umc/web/title=testtesttest ucr set umc/web/favicon=/univention/js/dijit/themes/umc/icons/16x16/udm-users-user.png - title and favicon configurable: OK - advisories: OK
<https://errata.software-univention.de/#/?erratum=5.0x953> <https://errata.software-univention.de/#/?erratum=5.0x954>
*** Bug 48149 has been marked as a duplicate of this bug. ***