Vue Comments: Comments ported to Vue + DnD fileupload
* Drag and drop files to comment editor to add a file attachment * Using Vue to render comments Since comments now has attachments we need to update the schemas ./manage.py maintenance replace_pillar_node_type_schemas
This commit is contained in:
@@ -32,6 +32,8 @@ html(lang="en")
|
||||
| {% endblock og %}
|
||||
|
||||
script(src="{{ url_for('static_pillar', filename='assets/js/tutti.min.js') }}")
|
||||
script.
|
||||
pillar.utils.initCurrentUser({{ current_user | json | safe }});
|
||||
script(src="{{ url_for('static_pillar', filename='assets/js/timeline.min.js') }}")
|
||||
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.typeahead-0.11.1.min.js')}}")
|
||||
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/js.cookie-2.0.3.min.js')}}")
|
||||
@@ -133,7 +135,6 @@ html(lang="en")
|
||||
.nc-text
|
||||
span.nc-date
|
||||
a(href="")
|
||||
|
||||
| {% if current_user.is_authenticated %}
|
||||
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.typewatch-3.0.0.min.js') }}")
|
||||
script.
|
||||
|
@@ -41,7 +41,10 @@ include ../../../../../../pillar/src/templates/mixins/components
|
||||
|
||||
hr.my-4
|
||||
|
||||
#comments-embed.d-flex.justify-content-center.mx-auto
|
||||
comments-tree#comments-embed.justify-content-center.mx-auto(
|
||||
parent-id="{{ node._id }}"
|
||||
read-only=false
|
||||
)
|
||||
| {% endmacro %}
|
||||
|
||||
//- ******************************************************* -//
|
||||
|
Reference in New Issue
Block a user