tables
main.tables
¤
Tables needed by ProCAT.
Classes¤
CapacityTable
¤
Bases: Table
Table for Capacity listing.
FundingTable
¤
Bases: Table
Table for the Funding listing.
Classes¤
Meta
¤
Meta class for the table.
Functions¤
order_effort(queryset, is_descending)
¤
Order the effort column.
Source code in main/tables.py
199 200 201 202 203 204 | |
order_effort_left(queryset, is_descending)
¤
Order the effort_left column.
Source code in main/tables.py
206 207 208 209 210 211 | |
order_funding_left(queryset, is_descending)
¤
Order the funding_left column.
Source code in main/tables.py
217 218 219 220 221 222 | |
render_budget(value)
¤
Render the budget as a monetary value.
Source code in main/tables.py
195 196 197 | |
render_funding_left(value)
¤
Render the funding left as a monetary value.
Source code in main/tables.py
213 214 215 | |
MonthlyChargeTable
¤
ProjectPhaseTable
¤
ProjectTable
¤
Bases: Table
Table for Project listing.
Classes¤
Meta
¤
Meta class for the table.
Functions¤
order_days_left(queryset, is_descending)
¤
Order the days left column.
Source code in main/tables.py
75 76 77 78 79 80 | |
order_total_effort(queryset, is_descending)
¤
Order the total effort column.
Source code in main/tables.py
68 69 70 71 72 73 | |
order_total_funding_left(queryset, is_descending)
¤
Order the total funding left column.
Source code in main/tables.py
86 87 88 89 90 91 92 93 | |
order_weeks_to_deadline(queryset, is_descending)
¤
Order the weeks to deadline column.
Source code in main/tables.py
59 60 61 62 63 64 65 66 | |
render_days_left(value)
¤
Render the days_left with Bootstrap badge classes.
Source code in main/tables.py
119 120 121 | |
render_total_funding_left(value)
¤
Render the total funding left as a monetary value.
Source code in main/tables.py
82 83 84 | |
render_weeks_to_deadline(value)
¤
Render the weeks_to_deadline with Bootstrap badge classes.
Source code in main/tables.py
115 116 117 | |