Herp. Not request.user, here.:
parent
a0b9db2ed7
commit
37ae0fd2cc
|
@ -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 »</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 »</span></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue