-
Notifications
You must be signed in to change notification settings - Fork 6
/
user_profile.html
36 lines (33 loc) · 1.03 KB
/
user_profile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "djtracker/base.html" %}
{% block head %}
<script type="text/javascript">
{% include 'djtracker/sorttable.js' %}
</script>
{% endblock %}
{% block content %}
{% if user %}
<h3><small class="inlineaction"><a href="{% url django.contrib.auth.views.password_change %}">change password</a></small>User: {{ user.username }}</h3>
<p>IM Information: {{ profile.instant_messanger }}</p>
{% if request.user.is_authenticated %}
<p>Email: <a href="mailto:{{ user.email }}">{{ user.email }}</a>
{% endif %}
{% with 1 as issues_with_project %}
{% if assigned %}
<div class="hideable">
<h4>Issues assigned to me</h4>
{% with assigned as issue_list %}
{% include 'djtracker/blocks/issue_list.html' %}
{% endwith %}
</div>
{% endif %}
{% if created %}
<div class="hideable">
<h4>Issues created by me</h4>
{% with created as issue_list %}
{% include 'djtracker/blocks/issue_list.html' %}
{% endwith %}
</div>
{% endif %}
{% endwith %}
{% endif %}
{% endblock %}