Skip to content
Snippets Groups Projects
Unverified Commit 3463cc10 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Project Reports as stream field forms (#3611)


With `PROJECTS_ENABLED = True`, Project Report Forms may now be
created in Wagtail Admin and associated with a Fund.

Project reports use the form configured in Wagtail admin. To add or
edit a report form, use `Projects -> Report Forms`. To bind a report
form to a given Fund, use `Apply -> Funds`, set `Project Report Form`.

When projects are enabled, a project shows the Reports in various
project interfaces. A new project report will use the current fields
from the Project Report Form associated with the Fund from which the
Submission/Application was granted. An existing report, when edited,
will use the original fields at the time that report was first filed.
This behavior appears consistent with at least one other similar form.

Thanks to Frank Duncan for the "View" functionality in
hypha/apply/projects/templates/application_projects/report_detail.html
and NonFileFormFieldsBlockFactory for tests that don't need files
as well as re-adding the url for project file lookup by id.

Co-authored-by: default avatarFrank Duncan <frankduncan@opentechstrategies.com>

---------

Co-authored-by: default avatarJesse Bickel <bickelj@gmail.com>
Co-authored-by: default avatarFrank Duncan <frankduncan@opentechstrategies.com>
parent 587c6c7a
No related branches found
No related tags found
Loading
Showing
with 1966 additions and 141 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment