~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlprofile/base.html

merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "base.html" %}
 
2
 
2
3
{% comment %}
3
4
   vim:ft=htmldjango
4
5
{% endcomment %}
10
11
{% block extra_head %}
11
12
<link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/profile.css" />{{ block.super}}
12
13
{% endblock %}
 
14
 
 
15
{% block content_tabbing %}
 
16
        <ul class="tab-list small">
 
17
        {% if profile.user and user != profile.user %}
 
18
                {% if not profile.deleted %}
 
19
                <li>
 
20
                        <a {% block send_pm %}{% endblock %} href="{% url 'messages_compose_to' profile.user %}">Send PM</a>
 
21
                </li>
 
22
                {% endif %}
 
23
        {% else %}
 
24
                <li>
 
25
                        <a {% block profile %}{% endblock %} href="{% url 'profile_view' %}">Profile</a>
 
26
                </li>
 
27
                <li>
 
28
                        <a {% block edit_profile %}{% endblock %} href="{% url 'profile_edit' %}">Edit Profile</a>
 
29
                </li>
 
30
                <li>
 
31
                        <a {% block notifications %}{% endblock %} href="{% url 'notification_notices' %}">E-Mail settings</a>
 
32
                </li>
 
33
                <li>
 
34
                        <a {% block scheduling %}{% endblock %} href="{% url 'scheduling_main' %}">Game Scheduler</a>
 
35
                        <ul>
 
36
                                <li><a href="{% url 'scheduling_scheduling' %}">Define your playtime</a></li>
 
37
                                <li><a href="{% url 'scheduling_find' %}">Show playtimes</a></li>
 
38
                        </ul>
 
39
                </li>
 
40
                <li>
 
41
                        <a {% block messages %}{% endblock %} href="{% url 'messages_inbox' %}" title="Your private messages">Messages</a>
 
42
                </li>
 
43
        {% endif %}
 
44
        </ul>
 
45
{% endblock %}