From 1690deea68687e326f11b89c33a265af9e4d5cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Wed, 16 Oct 2019 21:17:29 +0200 Subject: [PATCH] Only show first 200 chars in table, fixes #8 --- .../templates/pretix_public_registrations/front_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pretix_public_registrations/templates/pretix_public_registrations/front_page.html b/pretix_public_registrations/templates/pretix_public_registrations/front_page.html index bcfdb64..9287a78 100644 --- a/pretix_public_registrations/templates/pretix_public_registrations/front_page.html +++ b/pretix_public_registrations/templates/pretix_public_registrations/front_page.html @@ -23,7 +23,7 @@ <tr> <th scope="row"><img class="gravatar" src="{{ pr.gr_url }}" /></th> {% for f in pr.fields %} - <td>{{ f }}</td> + <td title="{{ f }}">{{ f|truncatechars:200 }}</td> {% endfor %} </tr> {% endfor %} -- GitLab