Show 'Copy Shortcode' menu item for tasks
This commit is contained in:
@@ -25,6 +25,12 @@
|
||||
a(href="javascript:void(0)")
|
||||
i.pi-clipboard-copy
|
||||
| Copy ID to Clipboard
|
||||
| {% if task.properties.shortcode %}
|
||||
li.copy-to-clipboard(data-clipboard-text="[T{{ task.properties.shortcode }}]")
|
||||
a(href="javascript:void(0)")
|
||||
i.pi-clipboard-copy
|
||||
| Copy Shortcode for SVN Commits to Clipboard
|
||||
| {% endif %}
|
||||
| {% if attract_context != 'shot' and task.parent %}
|
||||
li
|
||||
a(href="{{ url_for('attract.shots.perproject.with_task', project_url=project['url'], task_id=task['_id']) }}")
|
||||
|
Reference in New Issue
Block a user