Merge pull request #995 from ae-utbm/elections

Fix election display on mobile and add missing signal for news deletion
This commit is contained in:
thomas girod 2025-01-08 09:42:18 +01:00 committed by GitHub
commit cca486f2b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
from django.db.models.base import post_save from django.db.models.signals import post_delete, post_save
from django.dispatch import receiver from django.dispatch import receiver
from com.calendar import IcsCalendar from com.calendar import IcsCalendar
from com.models import News from com.models import News
@receiver(post_save, sender=News, dispatch_uid="update_internal_ics") @receiver([post_save, post_delete], sender=News, dispatch_uid="update_internal_ics")
def update_internal_ics(*args, **kwargs): def update_internal_ics(*args, **kwargs):
_ = IcsCalendar.make_internal() _ = IcsCalendar.make_internal()

View File

@ -125,7 +125,7 @@
<i class="fa-brands fa-discord fa-xl"></i> <i class="fa-brands fa-discord fa-xl"></i>
<a rel="nofollow" target="#" href="https://discord.gg/QvTm3XJrHR">{% trans %}Discord AE{% endtrans %}</a> <a rel="nofollow" target="#" href="https://discord.gg/QvTm3XJrHR">{% trans %}Discord AE{% endtrans %}</a>
{% if user.was_subscribed %} {% if user.was_subscribed %}
- <a rel="nofollow" target="#" href="https://discord.gg/XK9WfPsUFm">{% trans %}Dev Team{% endtrans %}</a> - <a rel="nofollow" target="#" href="https://discord.gg/u6EuMfyGaJ">{% trans %}Dev Team{% endtrans %}</a>
{% endif %} {% endif %}
</li> </li>
<li> <li>

View File

@ -26,7 +26,7 @@ $min_col_width: 100px;
} }
#page #content { #page #content {
overflow-x: clip; overflow-x: scroll;
} }
.election_table { .election_table {