{# Profile menu items #} {% if urls.user and urls.user.profile %} Profile {% elif urls.organization and urls.organization.profile %} Profile {% endif %} {% if urls.organization and urls.organization.roles %} {% for role_title, role_url in urls.organization.roles|iteritems %} {{role_title}} {% endfor %} {% endif %} {# Subscriber menu items #} {% if urls.organization and urls.organization.billing %} Billing {% endif %} {% if urls.organization and urls.organization.subscriptions %} Subscriptions {% endif %} {% if urls.user and urls.user.accessibles %} Connected profiles {% endif %} {% if urls.user and urls.user.notifications %} Notifications {% endif %} {# Provider menu items #} {% if urls.provider %} Dashboard Revenue Funds Coupons Plans Subscribers {% endif %} {# Broker menu items #} {% if urls.pages or urls.rules %} {% if urls.pages.theme_base %} Theme {% endif %} {% if urls.rules and urls.rules.app %} Rules {% endif %} {% endif %}