shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

account.twig (2461B)


      1 {{ header }}
      2 <div id="account-account" class="container">
      3   <ul class="breadcrumb">
      4     {% for breadcrumb in breadcrumbs %}
      5     <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
      6     {% endfor %}
      7   </ul>
      8   {% if success %}
      9   <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ success }}</div>
     10   {% endif %}
     11   <div class="row">{{ column_left }}
     12     {% if column_left and column_right %}
     13     {% set class = 'col-sm-6' %}
     14     {% elseif column_left or column_right %}
     15     {% set class = 'col-sm-9' %}
     16     {% else %}
     17     {% set class = 'col-sm-12' %}
     18     {% endif %}
     19     <div id="content" class="{{ class }}">{{ content_top }}
     20       <h2>{{ text_my_account }}</h2>
     21       <ul class="list-unstyled">
     22         <li><a href="{{ edit }}">{{ text_edit }}</a></li>
     23         <li><a href="{{ password }}">{{ text_password }}</a></li>
     24         <li><a href="{{ address }}">{{ text_address }}</a></li>
     25         <li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>
     26       </ul>
     27       {% if credit_cards %}
     28       <h2>{{ text_credit_card }}</h2>
     29       <ul class="list-unstyled">
     30         {% for credit_card in credit_cards %}
     31         <li><a href="{{ credit_card.href }}">{{ credit_card.name }}</a></li>
     32         {% endfor %}
     33       </ul>
     34       {% endif %}
     35       <h2>{{ text_my_orders }}</h2>
     36       <ul class="list-unstyled">
     37         <li><a href="{{ order }}">{{ text_order }}</a></li>
     38         <li><a href="{{ download }}">{{ text_download }}</a></li>
     39         {% if reward %}
     40         <li><a href="{{ reward }}">{{ text_reward }}</a></li>
     41         {% endif %}
     42         <li><a href="{{ return }}">{{ text_return }}</a></li>
     43         <li><a href="{{ transaction }}">{{ text_transaction }}</a></li>
     44         <li><a href="{{ recurring }}">{{ text_recurring }}</a></li>
     45       </ul>
     46       <h2>{{ text_my_affiliate }}</h2>
     47       <ul class="list-unstyled">
     48         {% if not tracking %}
     49         <li><a href="{{ affiliate }}">{{ text_affiliate_add }}</a></li>
     50         {% else %}
     51         <li><a href="{{ affiliate }}">{{ text_affiliate_edit }}</a></li>
     52         <li><a href="{{ tracking }}">{{ text_tracking }}</a></li>
     53         {% endif %}
     54       </ul>
     55       <h2>{{ text_my_newsletter }}</h2>
     56       <ul class="list-unstyled">
     57         <li><a href="{{ newsletter }}">{{ text_newsletter }}</a></li>
     58       </ul>
     59       {{ content_bottom }}</div>
     60     {{ column_right }}</div>
     61 </div>
     62 {{ footer }}