-
- Downloads
Feature/post demo 2 fixes (#1501)
* Make the choose file link intelligent * Update the document chooser to user the model form and update tests * Update the messaging to be more in line with other messages * Make sure we tick the documents when all uploaded * Tidy up the visual components (contract/links) on the detail page * Tidy up how forms are contributed to the parent class * Improve the delegated form base behaviour * Refactor to remove the payments mixin * Give the detail and edit views of the payment request their own view * Remove the download link and change to a view * Refactor the views to be better sorted * Improve the interaction experience for payment requests and add activity * Improve look of payment table to be a bit more bulked out * Allow passing a path to the slack notification system User.get_absolute_url was pointing at the wagtail admin which would expose the admin urls to users on the frontend. The admin view is not necessarily the "canonical" view for the user so should not be relied upon in the long run. By allowing passing of a url to the slack notifier we allow the emitter to point to the destination regardless of the more front end focused model method.
Showing
- opentech/apply/activity/messaging.py 18 additions, 12 deletionsopentech/apply/activity/messaging.py
- opentech/apply/activity/templates/activity/include/listing_base.html 2 additions, 2 deletions...ply/activity/templates/activity/include/listing_base.html
- opentech/apply/activity/tests/test_messaging.py 1 addition, 1 deletionopentech/apply/activity/tests/test_messaging.py
- opentech/apply/activity/views.py 6 additions, 5 deletionsopentech/apply/activity/views.py
- opentech/apply/funds/forms.py 0 additions, 4 deletionsopentech/apply/funds/forms.py
- opentech/apply/funds/templates/funds/includes/delegated_form_base.html 4 additions, 1 deletion...y/funds/templates/funds/includes/delegated_form_base.html
- opentech/apply/projects/files.py 1 addition, 1 deletionopentech/apply/projects/files.py
- opentech/apply/projects/forms.py 35 additions, 46 deletionsopentech/apply/projects/forms.py
- opentech/apply/projects/models.py 67 additions, 3 deletionsopentech/apply/projects/models.py
- opentech/apply/projects/templates/application_projects/includes/funding_block.html 5 additions, 5 deletions...emplates/application_projects/includes/funding_block.html
- opentech/apply/projects/templates/application_projects/includes/payment_requests.html 16 additions, 32 deletions...lates/application_projects/includes/payment_requests.html
- opentech/apply/projects/templates/application_projects/includes/paymentrequest_admin_detail.html 28 additions, 0 deletions...cation_projects/includes/paymentrequest_admin_detail.html
- opentech/apply/projects/templates/application_projects/includes/supporting_documents.html 14 additions, 11 deletions...s/application_projects/includes/supporting_documents.html
- opentech/apply/projects/templates/application_projects/paymentrequest_admin_detail.html 36 additions, 0 deletions...tes/application_projects/paymentrequest_admin_detail.html
- opentech/apply/projects/templates/application_projects/paymentrequest_detail.html 62 additions, 0 deletions...templates/application_projects/paymentrequest_detail.html
- opentech/apply/projects/templates/application_projects/paymentrequest_form.html 36 additions, 0 deletions...s/templates/application_projects/paymentrequest_form.html
- opentech/apply/projects/templates/application_projects/project_detail.html 13 additions, 10 deletions...ojects/templates/application_projects/project_detail.html
- opentech/apply/projects/templatetags/payment_request_tools.py 19 additions, 17 deletions...tech/apply/projects/templatetags/payment_request_tools.py
- opentech/apply/projects/tests/factories.py 5 additions, 0 deletionsopentech/apply/projects/tests/factories.py
- opentech/apply/projects/tests/test_forms.py 49 additions, 10 deletionsopentech/apply/projects/tests/test_forms.py
Loading
Please register or sign in to comment