mirror of
https://github.com/pretix/pretix.git
synced 2026-08-06 10:07:50 +00:00
Small categorization adjustments
This commit is contained in:
@@ -47,7 +47,7 @@ author string Your name
|
||||
version string A human-readable version code of your plugin
|
||||
description string A more verbose description of what your plugin does.
|
||||
category string Category of a plugin. Either one of ``"FEATURE"``, ``"PAYMENT"``,
|
||||
``"INTEGRATION"``, ``"CUSTOMIZATION"``, ``"FORMATS"``, or ``"API"``,
|
||||
``"INTEGRATION"``, ``"CUSTOMIZATION"``, ``"FORMAT"``, or ``"API"``,
|
||||
or any other string.
|
||||
visible boolean (optional) ``True`` by default, can hide a plugin so it cannot be normally activated.
|
||||
restricted boolean (optional) ``False`` by default, restricts a plugin such that it can only be enabled
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-right flip">
|
||||
<td class="text-right flip" width="20%">
|
||||
{% if plugin.app.compatibility_errors %}
|
||||
<button class="btn disabled btn-block btn-default"
|
||||
disabled="disabled">{% trans "Incompatible" %}</button>
|
||||
|
||||
@@ -221,7 +221,7 @@ class EventPlugins(EventSettingsViewMixin, EventPermissionRequiredMixin, Templat
|
||||
'PAYMENT',
|
||||
'INTEGRATION',
|
||||
'CUSTOMIZATION',
|
||||
'FORMATS',
|
||||
'FORMAT',
|
||||
'API',
|
||||
]
|
||||
labels = {
|
||||
@@ -229,7 +229,7 @@ class EventPlugins(EventSettingsViewMixin, EventPermissionRequiredMixin, Templat
|
||||
'PAYMENT': _('Payment providers'),
|
||||
'INTEGRATION': _('Integrations'),
|
||||
'CUSTOMIZATION': _('Customizations'),
|
||||
'FORMATS': _('Output and export formats'),
|
||||
'FORMAT': _('Output and export formats'),
|
||||
'API': _('API features'),
|
||||
}
|
||||
context['plugins'] = sorted([
|
||||
|
||||
@@ -13,7 +13,7 @@ class ReportsApp(AppConfig):
|
||||
name = _("Report exporter")
|
||||
author = _("the pretix team")
|
||||
version = version
|
||||
category = 'FORMATS'
|
||||
category = 'FORMAT'
|
||||
description = _("This plugin allows you to generate printable reports about your sales.")
|
||||
|
||||
def ready(self):
|
||||
|
||||
@@ -13,7 +13,7 @@ class TicketOutputPdfApp(AppConfig):
|
||||
name = _("PDF ticket output")
|
||||
author = _("the pretix team")
|
||||
version = version
|
||||
category = 'FORMATS'
|
||||
category = 'FORMAT'
|
||||
description = _("This plugin allows you to print out tickets as PDF files")
|
||||
|
||||
def ready(self):
|
||||
|
||||
Reference in New Issue
Block a user