diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7c64235f80c3c6b7ed84ee0c99b193af6493ea27..c9846f023c5bd062639b8dd5b28b15a3497eee4d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -23,6 +23,11 @@ Fixed * Imprint is now called "Imprint" and not "Impress". * Logo files weren't uploaded to public namespace. +Changed +~~~~~~~ + +* Modified the appearance of tables for mobile users to be more user friendly + Removed ~~~~~~~ diff --git a/aleksis/core/tables.py b/aleksis/core/tables.py index 8f0e0b93bf3b79b96a50a2566b450fda05426bc9..2557b126ceeaebae567df5488b6284783962ac50 100644 --- a/aleksis/core/tables.py +++ b/aleksis/core/tables.py @@ -8,7 +8,7 @@ class SchoolTermTable(tables.Table): """Table to list persons.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} name = tables.LinkColumn("edit_school_term", args=[A("id")]) date_start = tables.Column() @@ -26,7 +26,7 @@ class PersonsTable(tables.Table): """Table to list persons.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} first_name = tables.LinkColumn("person_by_id", args=[A("id")]) last_name = tables.LinkColumn("person_by_id", args=[A("id")]) @@ -36,7 +36,7 @@ class GroupsTable(tables.Table): """Table to list groups.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} name = tables.LinkColumn("group_by_id", args=[A("id")]) short_name = tables.LinkColumn("group_by_id", args=[A("id")]) @@ -47,7 +47,7 @@ class AdditionalFieldsTable(tables.Table): """Table to list group types.""" class Meta: - attrs = {"class": "responsive-table hightlight"} + attrs = {"class": "hightlight"} title = tables.LinkColumn("edit_additional_field_by_id", args=[A("id")]) delete = tables.LinkColumn( @@ -63,7 +63,7 @@ class GroupTypesTable(tables.Table): """Table to list group types.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} name = tables.LinkColumn("edit_group_type_by_id", args=[A("id")]) description = tables.LinkColumn("edit_group_type_by_id", args=[A("id")]) @@ -76,7 +76,7 @@ class DashboardWidgetTable(tables.Table): """Table to list dashboard widgets.""" class Meta: - attrs = {"class": "responsive-table highlight"} + attrs = {"class": "highlight"} widget_name = tables.Column(accessor="pk") title = tables.LinkColumn("edit_dashboard_widget", args=[A("id")])