Skip to content
Snippets Groups Projects
Commit a57d77d5 authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Minore changes

parent 77e8582e
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interludes 2021</title>
<meta name="description" content="Inscriptions et infos sur les interENS ludiques, édition 2021">
<meta name="keywords" content="Interludes ENS événement COF 2021 InterENS">
<title>Interludes {% if settings.date_start %}{{ settings.date_start.year }}{% endif %}</title>
<meta name="description" content="Inscriptions et infos sur les interENS ludiques{% if settings.date_start %}, édition {{ settings.date_start.year }}{% endif %}">
<meta name="keywords" content="Interludes ENS événement COF {% if settings.date_start %}{{ settings.date_start.year }} {% endif %}InterENS">
<link rel="icon" type="image/png" href="{% static 'imgs/favicon.ico' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}">
......
......@@ -14,6 +14,4 @@ class SingletonModelAdmin(admin.ModelAdmin):
@admin.register(SiteSettings)
class SiteSettingsAdmin(SingletonModelAdmin):
list_display = ("contact_email", "date_start", "date_end", "registrations_open", "inscriptions_open",)
list_display_links = None
list_editable = ("contact_email", "date_start", "date_end", "registrations_open", "inscriptions_open",)
pass
\ No newline at end of file
......@@ -43,4 +43,4 @@ class SiteSettings(SingletonModel):
verbose_name = "paramètres"
def __str__(self) -> str:
return "Réglages"
return "Modifier les paramètres"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment