replace Gitea with COOPGO mention
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 30s

This commit is contained in:
Arnaud Delcasse
2025-12-30 18:58:31 +01:00
parent b4f9c0ad16
commit ed5dade5c3

View File

@@ -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>