Widget: add option to always show event info

This commit is contained in:
Richard Schreiber
2025-01-16 11:54:24 +01:00
committed by GitHub
parent 89f1f61b73
commit c25d6988a7
2 changed files with 45 additions and 12 deletions

View File

@@ -96,6 +96,18 @@ attribute::
<pretix-widget event="https://pretix.eu/demo/democon/" disable-iframe></pretix-widget>
Always show events info
------------------------
If you want the widget to show the events info such as title, location and frontpage text, you can pass the optional
``display-event-info`` attribute with either a value of ``"false"``, ``"true"`` or ``"auto"`` the latter being the
default if the attribute is not present at all.
Note that any other value than ``"false"`` or ``"auto"`` means ``"true"``::
<pretix-widget event="https://pretix.eu/demo/democon/" display-event-info></pretix-widget>
Pre-selecting a voucher
-----------------------