don't show comments unless logged in

pull/46/head
eric 2018-01-24 14:39:43 -05:00
parent 9a6cabedf5
commit e317deeaa1
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@
{% endif %} {% endif %}
</li> </li>
<li><a href="{% url 'campaign_list' 'ending' %}"><span>Active Campaigns</span></a></li> <li><a href="{% url 'campaign_list' 'ending' %}"><span>Active Campaigns</span></a></li>
<li><a href="{% url 'comment' %}"><span>Latest Comments</span></a></li> {% if not request.user.is_anonymous %}
<li><a href="{% url 'comment' %}"><span>Latest Comments</span></a></li>
{% endif %}
<li><a href="{% url 'work_list' 'popular' %}"><span>Site Favorites</span></a></li> <li><a href="{% url 'work_list' 'popular' %}"><span>Site Favorites</span></a></li>
<li><a href="{% url 'work_list' 'new' %}"><span>Latest Favorites</span></a></li> <li><a href="{% url 'work_list' 'new' %}"><span>Latest Favorites</span></a></li>
<!--<li><a href="{% url 'work_list' 'recommended' %}"><span>Noteworthy</span></a></li>--> <!--<li><a href="{% url 'work_list' 'recommended' %}"><span>Noteworthy</span></a></li>-->