diff --git a/com/templates/com/news_list.jinja b/com/templates/com/news_list.jinja index dfc664e6..15eb7ea3 100644 --- a/com/templates/com/news_list.jinja +++ b/com/templates/com/news_list.jinja @@ -8,13 +8,13 @@ {% block content %} {% if user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID) %}
- {% trans %}Administrate news{% endtrans %} + {% trans %}Administrate news{% endtrans %}
+
{% endif %}
- {% for news in object_list.filter(type="NOTICE") %}

{{ news.title }}

@@ -97,6 +97,15 @@
{% endfor %} {% endif %} + +

{% trans %}All coming events{% endtrans %}

+
diff --git a/core/static/core/header.scss b/core/static/core/header.scss index d1b9581f..f69692c7 100644 --- a/core/static/core/header.scss +++ b/core/static/core/header.scss @@ -23,6 +23,10 @@ flex-direction: row; gap: 10px; + > a { + color: #fff; + } + &:hover > a { color: #1a78b3; } diff --git a/core/static/core/style.scss b/core/static/core/style.scss index 9068e8c5..7abfa8ca 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -48,6 +48,7 @@ body { font-family: sans-serif; } +a.button, button, input[type="button"], input[type="submit"], @@ -60,11 +61,13 @@ input[type="file"] { margin: 0.1em; font-size: 1.2em; border-radius: 5px; + color: black; &:hover { background: hsl(0, 0%, 83%); } } +a.button, input[type="button"], input[type="submit"], input[type="reset"], @@ -72,6 +75,7 @@ input[type="file"] { font-weight: bold; } +a.button:not(:disabled), button:not(:disabled), input[type="button"]:not(:disabled), input[type="submit"]:not(:disabled), @@ -111,7 +115,8 @@ select { border-radius: 5px; cursor: pointer; } -a { + +a:not(.button) { text-decoration: none; color: $primary-dark-color; &:hover { @@ -348,7 +353,11 @@ a { /*---------------------------------NEWS--------------------------------*/ #news { display: flex; - flex-wrap: wrap; + + @media (max-width: 800px) { + flex-direction: column; + } + .news_column { display: inline-block; margin: 0; @@ -970,7 +979,7 @@ blockquote h5:first-child { } table { - width: 90%; + width: 100%; margin: 15px auto; border-collapse: collapse; border-spacing: 0; @@ -1403,7 +1412,7 @@ footer { padding: 0.8em; flex: 1; font-weight: bold; - color: $white-color; + color: $white-color !important; &:hover { color: $primary-dark-color; } diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 04f0ff27..d0b2bd16 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -1713,6 +1713,10 @@ msgstr "Administrer les news" msgid "Events today and the next few days" msgstr "Événements aujourd'hui et dans les prochains jours" +#: com/templates/com/news_list.jinja:100 +msgid "All coming events" +msgstr "Tous les événements à venir" + #: com/templates/com/news_list.jinja:82 msgid "Nothing to come..." msgstr "Rien à venir..."