Constants
hypha.apply.funds.workflows.constants
¶
PHASE_BG_COLORS
module-attribute
¶
PHASE_BG_COLORS = {'Draft': 'bg-gray-200', 'Accepted': 'bg-green-200', 'Need screening': 'bg-cyan-200', 'Ready for Determination': 'bg-blue-200', 'Ready For Discussion': 'bg-blue-100', 'Invited for Proposal': 'bg-green-100', 'Internal Review': 'bg-yellow-200', 'External Review': 'bg-yellow-200', 'More information required': 'bg-yellow-100', 'Accepted but additional info required': 'bg-green-100', 'Dismissed': 'bg-rose-200'}
DETERMINATION_RESPONSE_PHASES
module-attribute
¶
DETERMINATION_RESPONSE_PHASES = ['post_review_discussion', 'concept_review_discussion', 'same_post_review_discussion', 'post_external_review_discussion', 'ext_post_external_review_discussion', 'com_post_external_review_discussion']
PHASES_MAPPING
module-attribute
¶
PHASES_MAPPING = {'received': {'name': gettext('Received'), 'statuses': [INITIAL_STATE, 'proposal_discussion']}, 'internal-review': {'name': gettext('Internal Review'), 'statuses': phases_matching('internal_review')}, 'in-discussion': {'name': gettext('Ready for Discussion'), 'statuses': phases_matching('discussion', exclude=[INITIAL_STATE, 'proposal_discussion'])}, 'more-information': {'name': gettext('More Information Requested'), 'statuses': phases_matching('more_info')}, 'invited-for-proposal': {'name': gettext('Invited for Proposal'), 'statuses': ['draft_proposal']}, 'external-review': {'name': gettext('External Review'), 'statuses': phases_matching('external_review')}, 'ready-for-determination': {'name': gettext('Ready for Determination'), 'statuses': phases_matching('determination')}, 'accepted': {'name': gettext('Accepted'), 'statuses': phases_matching('accepted')}, 'dismissed': {'name': gettext('Dismissed'), 'statuses': phases_matching('rejected')}}