* 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
13 lines
233 B
JavaScript
13 lines
233 B
JavaScript
const TEMPLATE =
|
|
`<div class="generic-placeholder" :title="label">
|
|
<i class="pi-spin spin"/>
|
|
{{ label }}
|
|
</div>
|
|
`;
|
|
|
|
Vue.component('generic-placeholder', {
|
|
template: TEMPLATE,
|
|
props: {
|
|
label: String,
|
|
},
|
|
}); |