Skip to content

Commit

Permalink
Success and not info.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Jan 20, 2025
1 parent 61f20a5 commit 5d88067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hypha/apply/projects/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def post(self, *args, **kwargs):
"HX-Trigger": json.dumps(
{
"contractingDocumentUpload": None,
"showMessage": _("Contracting Document has been uploaded"),
"showMessage": _("Contracting document has been uploaded"),
}
),
},
Expand Down
2 changes: 1 addition & 1 deletion hypha/apply/projects/views/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def post(self, *args, **kwargs):
form.instance.disable_reporting = True
form.instance.schedule_start = None
form.save()
messages.info(self.request, _("Reporting disabled"))
messages.success(self.request, _("Reporting disabled"))
else:
form.instance.disable_reporting = False
form.instance.schedule_start = form.cleaned_data["start"]
Expand Down

0 comments on commit 5d88067

Please sign in to comment.