{% extends "base.html" %} {% block content %} {% if user %}
| Proposal | Category | Target Amount | Amount Raised | Date | {% for p in user.proposals | sort(attribute='date_added', reverse=True) %}
|---|---|---|---|---|
| {{ p.headline | truncate(42)}} | {{ p.category |capitalize}} | {{p.funds_target}} | {{p.funds_progress | round(3, 'floor')}}% | {{ p.date_added.strftime('%Y-%m-%d') }} |
| Comment | Proposal | Date | {% for y in user.comments | sort(attribute='date_added', reverse=True) %}
|---|---|---|
| {{ y.message | truncate(32)}} | #{{y.proposal.id }} {{ y.proposal.headline | truncate(32) }} | {{ y.date_added.strftime('%Y-%m-%d') }} |