Added comments to tasks & shots. In serious need of styling.
This commit is contained in:
@@ -90,6 +90,7 @@
|
|||||||
|
|
||||||
#item-view-feed
|
#item-view-feed
|
||||||
#activities
|
#activities
|
||||||
|
#comments-container
|
||||||
|
|
||||||
| {% if config.DEBUG %}
|
| {% if config.DEBUG %}
|
||||||
.debug-info
|
.debug-info
|
||||||
@@ -110,5 +111,6 @@ script.
|
|||||||
|
|
||||||
var url = "{{ url_for('.activities', project_url=project.url, shot_id=shot['_id']) }}";
|
var url = "{{ url_for('.activities', project_url=project.url, shot_id=shot['_id']) }}";
|
||||||
load_activities(url); // from 10_tasks.js
|
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) }}");
|
$('.js-help').openModalUrl('Help', "{{ url_for('attract.help', project_url=project.url) }}");
|
||||||
|
@@ -120,6 +120,7 @@
|
|||||||
|
|
||||||
#item-view-feed
|
#item-view-feed
|
||||||
#activities
|
#activities
|
||||||
|
#comments-container
|
||||||
|
|
||||||
| {% if config.DEBUG %}
|
| {% if config.DEBUG %}
|
||||||
.debug-info
|
.debug-info
|
||||||
@@ -146,6 +147,7 @@ script.
|
|||||||
|
|
||||||
var url = "{{ url_for('.activities', project_url=project.url, task_id=task['_id']) }}";
|
var url = "{{ url_for('.activities', project_url=project.url, task_id=task['_id']) }}";
|
||||||
load_activities(url); // from 10_tasks.js
|
load_activities(url); // from 10_tasks.js
|
||||||
|
loadComments("{{ url_for('nodes.comments_for_node', node_id=task['_id']) }}");
|
||||||
|
|
||||||
{% if 'PUT' in task.allowed_methods %}
|
{% if 'PUT' in task.allowed_methods %}
|
||||||
/* Resize textarea */
|
/* Resize textarea */
|
||||||
|
Reference in New Issue
Block a user