Commit Graph

67 Commits

Author SHA1 Message Date
87e9296007 Use lazy gettext in models and forms to allow things to be shown in Spanish. 2019-04-07 17:04:02 +01:00
5cc0b7cdc1 Use latest form text
* Take the opportunity to reformat the source to not have so many hugely long lines.
* Put a few things through gettext that weren't going through it before
* Move 'Hold down Ctrl to select multiple files at once.' text to widget, out of
  help text for each individual control.
2019-04-07 16:08:09 +01:00
dc84e1a09a Amend 'Solar power tower' label 2019-03-21 19:25:59 +00:00
0e7b9d696e Add some end tags for clarity when translating 2019-03-18 17:29:55 +00:00
0042034919 Remove excessive spaces from long strings 2019-03-18 17:25:21 +00:00
ed399e8379 Some suggested translation updates 2019-03-18 17:07:15 +00:00
Tom Wragg
85d954a583 Update models.py - added full stops at end of 'etc'. [NOT SURE THIS IS THE RIGHT THING TO DO!] 2019-03-15 15:55:19 +00:00
f8d4cfe755 Save the form type (long, short) with the case study 2019-03-04 20:41:15 +00:00
0c594487a9 Add language field to case studies 2019-03-04 20:17:06 +00:00
1e437d43e4 Make minor text corrections as suggested by workshop participants 2018-12-20 22:12:20 +01:00
5e49de16d0 Remove unused fields 2018-12-02 02:23:58 +00:00
b7b07aa180 Add DELETE markers for fields to be nuked 2018-12-02 02:10:35 +00:00
23c1279f61 Update case study display 2018-12-02 00:31:26 +00:00
5c7d4005f0 Add migration 2018-12-02 00:31:04 +00:00
04b8ae7bf9 Implement Tom's emailed suggestions 2018-11-26 22:34:06 +00:00
d6bae3b941 Add back in previously removed fields for backward-compat 2018-11-26 18:10:25 +00:00
9384b6c9cb Through to the end 2018-11-25 13:48:52 +00:00
d87604c6bd Through row 140 2018-11-24 21:09:35 +00:00
2fb4f8771c Through row 116 2018-11-24 18:30:58 +00:00
857634d1f1 Through to row 101 2018-11-24 17:58:08 +00:00
5c4e9c330d Through to row 87 2018-11-24 16:54:39 +00:00
Carl van Tonder
1256d0f52b Upgrade to Django 2.1 using pip-tools
Closes #88
2018-11-14 12:26:59 -05:00
acfbb513de Add points of interest
Do a bunch of refactoring in the process.  Current display on homepage
is a little shonky but that can be improved when there is something
using it.
2018-10-13 01:44:03 -04:00
c21a06d5c8 Get basic, admin-editable POI working 2018-10-12 18:56:27 -04:00
69e518240c Add point of interest model 2018-10-12 18:50:27 -04:00
ff445e166d Text fields shouldn't have null=True. (#94) 2018-09-22 19:09:05 +01:00
Carl van Tonder
d80f933b7b Add CaseStudyDraft.created 2018-05-29 23:16:51 -04:00
Carl van Tonder
39949562c1 Use multi-file upload for "images" field
Closes #62
2018-05-29 23:16:51 -04:00
Carl van Tonder
8a8eccaeaa Make "land ownership details" visible always
Closes #71
2018-05-26 11:36:44 -04:00
Carl van Tonder
006262c7ea Lengthen "key actors" and "who..involved" fields 2018-05-24 20:52:43 -04:00
b375de115e Fix bad validation rules 2018-05-23 19:15:30 +02:00
03e5bfe01b Extend the length of some charfields, per Tom's email 2018-05-15 15:03:57 +01: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
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
c8d74a8351 Hide and show negative case reasons 'other' field appropriately, closes #44 2018-04-15 22:10:05 +10:00
087eb1b1c5 Require high zoom level to select project location, closes #56 2018-04-15 21:48:03 +10:00
08bb577e37 Add form drafts API (#52) 2018-04-14 13:09:56 +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
dbdab0e440 Make type of ecosystem field long enough to hold all choices 2018-04-02 22:36:46 +10:00
e4f4a5e73b Add non-indigenous people list, as per client request 2018-03-31 22:38:30 +11:00
b2266600de Add banks list. Closes #23. 2018-03-31 21:00:43 +11:00
a5011674f8 Fix type of ecosystem field after messing it up in 9d5daf4e. 2018-03-31 17:23:22 +11:00
5f2941d205 Allow Vimeo as well as YouTube URLs. Closes #26. 2018-03-31 17:18:35 +11:00
0f0f78bd24 Fix wording of 4.4. Closes #33 2018-03-31 16:33:35 +11:00
4147dc7d32 Add contact fields. Closes #30. 2018-03-31 16:29:25 +11:00
83ae33ca9c Fix units on 2.2.2 (#48) 2018-03-29 21:51:06 +11:00