Skip to content
Snippets Groups Projects
user avatar
Fredrik Jonsson authored
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>
3463cc10
History
user avatar 3463cc10
Name Last commit Last update