Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / account_base.html @ 4f78c22c

History | View | Annotate | Download (1.4 kB)

1
{% extends "im/base.html" %}
2

    
3
{% load filters %}
4

    
5
{% block page.title %}Profile{% endblock %}
6
{% block page.nav.classes %}{% endblock %}
7

    
8
{% block page.quicknav.items %}
9
        <li class="{% block signup_class %}{% endblock %}">
10
            <a href="{% url logout %}">LOGOUT</a>
11
        </li>
12
{% endblock %}
13

    
14
{% block page.nav.items %}
15
    {% for item in menu%}
16
        <li {% if |lookup:"is_active" %}class="active"{% endif %}>
17
            <a href="{{ item|lookup:"url" }}">{{ item|lookup:"name" }}</a>
18
        </li>
19
    {% endfor %}
20
{% endblock %}
21

    
22
{% block page.subnav %}
23
    {% for item in menu%}
24
        {% if item|lookup:"is_active" %}
25
            {% with item|lookup:"submenu" as submenu %}
26
                {% for item in submenu %}
27
                    <li {% if |lookup:"is_active" %}class="active"{% endif %}>
28
                        <a href="{{ item|lookup:"url" }}">{{ item|lookup:"name" }}</a>
29
                    </li>
30
                {% endfor %}
31
            {% endwith %}
32
        {% endif %}
33
    {% endfor %}
34
{%endblock %}
35

    
36
{% block page.body %}
37
<div class="{% block innerpage.class %}full{% endblock %}">
38
{% block body %}{% endblock %}
39

    
40
    {% if PROFILE_EXTRA_LINKS %}
41
    <div class="buttons-list fixpos">
42
        {% for href, name in PROFILE_EXTRA_LINKS.items %}
43
            <a class="button back right" href="{{ href }}">{{ name }}</a>
44
        {% endfor %}
45
    </div>
46
    {% endif %}
47
    
48

    
49
</div>
50

    
51
{% endblock %}
52