%rebase('layout', title='Commitments', back_url=url_for('dashboard'))
| Person | Commitment | Due | Status | |
|---|---|---|---|---|
| {{c.person.name if c.person_id else '—'}} | {{c.description}} %if c.customer_id or c.project_id: %if c.customer_id: · {{c.customer.name}} %end %if c.project_id: · {{c.project.name}} %end %end | {{insights.due_phrase(c.due_date).replace('due ', '').replace('was ', '')}} | {{status_label(shown)}} | %# One button for the thing people actually do here: tick it off. |
| %if active == 'overdue': Nothing overdue. Everyone is keeping their word. %elif active == 'mine': Nothing is on you right now. %else: No commitments recorded yet. %end | ||||