forked from CGM_Public/pretix_original
Minor edits in ticketouput docs (#285)
This commit is contained in:
committed by
Raphael Michel
parent
aa63a4cded
commit
2de328a33b
@@ -39,9 +39,8 @@ class BaseTicketOutput:
|
|||||||
@property
|
@property
|
||||||
def verbose_name(self) -> str:
|
def verbose_name(self) -> str:
|
||||||
"""
|
"""
|
||||||
A human-readable name for this ticket output. This should
|
A human-readable name for this ticket output. This should be short but
|
||||||
be short but self-explaining. Good examples include 'PDF tickets'
|
self-explanatory. Good examples include 'PDF tickets' and 'Passbook'.
|
||||||
and 'Passbook'.
|
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError() # NOQA
|
raise NotImplementedError() # NOQA
|
||||||
|
|
||||||
@@ -50,7 +49,7 @@ class BaseTicketOutput:
|
|||||||
"""
|
"""
|
||||||
A short and unique identifier for this ticket output.
|
A short and unique identifier for this ticket output.
|
||||||
This should only contain lowercase letters and in most
|
This should only contain lowercase letters and in most
|
||||||
cases will be the same as your packagename.
|
cases will be the same as your package name.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError() # NOQA
|
raise NotImplementedError() # NOQA
|
||||||
|
|
||||||
@@ -111,6 +110,7 @@ class BaseTicketOutput:
|
|||||||
@property
|
@property
|
||||||
def download_button_icon(self) -> str:
|
def download_button_icon(self) -> str:
|
||||||
"""
|
"""
|
||||||
The name of the icon on the download button in the frontend
|
The name of the FontAwesome icon on the download button in the frontend
|
||||||
|
(without the fa- prefix).
|
||||||
"""
|
"""
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user