From 74e24ff4e6a9e240c7dedc30bebb65248c27ba4e Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Tue, 28 Jun 2022 12:48:08 +0300 Subject: [PATCH] Leave descriptions out of todolist overview tables With long descriptions the todolist overview table gets unwieldy. The todo title should suffice for these views, and the description should only be shown in the todo details page. --- templates/devel/index.html | 2 -- templates/todolists/list.html | 2 -- 2 files changed, 4 deletions(-) diff --git a/templates/devel/index.html b/templates/devel/index.html index 4f77e26a..e738ad22 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -128,7 +128,6 @@

Package Todo Lists

Name Creation Date Creator - Description Package Count Incomplete Count Kind @@ -141,7 +140,6 @@

Package Todo Lists

title="View todo list: {{ todo.name }}">{{ todo.name }} {{ todo.created|date }} {{ todo.creator.get_full_name }} - {{ todo.description|urlize|truncatewords:"50" }} {{ todo.pkg_count }} {{ todo.incomplete_count }} {{ todo.kind_str }} diff --git a/templates/todolists/list.html b/templates/todolists/list.html index f47be183..2d50db4c 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -26,7 +26,6 @@

Package Todo Lists

Name Creation Date Creator - Description Package Count Incomplete Count Kind @@ -40,7 +39,6 @@

Package Todo Lists

title="View todo list: {{ list.name }}">{{ list.name }} {{ list.created|date }} {{ list.creator.get_full_name }} - {{ list.description|urlize }} {{ list.pkg_count }} {{ list.incomplete_count }} {{ list.kind_str }}