From 95d27fdd8c95e6f2e26da823c202d761c2cb7998 Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Fri, 22 Jul 2022 14:25:14 +0200 Subject: [PATCH] add marc21 and lom to the searchbar copy pasted code from invenio_app_rdm/searchbar. it was necessary to do that to configure the shown list. --- .../invenio_theme_tugraz/navbar.html | 37 +++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html index e4247f1..8d46ced 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html @@ -1,18 +1,49 @@ {# - Copyright (C) 2020-2021 Graz University of Technology. + Copyright (C) 2020-2022 Graz University of Technology. invenio-theme-tugraz is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} +{% set options = [ + { + "key": "records", + "text": _("All") + " " + config.THEME_SITENAME, + "value": url_for("invenio_search_ui.search"), + },{ + "key": "marc21", + "text": _("search publications (thesis, books, papers, etc)"), + "value": url_for("invenio_records_marc21.search"), + },{ + "key": "lom", + "text": _("search open educational resources"), + "value": url_for("invenio_records_lom.search"), + } +] +%} + + +{% set community = true %} +