Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
9c1b82c3
Commit
9c1b82c3
authored
2 years ago
by
sandeepsajan0
Browse files
Options
Downloads
Patches
Plain Diff
Use Proposal stage instead of ConceptProposal workflow in determination message template
parent
4f953d69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hypha/apply/determinations/models.py
+2
-2
2 additions, 2 deletions
hypha/apply/determinations/models.py
with
2 additions
and
2 deletions
hypha/apply/determinations/models.py
+
2
−
2
View file @
9c1b82c3
...
...
@@ -15,7 +15,7 @@ from wagtail.contrib.settings.models import BaseSetting, register_setting
from
wagtail.core.fields
import
RichTextField
,
StreamField
from
hypha.apply.funds.models.mixins
import
AccessFormData
from
hypha.apply.funds.workflow
import
Concept
,
Concept
Proposal
,
Request
from
hypha.apply.funds.workflow
import
Concept
,
Proposal
,
Request
from
.blocks
import
(
DeterminationBlock
,
...
...
@@ -199,7 +199,7 @@ class DeterminationMessageSettings(BaseSetting):
def
get_for_stage
(
self
,
stage_name
):
message_templates
=
{}
if
stage_name
in
[
Request
.
name
,
Concept
.
name
,
Concept
Proposal
.
name
]:
if
stage_name
in
[
Request
.
name
,
Concept
.
name
,
Proposal
.
name
]:
prefix
=
f
"
{
stage_name
.
lower
()
}
_
"
else
:
# Use Request's message templates for remaining workflows
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment