Remove empty items from project_setup and project_tools list of objects
This commit is contained in:
@@ -15,5 +15,8 @@ def tools_list(request):
|
||||
'title': _(u'tools'),
|
||||
}
|
||||
|
||||
# Remove unresolved links form list
|
||||
context['object_list'] = [obj for obj in context['object_list'] if obj]
|
||||
|
||||
return render_to_response('generic_list_horizontal.html', context,
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
Reference in New Issue
Block a user