{% set authed = user.is_authenticated() %}
{% if authed %} {% if debug %}
{% else %}
{% endif %}{# debug #} {% else %}
{% endif %}{# authed #}
EVEthing: {% block title %}{% endblock %}
EVEthing
{% if authed %} {% set profile = user.get_profile() %} {% if profile.show_assets %}
Assets
{% endif %} {% if profile.show_blueprints %}
Blueprints
{% endif %} {% if profile.show_contracts %}
Contracts {% if nav_contracts %}
[{{ nav_contracts }}]
{% endif %}
{% endif %}{# profile.show_contracts #} {% if profile.show_industry %}
Industry {% if nav_industryjobs %}
[{{ nav_industryjobs }}]
{% endif %}
{% endif %}{# profile.show_industry #} {% if profile.show_orders %}
Orders
{% endif %} {% if profile.show_trade %}
Trade
{% endif %} {% if profile.show_transactions %}
Transactions
{% endif %} {% if profile.show_wallet_journal %}
Wallet Journal
{% endif %} {% endif %}{# authed #}
{% if authed %}
{{ nav_mail }}
{% if server_open %}
{% else %}
{% endif %}{# server_open #}
EVE
{{ user.username }}
My Account
Event log
Mail
{% if user.is_staff %}
Site Administration
{% endif %}{# user.is_staff #}
Logout
{% else %}
Login
{% if user|can_register %}
Register
{% endif %} {% endif %}{# authed #}
{% block content %}{% endblock %}
{% if debug %} {% else %} {% endif %}{# if debug #} {% block extra_js %}{% endblock %}