Commit 7e2f473f authored by Daniel W Bond's avatar Daniel W Bond
Browse files

the way the panels looked all wonky as pointed out by nander

parent 40bbe0f3
......@@ -30,6 +30,10 @@ SRCT Bookshare • Latest Listings
<div class="col-md-6">
{% include 'listing_preview_panel.html' %}
</div>
{% if forloop.counter|divisibleby:2 %}
</div>
<div class="row">
{% endif %}
{% endfor %}
</div>
......
......@@ -75,7 +75,7 @@ def can_rate(rater, listing):
class ListListings(LoginRequiredMixin, ListView):
model = Listing
context_object_name = 'listings'
paginate_by = 15
paginate_by = 16
queryset = Listing.objects.exclude(cancelled=True).order_by('-created')
template_name = 'list_listings.html'
login_url = 'login'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment