From bb8657637fcf7313d607849bd93bea6dd69b090b Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 17 Feb 2023 09:24:57 +0100 Subject: [PATCH] Widget: Deprecate "style" parameter, prefer "list-type" "style" is problematic since it clashes with an HTML5 attribute --- doc/user/events/widget.rst | 10 +++++----- src/pretix/static/pretixpresale/js/widget/widget.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/user/events/widget.rst b/doc/user/events/widget.rst index 432840fde4..8b802c608d 100644 --- a/doc/user/events/widget.rst +++ b/doc/user/events/widget.rst @@ -153,9 +153,9 @@ If you want to include all your public events, you can just reference your organ There is an optional ``style`` parameter that let's you choose between a monthly calendar view, a week view and a list view. If you do not set it, the choice will be taken from your organizer settings:: - - - + + + If you have more than 100 events, the system might refuse to show a list view and always show a calendar for performance reasons instead. @@ -164,7 +164,7 @@ You can see an example here: .. raw:: html - +