init
This commit is contained in:
14
backend-django/templates/admin/base_site.html
Normal file
14
backend-django/templates/admin/base_site.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "admin/base.html" %}
|
||||
|
||||
{% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
|
||||
|
||||
{% block branding %}
|
||||
<script>
|
||||
function askBeforeOpeningOgure() {
|
||||
return confirm("Ogure NG est probablement déjà ouvert dans un autre onglet, auquel cas vous pouvez y revenir en fermant l'onglet actuel.\n\nSouhaitez-vous quand même ouvrir une nouvelle instance d'Ogure NG dans un autre onglet ?");
|
||||
}
|
||||
</script>
|
||||
<h1 id="site-name"><a href="/" target="_blank" onclick="return askBeforeOpeningOgure(this);">{{ site_header|default:_('OGURE NG') }}</a></h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block nav-global %}{% endblock %}
|
||||
Reference in New Issue
Block a user