Continually showing unmoderated feeds while paging.

This commit is contained in:
Samuel Clay 2013-05-25 20:55:46 -07:00
parent e4dd6932b0
commit 13d5417d9f
2 changed files with 2 additions and 1 deletions

View file

@ -44,6 +44,7 @@ def load_recommended_feed(request):
'has_previous_page' : page != 0,
'unmoderated' : unmoderated,
'today' : datetime.datetime.now(),
'page' : page,
}, context_instance=RequestContext(request))
else:
return HttpResponse("")

View file

@ -1,5 +1,5 @@
{% load utils_tags %}
<div class="NB-module-recommended NB-module {% if unmoderated %}NB-recommended-unmoderated{% endif %}">
<div class="NB-module-recommended NB-module {% if unmoderated and not page %}NB-recommended-unmoderated{% endif %}">
<h5 class="NB-module-header">
{% if unmoderated %}
Moderation Queue