Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup user app and delete very old remnant of the rating model #2695

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
19 changes: 19 additions & 0 deletions euth/contrib/migrations/0002_delete_rating_model.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 3.2.20 on 2024-10-23 13:32

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('contrib', '0001_delete_a4_models'),
]

operations = [
migrations.RunSQL(
sql=[
"DROP TABLE IF EXISTS euth_ratings_rating",
],
reverse_sql=migrations.RunSQL.noop,
)
]
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
Loading