Skip to content
Snippets Groups Projects
Commit be74e338 authored by Daniel Benden daniel.benden@wur.nl's avatar Daniel Benden daniel.benden@wur.nl
Browse files

ishow only download sets with more images wq

parent d1256a74
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,8 @@ def download(request):
l=[]
img_collections = ImageCollection.objects.all().filter(downloadable=True).order_by('-started_at')
for col in img_collections:
l.append(mk_download_title(col))
if col.nb_images > 0:
l.append(mk_download_title(col))
context = {"state_list": l}
return render(request, 'download.html', context)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment