Fix for showing 'View in Shot Context' only on tasks

This commit is contained in:
2016-11-10 00:58:24 +01:00
parent d186e9927d
commit 4e3416c653

View File

@@ -31,7 +31,7 @@
i.pi-clipboard-copy i.pi-clipboard-copy
| Copy Shortcode for SVN Commits to Clipboard | Copy Shortcode for SVN Commits to Clipboard
| {% endif %} | {% endif %}
| {% if (attract_context != 'shot' or attract_context != 'asset') and task.parent %} | {% if attract_context == 'task' and task.parent %}
li li
a(href="{{ url_for('attract.shots.perproject.with_task', project_url=project['url'], task_id=task['_id']) }}") a(href="{{ url_for('attract.shots.perproject.with_task', project_url=project['url'], task_id=task['_id']) }}")
i.pi-film-thick i.pi-film-thick