Documentation text editing

This commit is contained in:
Sam Splunks 2024-02-01 16:23:18 +01:00 committed by GitHub
parent 06dab282b9
commit c9628e3234
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,23 +179,23 @@ Options that change ticket updates
Options that change ticket properties Options that change ticket properties
------------------------------------- -------------------------------------
- **HELPDESK_TICKET_OPEN_STATUS** Customize the id of OPEN_STATUS tickets status. - **HELPDESK_TICKET_OPEN_STATUS** Customize the id of OPEN_STATUS status.
**Default:** ``HELPDESK_TICKET_OPEN_STATUS = 1`` **Default:** ``HELPDESK_TICKET_OPEN_STATUS = 1``
- **HELPDESK_TICKET_REOPENED_STATUS** Customize the id of REOPENED_STATUS tickets status. - **HELPDESK_TICKET_REOPENED_STATUS** Customize the id of REOPENED_STATUS status.
**Default:** ``HELPDESK_TICKET_REOPENED_STATUS = 2`` **Default:** ``HELPDESK_TICKET_REOPENED_STATUS = 2``
- **HELPDESK_TICKET_RESOLVED_STATUS** Customize the id of RESOLVED_STATUS tickets status - **HELPDESK_TICKET_RESOLVED_STATUS** Customize the id of RESOLVED_STATUS status.
**Default:** ``HELPDESK_TICKET_RESOLVED_STATUS = 3`` **Default:** ``HELPDESK_TICKET_RESOLVED_STATUS = 3``
- **HELPDESK_TICKET_CLOSED_STATUS** Customize the id of CLOSED_STATUS tickets status - **HELPDESK_TICKET_CLOSED_STATUS** Customize the id of CLOSED_STATUS status.
**Default:** ``HELPDESK_TICKET_CLOSED_STATUS = 4`` **Default:** ``HELPDESK_TICKET_CLOSED_STATUS = 4``
- **HELPDESK_TICKET_DUPLICATE_STATUS** Customize the id of DUPLICATE_STATUS tickets status - **HELPDESK_TICKET_DUPLICATE_STATUS** Customize the id of DUPLICATE_STATUS status.
**Default:** ``HELPDESK_TICKET_DUPLICATE_STATUS = 5`` **Default:** ``HELPDESK_TICKET_DUPLICATE_STATUS = 5``
@ -211,7 +211,7 @@ Options that change ticket properties
(DUPLICATE_STATUS, _('Duplicate')), (DUPLICATE_STATUS, _('Duplicate')),
) )
If you wish to introduce a new status choice for all tickets, you may add them like this:: If you wish to introduce new status choices, you may add them like this::
HELPDESK_TICKET_STATUS_CHOICES = ( HELPDESK_TICKET_STATUS_CHOICES = (
(OPEN_STATUS, _('Open')), (OPEN_STATUS, _('Open')),
@ -219,14 +219,14 @@ Options that change ticket properties
(RESOLVED_STATUS, _('Resolved')), (RESOLVED_STATUS, _('Resolved')),
(CLOSED_STATUS, _('Closed')), (CLOSED_STATUS, _('Closed')),
(DUPLICATE_STATUS, _('Duplicate')), (DUPLICATE_STATUS, _('Duplicate')),
(6, _('Opened by bot')), (6, _('Forked')),
) )
- **HELPDESK_TICKET_OPEN_STATUSES** Define the list of statuses to be considered as a type of open status. - **HELPDESK_TICKET_OPEN_STATUSES** Define the list of statuses to be considered as a type of open status.
**Default:** ``HELPDESK_TICKET_OPEN_STATUSES = (OPEN_STATUS, REOPENED_STATUS)`` **Default:** ``HELPDESK_TICKET_OPEN_STATUSES = (OPEN_STATUS, REOPENED_STATUS)``
If you have added the ``(6, _('Opened by bot'))`` status and wish to have django-helpdesk treat it as an open status choice, add it to the list of OPEN_STATUSES like this:: If you have added the ``(6, _('Forked'))`` status and wish to have django-helpdesk treat it as an open status choice, add it to the list of OPEN_STATUSES like this::
HELPDESK_TICKET_OPEN_STATUSES = (OPEN_STATUS, REOPENED_STATUS, 6) HELPDESK_TICKET_OPEN_STATUSES = (OPEN_STATUS, REOPENED_STATUS, 6)