Hide "View in shot context" when in assets list

This commit is contained in:
2016-11-09 23:59:29 +01:00
parent 328baa0917
commit 7d3a4cc630

View File

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