Skip to content

Commit

Permalink
[Bug 730031] Profile link goes to the edit page instead of Profile ho…
Browse files Browse the repository at this point in the history
…mepage
  • Loading branch information
tobbi authored and rlr committed May 17, 2012
1 parent 6bb9cdd commit 62115f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/questions/templates/questions/includes/answer.html
Expand Up @@ -2,7 +2,7 @@
{% from "karma/includes/karma_macros.html" import titles %}
<div class="user-section">
<div class="avatar{% if user == answer.creator %} self{% endif %}{% if answer.id and question.creator == answer.creator %} owner{% endif %}">
<a href="{{ profile_url(answer.creator, request.user == answer.creator) }}">
<a href="{{ profile_url(answer.creator) }}">
<img src="{{ profile_avatar(answer.creator) }}" height="48" width="48" alt="{{ answer.creator }}"/>
{% if user == answer.creator %}
<span>{{ _('You') }}</span>
Expand All @@ -12,7 +12,7 @@
</a>
</div>
<div class="asked-by">
<a href="{{ profile_url(answer.creator, request.user == answer.creator) }}">{{ answer.creator }}</a>
<a href="{{ profile_url(answer.creator) }}">{{ answer.creator }}</a>
{% if waffle.switch('karma') and waffle.flag('karma') %}
{{ titles(answer.creator) }}
{% endif %}
Expand Down

0 comments on commit 62115f5

Please sign in to comment.