{% extends "base.html" %} {% set active_page = 'holdings' %} {% block title %}Holdings · net-alpha{% endblock %} {% block topbar_right %} {% if accounts %}{{ accounts|length }} account{% if accounts|length != 1 %}s{% endif %}{% endif %} {{ selected_period|default('YTD')|upper }} {% endblock %} {% block content %}

Holdings

{% if selected_account %}{{ selected_account }}{% else %}All accounts{% endif %} · {{ selected_period|default('YTD')|upper }}
{% include "_density_toggle.html" with context %}
{% if imports %}{% include "_portfolio_toolbar.html" %}{% endif %}
{# Emit column markers so tests / density.js can read extra_columns regardless of whether imports exist (empty-state path never reaches _portfolio_table). #} {% if extra_columns %} {% endif %} {% if not imports %} {% include "_portfolio_empty_state.html" %} {% else %}
{% endif %} {% endblock %}