replace Gitea with COOPGO mention
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 30s
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 30s
This commit is contained in:
@@ -6,6 +6,20 @@
|
|||||||
<title>Administration - MMS43</title>
|
<title>Administration - MMS43</title>
|
||||||
<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js" type="module"></script>
|
<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js" type="module"></script>
|
||||||
<link href="config.yml" type="text/yaml" rel="cms-config-url" />
|
<link href="config.yml" type="text/yaml" rel="cms-config-url" />
|
||||||
|
<script>
|
||||||
|
// Modifier le texte des boutons de connexion
|
||||||
|
const observer = new MutationObserver(() => {
|
||||||
|
const buttons = document.querySelectorAll('button');
|
||||||
|
buttons.forEach(btn => {
|
||||||
|
if (btn.textContent.includes('Gitea / Forgejo')) {
|
||||||
|
btn.textContent = btn.textContent.replace('Gitea / Forgejo', 'COOPGO');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
observer.observe(document.body, { childList: true, subtree: true });
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body></body>
|
<body></body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user