{{ header }}
<div id="account-account" class="container">
  <ul class="breadcrumb">
    {% for breadcrumb in breadcrumbs %}
      <li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
    {% endfor %}
  </ul>
  {% if success %}
    <div class="alert alert-success alert-dismissible"><i class="fa-solid fa-circle-check"></i> {{ success }}</div>
  {% endif %}
  <div class="row">{{ column_left }}
    <div id="content" class="col account-list">{{ content_top }}
      <h2>{{ text_my_account }}</h2>
      <ul class="list-unstyled">
          <li><a href="{{ edit }}"><i class="fa-regular fa-pen-to-square"></i><span>{{ text_edit }}</span></a></li>
          <li><a href="{{ password }}"><i class="fa-solid fa-unlock-keyhole"></i><span>{{ text_password }}</span></a></li>
          <li><a href="{{ address }}"><i class="fa-solid fa-map-location-dot"></i><span>{{ text_address }}</span></a></li>
          <li><a href="{{ wishlist }}"><i class="fa-regular fa-star"></i><span>{{ text_wishlist }}</span></a></li>
      </ul>
      <h2>
        {{ text_my_orders }}
      </h2>
      <ul class="list-unstyled">
          <li><a href="{{ order }}"><i class="fa-regular fa-file-lines"></i><span>{{ text_order }}</span></a></li>
          <li><a href="{{ download }}"><i class="fa-solid fa-download"></i><span>{{ text_download }}</span></a></li>
          {% if reward %}
          <li><a href="{{ reward }}"><i class="fa-solid fa-coins"></i><span>{{ text_reward }}</span></a></li>
          {% endif %}
          <li><a href="{{ return }}"><i class="fa-solid fa-arrow-right-arrow-left"></i><span>{{ text_return }}</span></a></li>
          <li><a href="{{ transaction }}"><i class="fa-solid fa-wallet"></i><span>{{ text_transaction }}</span></a></li>
      </ul>
      {% if affiliate %}
        <h2>
          {{ text_my_affiliate }}
        </h2>
        <ul class="list-unstyled">
          {% if not tracking %}
          <li><a href="{{ affiliate }}"><i class="fa-solid fa-user-group"></i><span>{{ text_affiliate_add }}</span></a></li>
          {% else %}
          <li><a href="{{ affiliate }}"><i class="fa-solid fa-user-group"></i><span>{{ text_affiliate_edit }}</span></a></li>
          <li><a href="{{ tracking }}"><i class="fa-solid fa-crosshairs"></i><span>{{ text_tracking }}</span></a></li>
          {% endif %}
        </ul>
      {% endif %}
      <h2>
        {{ text_my_newsletter }}
      </h2>
      <ul class="list-unstyled">
        <li><a href="{{ newsletter }}"><i class="fa-solid fa-envelope-open-text"></i><span>{{ text_newsletter }}</span></a></li>
      </ul>
      {{ content_bottom }}</div>
    {{ column_right }}</div>
</div>
{{ footer }}
