{# Budget name, always visible #}
{% if line.type == 'no-budget' %}
{{ 'no_budget'|_ }}
|
{% else %}
{{ line.name }}
|
{% endif %}
{# date, hidden on mobile #}
{% if line.type == 'budget-line' %}
{{ line.start.formatLocalized(monthAndDayFormat) }}
—
{{ line.end.formatLocalized(monthAndDayFormat) }}
|
{% else %}
|
{% endif %}
{# budgeted, hidden on mobile #}
{{ line.budgeted|formatAmount }}
|
{# spent, visible on mobile #}
{{ line.spent|formatAmount }}
|
{# info button, not visible on mobile #}
{% if line.spent != 0 %}
{% endif %}
|
{# left, hidden on mobile #}
{{ line.left|formatAmount }}
|
{# overspent, visible. #}
{{ line.overspent|formatAmount }}
|
{% endfor %}