Added "View in shot context" to task detail when viewed in task context.

This commit is contained in:
2016-10-11 15:53:19 +02:00
parent b7c6402453
commit 3c2a00b086
3 changed files with 9 additions and 1 deletions

View File

@@ -100,7 +100,8 @@ def view_task(project, attract_props, task_id):
task=task,
project=project,
task_node_type=node_type,
attract_props=attract_props.to_dict())
attract_props=attract_props.to_dict(),
attract_context=request.args.get('context'))
@perproject_blueprint.route('/<task_id>', methods=['POST'])