From 2cb9ac87355621677d233c112081b2c35f66fffc Mon Sep 17 00:00:00 2001 From: korenstin Date: Thu, 29 Aug 2024 10:17:13 +0200 Subject: [PATCH] =?UTF-8?q?replace=20"=E2=80=A6"=20->=20"..."=20(#130)=20a?= =?UTF-8?q?nd=20disable=20sorting=20on=20certain=20columns=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/member/tables.py | 4 ++-- .../member/templates/member/club_members.html | 4 ++-- apps/note/tables.py | 5 ++++- apps/permission/models.py | 14 ++++++------- apps/treasury/tables.py | 6 ++++++ apps/wei/forms/surveys/wei2023.py | 10 +++++----- docs/apps/index.rst | 6 +++--- docs/apps/member.rst | 4 ++-- docs/apps/registration.rst | 2 +- locale/de/LC_MESSAGES/django.po | 4 ++-- locale/es/LC_MESSAGES/django.po | 4 ++-- locale/fr/LC_MESSAGES/django.po | 20 +++++++++---------- note_kfet/templates/base_search.html | 4 ++-- 13 files changed, 48 insertions(+), 39 deletions(-) diff --git a/apps/member/tables.py b/apps/member/tables.py index 46be76e7..836b3555 100644 --- a/apps/member/tables.py +++ b/apps/member/tables.py @@ -42,12 +42,12 @@ class UserTable(tables.Table): """ alias = tables.Column() - section = tables.Column(accessor='profile__section') + section = tables.Column(accessor='profile__section', orderable=False) # Override the column to let replace the URL email = tables.EmailColumn(linkify=lambda record: "mailto:{}".format(record.email)) - balance = tables.Column(accessor='note__balance', verbose_name=_("Balance")) + balance = tables.Column(accessor='note__balance', verbose_name=_("Balance"), orderable=False) def render_email(self, record, value): # Replace the email by a dash if the user can't see the profile detail diff --git a/apps/member/templates/member/club_members.html b/apps/member/templates/member/club_members.html index 3645050a..bbeb875e 100644 --- a/apps/member/templates/member/club_members.html +++ b/apps/member/templates/member/club_members.html @@ -11,7 +11,7 @@ SPDX-License-Identifier: GPL-3.0-or-later {{ title }}
- +