def resources()

in airavata_mft/apps/workspace/views.py [0:0]


def resources(request, storage_id):
    resource_json = [{"resourceId": "Spring project", "name": "Spring project", "size": "11 GB", "lastModified": "01/15/2020"},
                     {"resourceId": "Trial", "name": "Trial", "size": "12 GB", "lastModified": "02/15/2020"},
                     {"resourceId": "New", "name": "New", "size": "13 GB", "lastModified": "03/15/2020"},
                     {"resourceId": "Random testing", "name": "Random testing", "size": "14 GB", "lastModified": "01/16/2020"}]
    return render(request, 'resources.html', {'bundle_name': 'resources',
                                              'data': json.dumps(resource_json),
                                              'title':  storage_id})