def format_user_and_project_subscriptions(user):
 return [{'node': {'id': user._id, 'title': 'Default Notification Settings', 'help': (('These are default settings for new projects you create ' + 'or are added to. Modifying these settings will not ') + 'modify settings on existing projects.')}, 'kind': 'heading', 'children': format_user_subscriptions(user)}, {'node': {'id': '', 'title': 'Project Notifications', 'help': ('These are settings for each of your projects. Modifying ' + 'these settings will only modify the settings for the selected project.')}, 'kind': 'heading', 'children': format_data(user, get_configured_projects(user))}]

def format_user_and_project_subscriptions ( user ) : return [ { 'node' : { 'id' : user . _id , 'title' : 'Default Notification Settings' , 'help' : ( ( 'These are default settings for new projects you create ' + 'or are added to. Modifying these settings will not ' ) + 'modify settings on existing projects.' ) } , 'kind' : 'heading' , 'children' : format_user_subscriptions ( user ) } , { 'node' : { 'id' : '' , 'title' : 'Project Notifications' , 'help' : ( 'These are settings for each of your projects. Modifying ' + 'these settings will only modify the settings for the selected project.' ) } , 'kind' : 'heading' , 'children' : format_data ( user , get_configured_projects ( user ) ) } ]
format subscriptions data for user settings page .