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
e573b4a7
Commit
e573b4a7
authored
4 years ago
by
Vaibhav Mule
Committed by
Fredrik Jonsson
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add draft information in template
parent
f74f3165
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hypha/apply/funds/models/utils.py
+1
-1
1 addition, 1 deletion
hypha/apply/funds/models/utils.py
hypha/apply/funds/templates/funds/application_base_landing.html
+10
-2
10 additions, 2 deletions
...apply/funds/templates/funds/application_base_landing.html
with
11 additions
and
3 deletions
hypha/apply/funds/models/utils.py
+
1
−
1
View file @
e573b4a7
...
...
@@ -110,7 +110,7 @@ class WorkflowStreamForm(WorkflowHelpers, AbstractStreamForm): # type: ignore
user
=
form_submission
.
user
,
source
=
form_submission
,
)
return
super
().
render_landing_page
(
request
,
form_submission
=
None
,
*
args
,
**
kwargs
)
return
super
().
render_landing_page
(
request
,
form_submission
,
*
args
,
**
kwargs
)
content_panels
=
AbstractStreamForm
.
content_panels
+
[
FieldPanel
(
'
workflow_name
'
),
...
...
This diff is collapsed.
Click to expand it.
hypha/apply/funds/templates/funds/application_base_landing.html
+
10
−
2
View file @
e573b4a7
...
...
@@ -2,9 +2,17 @@
{% block header_modifier %}header--light-bg{% endblock %}
{% block content %}
<div
class=
"wrapper wrapper--small"
>
<h3>
Thank you for your submission to the {{ ORG_LONG_NAME }}.
</h3>
{% if form_submission.status == 'draft' %}
<h3>
Your application is saved as a draft.
</h3>
{% else %}
<h3>
Thank you for your submission to the {{ ORG_LONG_NAME }}.
</h3>
{% endif %}
<div
class=
"rich-text"
>
<p>
An e-mail with more information has been sent to the address you entered.
</p>
{% if form_submission.status == 'draft' %}
<p>
Please note that it is not submitted for review. You can complete your application by following the log-in details emailed to you.
</p>
{% else %}
<p>
An e-mail with more information has been sent to the address you entered.
</p>
{% endif %}
<p>
If you do not receive an e-mail within 15 minutes please check your
spam folder and contact {{ ORG_EMAIL|urlize }} for further assistance.
</p>
{% with email_context=page.specific %}
<p>
{{ email_context.confirmation_text_extra|urlize }}
</p>
{% endwith %}
...
...
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