~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlprofile/base.html

  • Committer: Holger Rapp
  • Date: 2009-02-20 12:25:18 UTC
  • Revision ID: holgerrapp@gmx.net-20090220122518-feaq34ta973snnct
Imported wikiapp into our repository, because we did some local changes (users must be logged in to edit wiki pages)

Show diffs side-by-side

added added

removed removed

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