Herp. Not request.user, here.:

master
Nick Sergeant 2013-04-05 10:24:24 -04:00
parent a0b9db2ed7
commit 37ae0fd2cc
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{% if request.user == user %}
<a href="/{{ user }}/favorites/" class="alt-link favorites {% if 'favorites' in request.path %}active{% endif %}"><span>View favorited snipts &raquo;</span></a>
{% endif %}
{% if request.user.profile.get_blog_posts %}
{% if user.profile.get_blog_posts %}
<a href="/{{ user }}/blog-posts/" class="alt-link {% if 'blog-posts' in request.path %}active{% endif %}"><span>View blog posts &raquo;</span></a>
{% endif %}
</div>