Skip to content
Browse files

Added links into profile pages

  • Loading branch information...
1 parent 065d287 commit fde853174cacae103e13c3b2eefd95b65f5bd1ab @rootart rootart committed Jul 31, 2011
Showing with 7 additions and 3 deletions.
  1. +6 −2 presence/apps/people/templates/people/team.html
  2. +1 −1 presence/templates/index.html
View
8 presence/apps/people/templates/people/team.html
@@ -5,8 +5,12 @@
<div class="team-list">
{% for user in users %}
<div class="member">
- <img src="{% gravatar user.email 100 %}" alt="{{ user.get_full_name }}">
- <span>{{ user.get_full_name|default:user.username }}</span>
+ <a href="{{ user.get_profile.get_absolute_url }}">
+ <img src="{% gravatar user.email 100 %}" alt="{{ user.get_full_name }}">
+ </a>
+ <span>
+ <a href="{{ user.get_profile.get_absolute_url }}">{{ user.get_full_name|default:user.username }}</a>
+ </span>
<span>{% trans "Currently: " %}{{ user.get_profile.state }}</span>
{% if user.get_profile.get_mood %}
<span>Mood: {{ user.get_profile.get_mood.get_vote_display }}</span>
View
2 presence/templates/index.html
@@ -4,7 +4,7 @@
{% block aside %}
<section id="user-info">
<img src="{% gravatar user.email 96 %}" alt="">
-<h1>{{user.get_full_name|default:user.username}}</h1>
+<h1><a href="{{ user.get_profile.get_absolute_url }}">{{ user.get_full_name|default:user.username }}</a></h1>
{% user_plans user.username %}
<a href="{% url planning %}">Plan something</a>
</section>

0 comments on commit fde8531

Please sign in to comment.
Something went wrong with that request. Please try again.