~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to pybb/templates/pybb/edit_profile.html

  • Committer: Holger Rapp
  • Date: 2009-02-25 16:55:36 UTC
  • Revision ID: sirver@kallisto.local-20090225165536-3abfhjx8qsgtzyru
- Added my hacked version of pybb. Remerging new versions is very difficult at this point :(

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends 'pybb/base.html' %}
 
2
{% load pybb_extras %}
 
3
{% load i18n %}
 
4
 
 
5
{% block content %}
 
6
<h1>{% trans "Profile editing" %}</h1>
 
7
{% if profile.avatar %}
 
8
<img src="{{ profile.avatar.url }}" />
 
9
{% endif %}
 
10
<p><a href="{% url auth_password_change %}">{% trans "Change the password" %}</a></p>
 
11
{#<p><a href="{% url auth_email_change %}">{% trans "Change the email" %}</a></p>#}
 
12
<p><a href="{% url pybb_pm_inbox %}">{% trans "Inbox" %}</a></p>
 
13
<p><a href="{% url pybb_pm_outbox %}">{% trans "outbox" %}</a></p>
 
14
<form method="post" enctype="multipart/form-data">
 
15
    <fieldset>
 
16
        <legend>{% trans "Profile editing" %}</lenged>
 
17
        {{ form.as_p }}
 
18
        <p><input type="submit" value="{% trans "Save" %}" /></p>
 
19
    </fieldset>
 
20
</form>
 
21
<h1>{% trans "Subscriptions on topics" %}</h1>
 
22
<ul>
 
23
{% for sub in user.subscriptions.all %}
 
24
<li>
 
25
{% pybb_link sub %}
 
26
&mdash;
 
27
<strong>
 
28
    <a href="{% url pybb_delete_subscription sub.id %}">{% trans "delete" %}</a>
 
29
</strong>
 
30
</li>
 
31
{% endfor %}
 
32
</ul>
 
33
{% endblock %}