From bb80cf11add0ed19537a8f84aae73f8826656816 Mon Sep 17 00:00:00 2001 From: Fatimah Date: Tue, 13 Feb 2024 21:07:27 +0100 Subject: [PATCH 1/2] recent uploads: updated label colors and styling --- .../zenodo_rdm/macros/record_item.html | 6 ++--- .../details/home/index.html | 22 +++++++++++-------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/templates/semantic-ui/zenodo_rdm/macros/record_item.html b/templates/semantic-ui/zenodo_rdm/macros/record_item.html index 5ee2577d..1136f81a 100644 --- a/templates/semantic-ui/zenodo_rdm/macros/record_item.html +++ b/templates/semantic-ui/zenodo_rdm/macros/record_item.html @@ -31,8 +31,8 @@ {# Top labels #}
-
- {{ record.ui.publication_date_l10n_long }} ({{ record.ui.version }}) +
+

{{ record.ui.publication_date_l10n_long }} ({{ record.ui.version }})

{{ record.ui.resource_type.title_l10n }} @@ -49,7 +49,7 @@
{# Title #} -
+ diff --git a/templates/themes/horizon/invenio_communities/details/home/index.html b/templates/themes/horizon/invenio_communities/details/home/index.html index 6a66931e..a3aad6df 100644 --- a/templates/themes/horizon/invenio_communities/details/home/index.html +++ b/templates/themes/horizon/invenio_communities/details/home/index.html @@ -49,16 +49,20 @@

Builtin compliance with EU open science

{% if records %} -
-

{{ _("Recent uploads") }}

-
+
+
+
+

{{ title }}

+
+
-
- {% for record in records %} -
    - {{ record_item(record=record) }} -
- {% endfor %} +
+ {% for record in records %} +
    + {{ record_item(record=record) }} +
+ {% endfor %} +
{% endif %} From 20f598e0bc527dec1043898cdd3ebad5c3347ec3 Mon Sep 17 00:00:00 2001 From: Fatimah Date: Wed, 14 Feb 2024 11:45:09 +0100 Subject: [PATCH 2/2] css: added missing class --- templates/semantic-ui/zenodo_rdm/macros/record_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/semantic-ui/zenodo_rdm/macros/record_item.html b/templates/semantic-ui/zenodo_rdm/macros/record_item.html index 1136f81a..66b85da6 100644 --- a/templates/semantic-ui/zenodo_rdm/macros/record_item.html +++ b/templates/semantic-ui/zenodo_rdm/macros/record_item.html @@ -31,7 +31,7 @@ {# Top labels #}
-
+

{{ record.ui.publication_date_l10n_long }} ({{ record.ui.version }})