Views
hypha.apply.todo.views
¶
TaskRemovalView
¶
Bases: View
dispatch
¶
Source code in hypha/apply/todo/views.py
delete
¶
Source code in hypha/apply/todo/views.py
add_task_to_user
¶
Add task for a user input: code: TASKS_CODE_CHOICES.keys() user: User object related_obj: Object - Submission, Project, Invoice, Report output: task - Task object / None in case of no creation
Source code in hypha/apply/todo/views.py
add_task_to_user_group
¶
Add task for user_groups input: code: TASKS_CODE_CHOICES.keys() user_group: Queryset - Group objects related_obj: Object - Submission, Project, Invoice, Report output: task - Task object / None in case of no creation
Source code in hypha/apply/todo/views.py
remove_tasks_for_user
¶
Remove task for a user input: code: TASKS_CODE_CHOICES.keys() user: User object related_obj: Object - Submission, Project, Invoice, Report output: None
Source code in hypha/apply/todo/views.py
remove_tasks_for_user_group
¶
Remove task for user_groups input: code: TASKS_CODE_CHOICES.keys() user_group: Queryset - Group objects related_obj: Object - Submission, Project, Invoice, Report output: None
Source code in hypha/apply/todo/views.py
remove_tasks_of_related_obj_for_specific_code
¶
Remove all tasks of a related object with the provide code irrespective to their users input: code: TASKS_CODE_CHOICES.keys() related_obj: Object - Submission, Project, Invoice, Report
Source code in hypha/apply/todo/views.py
remove_tasks_of_related_obj
¶
Remove all tasks of a related object irrespective of their code and users input: related_obj: Object - Submission, Project, Invoice, Report
Source code in hypha/apply/todo/views.py
get_tasks_for_user
¶
Source code in hypha/apply/todo/views.py
render_task_templates_for_user
¶
[{
"text":"", "icon":"", "url":"", "type":"",
},
]