mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Introduced a new proposal status: proposed. Moved some templates around and created macros.
This commit is contained in:
parent
29e5a9eb95
commit
b34d06d49e
11 changed files with 88 additions and 134 deletions
|
@ -13,6 +13,7 @@ def templating():
|
|||
return dict(logged_in=current_user.is_authenticated,
|
||||
current_user=current_user,
|
||||
funding_categories=settings.FUNDING_CATEGORIES,
|
||||
funding_statuses=settings.FUNDING_STATUSES,
|
||||
summary_data=summary_data[1])
|
||||
|
||||
|
||||
|
@ -24,7 +25,7 @@ def fetch_summary(purge=False):
|
|||
|
||||
data = {}
|
||||
categories = settings.FUNDING_CATEGORIES
|
||||
statuses = [0, 1, 2]
|
||||
statuses = settings.FUNDING_STATUSES.keys()
|
||||
|
||||
for cat in categories:
|
||||
q = db_session.query(Proposal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue