Skip to content

Commit

Permalink
remove or unused stuff from user app
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and m4ra committed Oct 24, 2024
1 parent c32bd9e commit 0ed808d
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 270 deletions.
5 changes: 1 addition & 4 deletions euth/accounts/templates/euth_accounts/base_account.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load i18n thumbnail avatar %}
{% load i18n %}

{% block meta_viewport %}{% endblock %}

Expand All @@ -8,9 +8,6 @@
<div class="container">
<ul class="nav navbar-nav">
<div class="dashboard-header-indicator" id="dLabel">
<span class="dashboard-header-logo">
<img src="{% get_avatar request.user 'avatar_small' %}" alt="">
</span>
<span class="dropdown-title">{{ request.user.username }}</span>
</div>
</ul>
Expand Down
Empty file removed euth/users/management/__init__.py
Empty file.
Empty file.
49 changes: 0 additions & 49 deletions euth/users/management/commands/import_a3_users.py

This file was deleted.

72 changes: 0 additions & 72 deletions euth/users/static/users/js/user_search.js

This file was deleted.

4 changes: 0 additions & 4 deletions euth/users/static/users/js/user_timezone.js

This file was deleted.

34 changes: 0 additions & 34 deletions euth/users/templates/euth_users/indicator_menu.html

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions euth/users/templatetags/avatar.py

This file was deleted.

11 changes: 0 additions & 11 deletions euth/users/templatetags/userindicator.py

This file was deleted.

1 change: 0 additions & 1 deletion euth_wagtail/assets/scss/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
@import "components/sort-dropdown";
@import "components/document";
@import "components/info-note";
@import "components/user-indicator";
@import "components/usercontent";
@import "components/dropdown";
@import "components/error-pages";
Expand Down
84 changes: 0 additions & 84 deletions euth_wagtail/assets/scss/components/_user-indicator.scss

This file was deleted.

4 changes: 1 addition & 3 deletions euth_wagtail/templates/includes/top_menu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n static url_translations wagtailcore_tags userindicator base_tags %}
{% load i18n static url_translations wagtailcore_tags base_tags %}
{% get_current_language as LANGUAGE_CODE %}
{% load_site_menu "topmenu" as top_menu_items %}

Expand Down Expand Up @@ -32,8 +32,6 @@
<div class="collapse navbar-collapse navbar-nav navbar-right ms-sm-auto" id="navbar-collapse">

<ul class="navbar-nav ms-sm-auto">
{% userindicator_menu %}

<li class="nav-item dropdown order-sm-1 px-3" id="language-selector"">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ LANGUAGE_CODE }}
Expand Down

0 comments on commit 0ed808d

Please sign in to comment.