Revision ebd369d0 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

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

  
12
{% comment %}{% 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>
27
{% endblock %}{% endcomment %}
14
{% block page.nav.items %}
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 %}
20
{% endblock %}
28 21
    
29 22
{% block page.body %}
30 23
<div class="maincol {% block innerpage.class %}full{% endblock %}">

Also available in: Unified diff