Revision f534fb96 snf-astakos-app/astakos/im/templates/im/account_base.html

b/snf-astakos-app/astakos/im/templates/im/account_base.html
1 1
{% extends "im/base_two_cols.html" %}
2 2

  
3
{% load filters %}
4

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

  
......
10 12
{% endblock %}
11 13

  
12 14
{% block page.nav.items %}
13
    <li class="{% if tab == "im/profile" %}active{% endif %}">
14
        <a href="{% url astakos.im.views.edit_profile %}">Profile</a>
15
    </li>
16
    <li class="{% if not tab %}active{% endif %}">
17
        <a href="{% url django.contrib.auth.views.password_change %}">Change password</a>
18
    </li>
19
    {% if invitations_enabled %}
20
    <li class="{% if tab == "im/invitations" %}active{% endif %}">
21
        <a href="{% url astakos.im.views.invite %}">Invitations</a>
22
    </li>
23
    {% endif %}
24
    <li class="{% if tab == "im/feedback" %}active{% endif %}">
25
        <a href="{% url astakos.im.views.send_feedback %}">Send feedback</a>
26
    </li>
15
    {% for item in menu%}
16
        <li class="{% if item|lookup:"is_active" %}active{% endif %}">
17
            <a href="{{ item|lookup:"url" }}">{{ item|lookup:"name" }}</a>
18
        </li>
19
    {% endfor %}
27 20
{% endblock %}
28 21
    
29 22
{% block page.body %}

Also available in: Unified diff