%rebase('layout', title='Decisions', back_url=url_for('dashboard'))
%# Each decision shows what and why, not just what. A log of outcomes with no
%# reasoning is a changelog; the reasoning is the part you come back for.
%for d in decisions:
{{d.title}}
{{status_label(d.status)}}
%if d.id in review_soon:
Due for review
%end
%if d.decision:
{{d.decision}}
%end
%if d.rationale:
{{d.rationale}}
%end
{{d.owner.name if d.owner_id else 'Unattributed'}}
%if d.decided_on:
· decided {{d.decided_on.strftime('%b %-d, %Y')}}
%end
%if d.review_on:
· review {{d.review_on.strftime('%b %-d, %Y')}}
%end
%if d.project_id:
· {{d.project.name}}
%end
%if d.customer_id:
· {{d.customer.name}}
%end
%end
%if not decisions:
No decisions recorded yet. Capture a note that contains one, or add it by hand.
%end