hide some things
This commit is contained in:
parent
c745b00704
commit
d0a54e563b
|
@ -399,7 +399,7 @@ def category_json(request):
|
||||||
if request.GET:
|
if request.GET:
|
||||||
catid = request.GET['id']
|
catid = request.GET['id']
|
||||||
typ = request.GET.get('type', 'image')
|
typ = request.GET.get('type', 'image')
|
||||||
resources = File.objects.filter(categories__id=catid, type=typ)
|
resources = File.objects.filter(categories__id=catid, type=typ).exclude(private=True)
|
||||||
rList = []
|
rList = []
|
||||||
for r in resources:
|
for r in resources:
|
||||||
# these should not be here
|
# these should not be here
|
||||||
|
|
|
@ -247,8 +247,10 @@
|
||||||
<select id="typeSelect" class="binSelect" name="typeSelect">
|
<select id="typeSelect" class="binSelect" name="typeSelect">
|
||||||
<option value="0">Type</option>
|
<option value="0">Type</option>
|
||||||
<option value="image">Images</option>
|
<option value="image">Images</option>
|
||||||
|
<!--
|
||||||
<option value="audio">Audio</option>
|
<option value="audio">Audio</option>
|
||||||
<option value="video">Video</option>
|
<option value="video">Video</option>
|
||||||
|
-->
|
||||||
<option value="text">Text</option>
|
<option value="text">Text</option>
|
||||||
</select>
|
</select>
|
||||||
<div style="clear:both;"></div>
|
<div style="clear:both;"></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user