Skip to content

Commit

Permalink
euth/user: remove timezone middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Sep 12, 2024
1 parent 10969fa commit 3bca384
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
12 changes: 0 additions & 12 deletions euth/contrib/middleware.py

This file was deleted.

3 changes: 1 addition & 2 deletions euth/users/templates/euth_users/indicator_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
{% if request.user.is_authenticated %}
<li class="dropdown">
<div class="btngroup btngroup-primary ms-sm-3">
<a href="{% url 'profile' request.user.username %}" class="btn userindicator-profile">
<span class="circled circled-xs" style="background-image: url({% get_avatar request.user 'org_avatar_small' %});"></span>
<a class="btn userindicator-profile">
{{ request.user.username }}
</a>
<a href="#" class="dropdown-toggle btn" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Expand Down
1 change: 0 additions & 1 deletion euth_wagtail/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'euth.contrib.middleware.TimezoneMiddleware',
'django.middleware.locale.LocaleMiddleware',
'wagtail.contrib.redirects.middleware.RedirectMiddleware',
]
Expand Down

0 comments on commit 3bca384

Please sign in to comment.