root / snf-astakos-app / astakos / im / templates / im / account_base.html @ ad956265
History | View | Annotate | Download (1.3 kB)
1 |
{% extends "im/base_two_cols.html" %} |
---|---|
2 |
|
3 |
{% block extra_messages %} |
4 |
{% if not messages %} |
5 |
{% for msg_type, msg in GLOBAL_MESSAGES.items %} |
6 |
<li class="{{ msg_type }}">{{ msg|safe }}</li> |
7 |
{% endfor %} |
8 |
{% for msg_type, msg in PROFILE_MESSAGES.items %} |
9 |
<li class="{{ msg_type }}">{{ msg|safe }}</li> |
10 |
{% endfor %} |
11 |
{% endif %} |
12 |
{% endblock %} |
13 |
|
14 |
{% load filters %} |
15 |
|
16 |
{% block page.title %}Profile{% endblock %} |
17 |
{% block page.nav.classes %}{% endblock %} |
18 |
|
19 |
{% block page.quicknav.items %} |
20 |
<li class="{% block signup_class %}{% endblock %}"> |
21 |
<a href="{% url astakos.im.views.logout %}">LOGOUT</a> |
22 |
</li>
|
23 |
{% endblock %} |
24 |
|
25 |
{% block page.nav.items %} |
26 |
{% for item in menu%} |
27 |
<li class="{% if item|lookup:"is_active" %}active{% endif %}"> |
28 |
<a href="{{ item|lookup:"url" }}">{{ item|lookup:"name" }}</a> |
29 |
</li>
|
30 |
{% endfor %} |
31 |
{% endblock %} |
32 |
|
33 |
{% block page.body %} |
34 |
<div class="maincol {% block innerpage.class %}full{% endblock %}"> |
35 |
{% block body %}{% endblock %} |
36 |
|
37 |
{% if PROFILE_EXTRA_LINKS %} |
38 |
<div class="extra-buttons buttons-list fixpos"> |
39 |
{% for href, name in PROFILE_EXTRA_LINKS.items %} |
40 |
<a class="button back right" href="{{ href }}">{{ name }}</a> |
41 |
{% endfor %} |
42 |
</div>
|
43 |
{% endif %} |
44 |
|
45 |
</div>
|
46 |
|
47 |
{% endblock %} |