Compare commits

..

5 Commits

Author SHA1 Message Date
Christoph Ladurner
7314baccc9 release v4.12.3 2024-01-28 21:19:08 +01:00
Christoph Ladurner
66a694a321 wording: update text in benefits 2024-01-28 21:18:21 +01:00
Christoph Ladurner
529b22ad20 translation: fix research result typo 2024-01-28 21:18:21 +01:00
Christoph Ladurner
a5d23135eb ui: remove commented code
* the overriding is solved by overriding the translation strings
2024-01-28 21:18:21 +01:00
Christoph Ladurner
4c3ebcee23 ui: remove comingsoon rule
* there is a more general solution used now.
2024-01-28 21:18:21 +01:00
10 changed files with 107 additions and 148 deletions

View File

@@ -8,6 +8,14 @@
Changes
=======
Version v4.12.3 (release 2024-01-28)
- wording: update text in benefits
- translation: fix research result typo
- ui: remove commented code
- ui: remove comingsoon rule
Version v4.12.2 (release 2024-01-07)
- ui: use only first type

View File

@@ -10,6 +10,6 @@
from .ext import InvenioThemeTugraz
__version__ = "4.12.2"
__version__ = "4.12.3"
__all__ = ("__version__", "InvenioThemeTugraz")

View File

@@ -1,5 +1,5 @@
{#
Copyright (C) 2020-2023 Graz University of Technology.
Copyright (C) 2020-2024 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
@@ -7,11 +7,11 @@
#}
<ul>
<li><strong>{{_("Safe") }}</strong> &mdash; {{_("your research is stored safely for the future in TU Graz library for as long as TU Graz library exists.") }}</li>
<li><strong>{{_("Trusted") }}</strong> &mdash; {{_("built and operated by CERN and OpenAIRE to ensure that everyone can join in Open Science.") }}</li>
<li><strong>{{_("Citeable") }}</strong> &mdash; {{_("every upload is assigned a Digital Object Identifier (DOI), to make them citable and trackable.") }}</li>
<li><strong>{{_("No waiting time") }}</strong> &mdash; {{_("Uploads are made available online as soon as you hit publish, and your DOI is registered within seconds.") }}</li>
<li><strong>{{_("Open or closed") }}</strong> &mdash; {{_("Share e.g. anonymized clinical trial data with only medical professionals via our restricted access mode.") }}</li>
<li><strong>{{_("Versioning") }}</strong> &mdash; {{_("Easily update your dataset with our versioning feature.") }}</li>
<li><strong>{{_("Usage statisics") }}</strong> &mdash; {{ _("All uploads display standards compliant usage statistics") }}</li>
<li><strong>{{_("Safe") }}</strong> &mdash; {{_("Your research is stored safely for the future in TU Graz library.") }}</li>
<li><strong>{{_("Trusted") }}</strong> &mdash; {{_("Built by CERN and TU Graz. Operated by TU Graz.") }}</li>
<li><strong>{{_("Citeable") }}</strong> &mdash; {{_("Every upload is assigned a Digital Object Identifier (DOI).") }}</li>
<li><strong>{{_("No waiting time") }}</strong> &mdash; {{_("Uploads are made available online as soon as you hit publish. Your DOI is registered within seconds.") }}</li>
<li><strong>{{_("Open or closed") }}</strong> &mdash; {{_("Share private or anonymized data via the restricted access mode.") }}</li>
<li><strong>{{_("Versioning") }}</strong> &mdash; {{_("Easily update your dataset with the versioning feature.") }}</li>
<li><strong>{{_("Usage statisics") }}</strong> &mdash; {{ _("All uploads display standards compliant usage statistics.") }}</li>
</ul>

View File

@@ -1,15 +0,0 @@
{#
Copyright (C) 2020-2023 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.
#}
{%- extends config.INVENIO_THEME_TUGRAZ_BASE_TEMPLATE %}
{%- block page_body %}
<div class="ui container">
<h1 style="text-align: center;">comingsoon</h1>
</div>
{%- endblock %}

View File

@@ -10,10 +10,10 @@
<div class="center aligned ui equal height grid">
<div class="left aligned column">
<div class="ui segment image">
<h2>{{ _("Research Result") }}</h2>
<h2>{{ _("Research Results") }}</h2>
<div>
{{ _("Frontpage: Description for research result") }}
{{ _("Frontpage: Description for research results") }}
</div>
<ul>

View File

@@ -23,12 +23,12 @@
<div class="ui five column stackable grid overview">
<div class="column">
<div class="ui segment" style="height: 480px">
<h2>{{ _("Research Result") }}</h2>
<h2>{{ _("Research Results") }}</h2>
<a class="ui left floated image" href="/me/uploads">
<img width="400px" alt="Research Result" src="{{ url_for("static", filename="images/diamond.svg") }}">
<img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}">
</a>
<div class="ui right floated text">
{{ _("Overview: Description for research result") }}
{{ _("Overview: Description for research results") }}
</div>
</div>
</div>

View File

@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-tugraz 1.0.4\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2023-12-06 23:09+0100\n"
"PO-Revision-Date: 2023-12-06 23:24+0100\n"
"POT-Creation-Date: 2024-01-25 22:36+0100\n"
"PO-Revision-Date: 2024-01-25 22:47+0100\n"
"Last-Translator: \n"
"Language-Team: de <LL@li.org>\n"
"Language: de\n"
@@ -30,11 +30,11 @@ msgid "Repository"
msgstr "Repository"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:12
#: invenio_theme_tugraz/views.py:80
#: invenio_theme_tugraz/views.py:70
msgid "Overview"
msgstr "Übersicht"
#: invenio_theme_tugraz/views.py:86
#: invenio_theme_tugraz/views.py:76
msgid "My dashboard"
msgstr "Meine Übersicht"
@@ -48,36 +48,25 @@ msgid "Safe"
msgstr "Sicher"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
msgid ""
"your research is stored safely for the future in TU Graz library for as long "
"as TU Graz library exists."
msgid "Your research is stored safely for the future in TU Graz library."
msgstr ""
"Ihre Forschung ist in der Bibliothek der TU Graz für die Zukunft "
"gespeichert, solange die Bibliothek der TU Graz existiert."
"Ihre Forschung ist in der Bibliothek der TU Graz für die Zukunft gespeichert."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
msgid "Trusted"
msgstr "Vertrauenswürdig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
msgid ""
"built and operated by CERN and OpenAIRE to ensure that everyone can join in "
"Open Science."
msgstr ""
"Aufgebaut und betrieben von CERN und OpenAIRE, um sicherzustellen, dass "
"jeder an Open Science teilnehmen kann."
msgid "Built by CERN and TU Graz. Operated by TU Graz."
msgstr "Gebaut von CERN und TU Graz. Betrieben von der TU Graz."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
msgid "Citeable"
msgstr "Zitierfähig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
msgid ""
"every upload is assigned a Digital Object Identifier (DOI), to make them "
"citable and trackable."
msgstr ""
"Jeder Upload wird mit einem Digital Object Identifier (DOI) versehen,um ihn "
"zitierfähig und nachverfolgbar zu machen."
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr "Jedem Upload wird ein Digital Object Identifier (DOI) zugewiesen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid "No waiting time"
@@ -85,39 +74,39 @@ msgstr "Keine Wartezeit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid ""
"Uploads are made available online as soon as you hit publish, and your DOI "
"is registered within seconds."
"Uploads are made available online as soon as you hit publish. Your DOI is "
"registered within seconds."
msgstr ""
"Uploads stehen sofort nach drücken auf Veröffentlichen” zur Verfügung. Ihre "
"DOI wird innerhalb von Sekunden registriert."
"Uploads sind online verfügbar, sobald Sie auf \"Veröffentlichen\" klicken. "
"Ihre DOI wird innerhalb von Sekunden registriert."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Open or closed"
msgstr "Offen oder geschlossen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid ""
"Share e.g. anonymized clinical trial data with only medical professionals "
"via our restricted access mode."
msgid "Share private or anonymized data via the restricted access mode."
msgstr ""
"Teilen Sie z.B. anonymisierte klinische Studiendaten nur mit medizinischem "
"Fachpersonal über unseren eingeschränkten Zugriffsmodus."
"Teilen Sie private oder anonymisierte Daten über den eingeschränkten "
"Zugriffsmodus."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Versioning"
msgstr "Versionierung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Easily update your dataset with our versioning feature."
msgstr "Einfaches Updaten ihrer Datensätze mit unserer Versionierung."
msgid "Easily update your dataset with the versioning feature."
msgstr ""
"Aktualisieren Sie Ihren Datensatz ganz einfach mit der "
"Versionierungsfunktion."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "Usage statisics"
msgstr "Nutzungsstatistiken"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "All uploads display standards compliant usage statistics"
msgstr "Alle Uploads entsprechen den Standards der Nutzungsstatistiken."
msgid "All uploads display standards compliant usage statistics."
msgstr "Alle Uploads zeigen standardkonforme Nutzungsstatistiken an."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
msgid "Documentation"
@@ -196,12 +185,15 @@ msgid "to change the font size."
msgstr "Um die Schriftgröße zu ändern."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:26
msgid "Research Result"
msgstr "Forschungsergebnisse"
msgid "Research Results"
msgstr "Forschungsergebenisse"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:16
msgid "Frontpage: Description for research result"
#, fuzzy
#| msgid "Frontpage: Description for research result"
msgid "Frontpage: Description for research results"
msgstr ""
"Forschungsergebnisse ist der Sammelbegriff für alle Ergebnisse eines "
"Forschungsprojekts. Sie beschreiben die Daten, den Quellcode und alle "
@@ -213,7 +205,7 @@ msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:26
msgid "Search for research results"
msgstr "Suchen Sie nach Forschungsergebnisse"
msgstr "Suchen Sie nach Forschungsergebnissen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:29
msgid "Upload research results"
@@ -330,10 +322,6 @@ msgstr "Warum"
msgid "All"
msgstr "Alle"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
msgid "Research Results"
msgstr "Forschungsergebenisse"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:78
msgid "TU GRAZ"
msgstr ""
@@ -359,7 +347,9 @@ msgid "TECHNOLOGY"
msgstr "LEIDENSCHAFT"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:31
msgid "Overview: Description for research result"
#, fuzzy
#| msgid "Overview: Description for research result"
msgid "Overview: Description for research results"
msgstr "Die Forschungsergebnisse bilden die Grundlage für Veröffentlichungen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:42
@@ -407,7 +397,7 @@ msgstr "Datum der Veröffentlichung"
msgid "Resource type"
msgstr "Art der Veröffentlichung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:86
msgid "More"
msgstr "Mehr"
@@ -501,6 +491,16 @@ msgstr "Mit Ihrem TUGonline-Account registrieren"
msgid "Sign up with repository credentials"
msgstr "Mit Ihren Repository Daten registrieren"
#~ msgid ""
#~ "built and operated by CERN and OpenAIRE to ensure that everyone can join "
#~ "in Open Science."
#~ msgstr ""
#~ "Aufgebaut und betrieben von CERN und OpenAIRE, um sicherzustellen, dass "
#~ "jeder an Open Science teilnehmen kann."
#~ msgid "Research Result"
#~ msgstr "Forschungsergebnisse"
#~ msgid "Open Educational Resources"
#~ msgstr "Open Educational Resources"

View File

@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-tugraz 4.12.0\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2023-12-06 23:09+0100\n"
"PO-Revision-Date: 2023-12-06 23:25+0100\n"
"POT-Creation-Date: 2024-01-25 22:36+0100\n"
"PO-Revision-Date: 2024-01-25 22:44+0100\n"
"Last-Translator: \n"
"Language-Team: en <LL@li.org>\n"
"Language: en\n"
@@ -30,11 +30,11 @@ msgid "Repository"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:12
#: invenio_theme_tugraz/views.py:80
#: invenio_theme_tugraz/views.py:70
msgid "Overview"
msgstr ""
#: invenio_theme_tugraz/views.py:86
#: invenio_theme_tugraz/views.py:76
msgid "My dashboard"
msgstr ""
@@ -48,9 +48,7 @@ msgid "Safe"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
msgid ""
"your research is stored safely for the future in TU Graz library for as long "
"as TU Graz library exists."
msgid "Your research is stored safely for the future in TU Graz library."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
@@ -58,9 +56,7 @@ msgid "Trusted"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
msgid ""
"built and operated by CERN and OpenAIRE to ensure that everyone can join in "
"Open Science."
msgid "Built by CERN and TU Graz. Operated by TU Graz."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
@@ -68,9 +64,7 @@ msgid "Citeable"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
msgid ""
"every upload is assigned a Digital Object Identifier (DOI), to make them "
"citable and trackable."
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
@@ -79,8 +73,8 @@ msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid ""
"Uploads are made available online as soon as you hit publish, and your DOI "
"is registered within seconds."
"Uploads are made available online as soon as you hit publish. Your DOI is "
"registered within seconds."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
@@ -88,9 +82,7 @@ msgid "Open or closed"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid ""
"Share e.g. anonymized clinical trial data with only medical professionals "
"via our restricted access mode."
msgid "Share private or anonymized data via the restricted access mode."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
@@ -98,7 +90,7 @@ msgid "Versioning"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Easily update your dataset with our versioning feature."
msgid "Easily update your dataset with the versioning feature."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
@@ -106,7 +98,7 @@ msgid "Usage statisics"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "All uploads display standards compliant usage statistics"
msgid "All uploads display standards compliant usage statistics."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
@@ -186,12 +178,15 @@ msgid "to change the font size."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:26
msgid "Research Result"
msgid "Research Results"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:16
msgid "Frontpage: Description for research result"
#, fuzzy
#| msgid "Frontpage: Description for research result"
msgid "Frontpage: Description for research results"
msgstr ""
"Research results is the collective term for all the results of a research "
"project. They describe the data, source code and all digital objects on "
@@ -318,10 +313,6 @@ msgstr ""
msgid "All"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
msgid "Research Results"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:78
msgid "TU GRAZ"
msgstr ""
@@ -347,7 +338,9 @@ msgid "TECHNOLOGY"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:31
msgid "Overview: Description for research result"
#, fuzzy
#| msgid "Overview: Description for research result"
msgid "Overview: Description for research results"
msgstr "Research results gives the base on which publications are built."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:42
@@ -392,7 +385,7 @@ msgstr ""
msgid "Resource type"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:86
msgid "More"
msgstr ""

View File

@@ -1,15 +1,15 @@
# Translations template for invenio-theme-tugraz.
# Copyright (C) 2023 Graz University of Technology
# Copyright (C) 2024 Graz University of Technology
# This file is distributed under the same license as the
# invenio-theme-tugraz project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-tugraz 4.12.1\n"
"Project-Id-Version: invenio-theme-tugraz 4.12.2\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2023-12-06 23:09+0100\n"
"POT-Creation-Date: 2024-01-25 22:36+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -28,11 +28,11 @@ msgid "Repository"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:12
#: invenio_theme_tugraz/views.py:80
#: invenio_theme_tugraz/views.py:70
msgid "Overview"
msgstr ""
#: invenio_theme_tugraz/views.py:86
#: invenio_theme_tugraz/views.py:76
msgid "My dashboard"
msgstr ""
@@ -46,9 +46,7 @@ msgid "Safe"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
msgid ""
"your research is stored safely for the future in TU Graz library for as "
"long as TU Graz library exists."
msgid "Your research is stored safely for the future in TU Graz library."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
@@ -56,9 +54,7 @@ msgid "Trusted"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
msgid ""
"built and operated by CERN and OpenAIRE to ensure that everyone can join "
"in Open Science."
msgid "Built by CERN and TU Graz. Operated by TU Graz."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
@@ -66,9 +62,7 @@ msgid "Citeable"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
msgid ""
"every upload is assigned a Digital Object Identifier (DOI), to make them "
"citable and trackable."
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
@@ -77,8 +71,8 @@ msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid ""
"Uploads are made available online as soon as you hit publish, and your "
"DOI is registered within seconds."
"Uploads are made available online as soon as you hit publish. Your DOI is"
" registered within seconds."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
@@ -86,9 +80,7 @@ msgid "Open or closed"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid ""
"Share e.g. anonymized clinical trial data with only medical professionals"
" via our restricted access mode."
msgid "Share private or anonymized data via the restricted access mode."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
@@ -96,7 +88,7 @@ msgid "Versioning"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Easily update your dataset with our versioning feature."
msgid "Easily update your dataset with the versioning feature."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
@@ -104,7 +96,7 @@ msgid "Usage statisics"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "All uploads display standards compliant usage statistics"
msgid "All uploads display standards compliant usage statistics."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
@@ -184,12 +176,13 @@ msgid "to change the font size."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:26
msgid "Research Result"
msgid "Research Results"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:16
msgid "Frontpage: Description for research result"
msgid "Frontpage: Description for research results"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:26
@@ -299,10 +292,6 @@ msgstr ""
msgid "All"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
msgid "Research Results"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:78
msgid "TU GRAZ"
msgstr ""
@@ -328,7 +317,7 @@ msgid "TECHNOLOGY"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:31
msgid "Overview: Description for research result"
msgid "Overview: Description for research results"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:42
@@ -367,7 +356,7 @@ msgstr ""
msgid "Resource type"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:86
msgid "More"
msgstr ""

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020-2021 Graz University of Technology.
# Copyright (C) 2020-2024 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
@@ -65,16 +65,6 @@ def modify_user_dashboard():
"""Modify user dashboard."""
user_dashboard_menu = current_menu.submenu("dashboard")
# order matters, this has to be here, otherwise it want override the orginal
# entry
# this is to buggy, it depends on the load order of the packages which is indeterminate
# user_dashboard_menu.submenu("uploads").register(
# "invenio_app_rdm_users.uploads",
# text=_("Research Results"),
# order=1,
# )
user_dashboard_menu.submenu("overview").register(
"invenio_theme_tugraz.overview",
text=_("Overview"),
@@ -93,7 +83,6 @@ def ui_blueprint(app):
routes = app.config.get("TUG_ROUTES")
blueprint.add_url_rule(routes["index"], view_func=index)
blueprint.add_url_rule(routes["comingsoon"], view_func=comingsoon)
return blueprint
@@ -111,8 +100,3 @@ def index():
return render_template(
"invenio_theme_tugraz/index.html", records=records_serializer(records)
)
def comingsoon():
"""Comingsoon."""
return render_template("invenio_theme_tugraz/comingsoon.html")