diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html index 1f4acd3..90522df 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html @@ -43,6 +43,12 @@

{{_('Recent uploads')}}

+ {% if not records %} +
+

There are no public records to show.

+
+ {% endif %} + {%- for r in records %} {%- set creation_date = r._created|from_isodatetime -%} {%- set record_url = url_for('invenio_app_rdm_records.record_detail', pid_value=r.id) %} @@ -116,9 +122,11 @@ --> {%- endfor %} + {% if records %}
{{_('More')}}
+ {%- endif %}