Commit Graph

28 Commits

Author SHA1 Message Date
79dffadd14 Restore names of uploaded files on submit/draft restore (#65)
This involved turning the list of file IDs stored in the hidden
text field into JSON.
2018-10-12 18:34:39 -04:00
b5ccbf631d Fix bug where you couldn't upload files with spaces in the name
As part of this, replace to the jquery-file-upload plugin with a simple
fetch() call.
2018-10-12 18:31:20 -04:00
Naomi
6220f62af3 Set the images_file field to non-required in both places
it was set to non-required in the form but not in reality
2018-10-04 13:47:31 +01:00
Carl van Tonder
39949562c1 Use multi-file upload for "images" field
Closes #62
2018-05-29 23:16:51 -04:00
b375de115e Fix bad validation rules 2018-05-23 19:15:30 +02:00
Carl van Tonder
e43c32b843 Extra file upload fields, delete files w/ draft 2018-04-30 22:17:18 -04:00
f4c21006de Add AJAX file delete support and upload notifications, make UI nicer 2018-04-26 18:03:04 +10:00
Carl van Tonder
935af1355b Further work on multi-file-upload 2018-04-23 01:15:33 -04:00
Carl van Tonder
bb326bfed8 Initial file uploding w/ new "files" app 2018-04-19 15:57:18 -04:00
Carl van Tonder
7436fa7e2e Prevent duplicate form media loading..
..by setting BaseCaseStudyForm.helper.include_media = False
2018-04-19 15:14:54 -04:00
677f6a85a9 Add coordinates autocomplete widget & data (#32)
Just tweaks based on what Carl had already written in dce53630 and b97d421a
2018-04-16 14:27:13 +10:00
087eb1b1c5 Require high zoom level to select project location, closes #56 2018-04-15 21:48:03 +10:00
Carl van Tonder
8f544992cd Make project_owners & shareholders required..
..and tweak "country" label text
2018-04-04 18:26:34 -04:00
Carl van Tonder
316f2cb78a Make power grid / energy storage Qs optional
approximate_total_investment & contractor_or_supplier_of_technology
should both be optional for non-"power grid / energy storage" types
2018-04-04 18:15:51 -04:00
Carl van Tonder
490e6706d9 Revert "Autocomplete from GIS list of CRSs.."
This reverts commit dce53630f7.
2018-04-04 18:02:33 -04:00
Carl van Tonder
dce53630f7 Autocomplete from GIS list of CRSs..
..using django-autocomplete-light, in both the admin area and the
end-user form

Closes #32
2018-04-04 15:28:08 -04:00
50b5f67bab Add extra text in 3.1.1. Closes #29. 2018-04-02 19:59:37 +10:00
e4f4a5e73b Add non-indigenous people list, as per client request 2018-03-31 22:38:30 +11:00
fafb475869 Fiddle with form layout a bit to add coherence 2018-03-31 21:00:43 +11:00
b2266600de Add banks list. Closes #23. 2018-03-31 21:00:43 +11:00
4147dc7d32 Add contact fields. Closes #30. 2018-03-31 16:29:25 +11:00
6e8b47d350 Add a submit button to express form (closes #39) 2018-03-28 22:34:27 +11:00
Carl van Tonder
63a52a1f7f Replace django-moderation with CaseStudy.visible 2018-03-27 00:14:01 -04:00
Livvy Mackintosh
310be805c5 Update frontend and forms 2017-11-18 16:55:02 +00:00
Livvy Mackintosh
43d6ec989b Add updated front end, updated CaseStudy model and profiles app 2017-10-31 14:57:26 +00:00
Livvy Mackintosh
52090ec25a Fixup forms and templates for forms 2017-10-10 00:58:36 +01:00
Livvy Mackintosh
049ca29e77 Add registration and login templates plus UI stuff, moderation 2017-10-08 21:21:51 +01:00
Livvy Mackintosh
0811936382 Update lots of things 2017-06-16 18:10:44 +02:00