Things to make the energy flexibility pilot work possible.
Removes the create a team option from the template.
Adds basic functionality to store challenges in the database to make administering this possible without editing the template. Can use either html, plain text or a custom template for the challenge description displayed on the team page. Also uses the challenges to populate the progress scale on the private and public team page.
If there is no challenge set for a Team then it will display thing things in the template as before. If you set a challenge then it will use that, and all the challenges in the database to display progress.
A challenge should have an order which will be used in the progress ladders.
It can be marked as not public in which case it doesn't appear on the non logged in team page.
The description can be one of:
plain test in the description in which case it gets split on newlines into paragraphs using the standard django filter
if the rich text option is checked then the template spits out the contents of the description as html
or have a custom template in which case this is included as the challenge description on the team page. If no template is set then it will fall back to a default template which can be overridden in .env
Things to make the energy flexibility pilot work possible.
Removes the create a team option from the template.
Adds basic functionality to store challenges in the database to make administering this possible without editing the template. Can use either html, plain text or a custom template for the challenge description displayed on the team page. Also uses the challenges to populate the progress scale on the private and public team page.
If there is no challenge set for a Team then it will display thing things in the template as before. If you set a challenge then it will use that, and all the challenges in the database to display progress.
A challenge should have an order which will be used in the progress ladders.
It can be marked as not public in which case it doesn't appear on the non logged in team page.
The description can be one of:
Fixes #77