Added comments to tasks & shots. In serious need of styling.

This commit is contained in:
2016-10-21 17:12:37 +02:00
parent 9a921659de
commit 4d54f8da30
2 changed files with 4 additions and 0 deletions

View File

@@ -90,6 +90,7 @@
#item-view-feed
#activities
#comments-container
| {% if config.DEBUG %}
.debug-info
@@ -110,5 +111,6 @@ script.
var url = "{{ url_for('.activities', project_url=project.url, shot_id=shot['_id']) }}";
load_activities(url); // from 10_tasks.js
loadComments("{{ url_for('nodes.comments_for_node', node_id=shot['_id']) }}");
$('.js-help').openModalUrl('Help', "{{ url_for('attract.help', project_url=project.url) }}");

View File

@@ -120,6 +120,7 @@
#item-view-feed
#activities
#comments-container
| {% if config.DEBUG %}
.debug-info
@@ -146,6 +147,7 @@ script.
var url = "{{ url_for('.activities', project_url=project.url, task_id=task['_id']) }}";
load_activities(url); // from 10_tasks.js
loadComments("{{ url_for('nodes.comments_for_node', node_id=task['_id']) }}");
{% if 'PUT' in task.allowed_methods %}
/* Resize textarea */