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
109 110 111 112 113 114 |
|
order_effort_left(queryset, is_descending)
¤
Order the effort_left column.
Source code in main/tables.py
116 117 118 119 120 121 |
|
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
35 36 37 38 39 40 |
|
order_total_effort(queryset, is_descending)
¤
Order the total effort column.
Source code in main/tables.py
28 29 30 31 32 33 |
|
order_weeks_to_deadline(queryset, is_descending)
¤
Order the weeks to deadline column.
Source code in main/tables.py
19 20 21 22 23 24 25 26 |
|
render_days_left(value)
¤
Render the days_left with Bootstrap badge classes.
Source code in main/tables.py
66 67 68 |
|
render_weeks_to_deadline(value)
¤
Render the weeks_to_deadline with Bootstrap badge classes.
Source code in main/tables.py
62 63 64 |
|