marshall_webapp.templates.commonelements.tickets.single_ticket.ticket_building_blocks.actions_block module ∞
The actions block for the marshall object tickets
- Author
David Young
-
actions_block
(log, request, discoveryDataDictionary, lightcurveData, objectAkas)[source] ∞ get ticket action block
Key Arguments
log
– loggerrequest
– the pyramid requestlightcurveData
– the lightdata for the objectdiscoveryDataDictionary
– a dictionary of the discovery data for this transient.
Return
action_block
– the ticket identity block for the pesssto object
get classify button for the ticket topbar
Key Arguments
log
– loggerrequest
– the pyramid request objectdiscoveryDataDictionary
– dictionary of the transient’s discovery data
Return
button
– the classification button with hidden modal form
-
_get_move_to_dropdown
(log, request, discoveryDataDictionary)[source] ∞ get move to dropdown for the ticket
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– dictionary of the transient’s discovery data
Return
thisDropdown
– the move to other list dropdown
-
_get_alert_dropdown
(log, request, discoveryDataDictionary)[source] ∞ get alert dropdown for the ticket
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– dictionary of the transient’s discovery data
Return
thisDropdown
– the move to other alert list dropdown
get change pi for the ticket action block
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– dictionary of the transient’s discovery data
Return
button
– the change PI button and hidden modal form
get generate OB button for the ticket action block
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– dictionary of the transient’s discovery datalightcurveData
– lightcurve data for the objectobjectAkas
– the akas of the object
Return
button
- the generate OB button with hidden modal form
-
_get_priority_switcher_dropdown
(request, discoveryDataDictionary, log)[source] ∞ get priority switcher dropdown
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– dictionary of the transient’s discovery data
snooze button
Key Arguments
log
– loggerrequest
– the pyramid requestdiscoveryDataDictionary
– dictionary of the transient’s discovery data