Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Fix bug where non-members links were bad (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jul 29, 2012
1 parent 825ab55 commit 5b65807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/github/%login/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h2 class="first"><b>{{ name }}</b> is an {{ usertype }} on GitHub.</h2>
<tr class="not-over"><td>
{% if not user.ANON %}
<th>
<a href="/{{ member['login'] }}/"><img src="{{ member.get('avatar_url', '/assets/%s/no-avatar.png' % __version__) }}" />
<a href="/github/{{ member['login'] }}/"><img src="{{ member.get('avatar_url', '/assets/%s/no-avatar.png' % __version__) }}" />
{{ member['login'] }}</a>
</th>
<td>
Expand All @@ -170,7 +170,7 @@ <h2 class="first"><b>{{ name }}</b> is an {{ usertype }} on GitHub.</h2>
</td>
{% else %}
<td>
<a href="/{{ member['login'] }}/"><img src="{{ member.get('avatar_url', '/assets/%s/no-avatar.png' % __version__) }}" />
<a href="/github/{{ member['login'] }}/"><img src="{{ member.get('avatar_url', '/assets/%s/no-avatar.png' % __version__) }}" />
{{ member['login'] }}</a>
</td>
{% end %}
Expand Down

0 comments on commit 5b65807

Please sign in to comment.