From 7f0bb1c4f67c1fff65326294a8b256a46c653293 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Wed, 4 Jul 2018 23:01:18 +0200 Subject: [PATCH] Include work in progress on the proposal overview page --- wowfunding/routes.py | 2 +- wowfunding/templates/proposal/disclaimer.html | 4 ++-- wowfunding/templates/proposal/overview.html | 12 ++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/wowfunding/routes.py b/wowfunding/routes.py index 1456d10..1e692fe 100644 --- a/wowfunding/routes.py +++ b/wowfunding/routes.py @@ -205,7 +205,7 @@ def proposals(status, page, cat): proposals = { 'proposed': Proposal.find_by_args(status=1, limit=10), 'funding': Proposal.find_by_args(status=2, limit=10), - 'wip': Proposal.find_by_args(status=3, limit=4)} + 'wip': Proposal.find_by_args(status=3, limit=5)} return make_response(render_template('proposal/overview.html', proposals=proposals)) try: diff --git a/wowfunding/templates/proposal/disclaimer.html b/wowfunding/templates/proposal/disclaimer.html index dfb85e4..893a64e 100644 --- a/wowfunding/templates/proposal/disclaimer.html +++ b/wowfunding/templates/proposal/disclaimer.html @@ -27,7 +27,7 @@
WFS length

- Tasks should be capable being completed within 90 days of the proposal reaching the target funding unless the proposal is a bounty. + Tasks should be capable of being completed within 90 days of the proposal reaching the target funding unless the proposal is a bounty.

Having indefinite, open-ended tasks could lead to mission creep and expanded completion time, which is not ideal because the value of WOW could become volatile. @@ -139,7 +139,7 @@

-
Failed to raise funds
+
Adjustments

Minor amendments may be made to proposals as long it is within the general spirit of the original proposal. However, for major changes, the developer should bring up the proposed change on IRC and diff --git a/wowfunding/templates/proposal/overview.html b/wowfunding/templates/proposal/overview.html index 9171161..bba10e9 100644 --- a/wowfunding/templates/proposal/overview.html +++ b/wowfunding/templates/proposal/overview.html @@ -12,8 +12,6 @@ {% if proposals['proposed'] %} {{ proposal_table(title='Proposals', _proposals=proposals['proposed']) }}


- {% else %} - {% endif %}
@@ -21,8 +19,14 @@
{% if proposals['funding'] %} {{ proposal_table(title='Funding required', _proposals=proposals['funding']) }} - {% else %} - No proposals here yet. +
+ {% endif %} +
+
+
+
+ {% if proposals['wip'] %} + {{ proposal_table(title='Work in progress', _proposals=proposals['wip']) }} {% endif %}