diff --git a/lib/templates/components/content/elements/CeUploads.vue b/lib/templates/components/content/elements/CeUploads.vue new file mode 100644 index 00000000..70a2c7c0 --- /dev/null +++ b/lib/templates/components/content/elements/CeUploads.vue @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + {{ file.properties.title || file.publicUrl }} + + + {{ file.properties.size }} + + + + {{ file.properties.description }} + + + + + + diff --git a/lib/templates/plugins/components.js b/lib/templates/plugins/components.js index 5abe800d..6eca4c6c 100644 --- a/lib/templates/plugins/components.js +++ b/lib/templates/plugins/components.js @@ -21,6 +21,7 @@ import CeMenu_sitemap from '~typo3/components/content/elements/CeMenu_sitemap.vu import CeMenu_pages from '~typo3/components/content/elements/CeMenu_pages.vue' import CeMenu_abstract from '~typo3/components/content/elements/CeMenu_abstract.vue' import CeMediaFile from '~typo3/components/content/elements/media/File.vue' +import CeUploads from '~typo3/components/content/elements/CeUploads' const components = { HtmlParser, @@ -50,7 +51,8 @@ const components = { CeMenu_section_pages: CeMenu_pages, CeMenu_categorized_pages: CeMenu_pages, CeMenu_abstract, - CeMediaFile + CeMediaFile, + CeUploads } export default ({ app }) => {
+ {{ file.properties.description }} +