def build(): return { 'user': user_service.get_display_name(), 'projects': user_service.get_projects(), 'tools': tool_service.get_all_tools(), 'connections': connection_service.get_connections( user_service.get_current_username()), }
def project_home(project_url_name): project_name = urllib.parse.unquote_plus(project_url_name) return { 'user': user_service.get_current_user(), 'project_details': project_service.get_project_details(project_name), 'subprojects': project_service.get_subprojects(project_name), 'review_details': abu_service.get_abu_details( project_name, user_service.get_current_username(), ), 'tools': tool_service.get_all_tools(), 'annotation_summary': annotation_service.get_annotation_responses( project_name, user_service.get_current_username(), ) }
def index(): return { 'user': user_service.get_display_name(), 'projects': user_service.get_projects(), 'tools': tool_service.get_all_tools(), }