mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-10 09:01:14 +00:00
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:
commit
cca486f2b9
@ -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()
|
||||||
|
@ -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>
|
||||||
|
@ -26,7 +26,7 @@ $min_col_width: 100px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
#page #content {
|
#page #content {
|
||||||
overflow-x: clip;
|
overflow-x: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
.election_table {
|
.election_table {
|
||||||
|
Loading…
Reference in New Issue
Block a user