diff --git a/oarepo_ui/templates/components/datafields/files/FilesViewer.jinja b/oarepo_ui/templates/components/datafields/files/FilesViewer.jinja index 8cf3954c..d3e11fbf 100644 --- a/oarepo_ui/templates/components/datafields/files/FilesViewer.jinja +++ b/oarepo_ui/templates/components/datafields/files/FilesViewer.jinja @@ -16,8 +16,11 @@ {% for file in array(files.entries) %} - - {{ file.key }} + +

{{ file.key }}

+ {%- if file.metadata.fileNote -%} + {{ file.metadata.fileNote }} + {%- endif -%} {{ (file.size or 0) | filesizeformat }} diff --git a/oarepo_ui/theme/assets/semantic-ui/less/oarepo_ui/themes/default/globals/site.overrides b/oarepo_ui/theme/assets/semantic-ui/less/oarepo_ui/themes/default/globals/site.overrides index d2dbf6ca..6f06ebbf 100644 --- a/oarepo_ui/theme/assets/semantic-ui/less/oarepo_ui/themes/default/globals/site.overrides +++ b/oarepo_ui/theme/assets/semantic-ui/less/oarepo_ui/themes/default/globals/site.overrides @@ -40,3 +40,9 @@ .invenio-page-body { padding-bottom: @defaultPadding; } + +.file-info { + small { + color: rgba(0, 0, 0, 0.4); + } +} \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 7f18e1b9..144b7687 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = oarepo-ui -version = 5.2.31 +version = 5.2.32 description = UI module for invenio 3.5+ long_description = file: README.md long_description_content_type = text/markdown