scout/server/blueprints/cases/views.py
def index():
    """Display a list of all user institutes."""
    institute_objs = user_institutes(store, current_user)
    institutes_count = ((institute_obj, store.cases(collaborator=institute_obj['_id']).count())
                        for institute_obj in institute_objs if institute_obj)
    return dict(institutes=institutes_count)
def index():
    """Display a list of all user institutes."""
    institute_objs = user_institutes(store, current_user)
    institutes_count = ((institute_obj, store.cases(collaborator=institute_obj['_id']).count())
                        for institute_obj in institute_objs if institute_obj)
    return dict(institutes=institutes_count)
def index ( ) : institute_objs = user_institutes ( store , current_user ) institutes_count = ( ( institute_obj , store . cases ( collaborator = institute_obj [ '_id' ] ) . count ( ) ) for institute_obj in institute_objs if institute_obj ) return dict ( institutes = institutes_count )
Display a list of all user institutes.
Display a list of all user institutes .