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 fb33c60802eff510329d7d1a6c1216e51e636aa5..ab19c80608f1a8966dab7ae2094eca7caf579252 100644 --- a/aleksis/core/tables.py +++ b/aleksis/core/tables.py @@ -13,7 +13,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() @@ -31,7 +31,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")]) @@ -41,7 +41,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")]) @@ -52,7 +52,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( @@ -68,7 +68,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")]) @@ -81,7 +81,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")])