Compare commits

..

14 Commits

Author SHA1 Message Date
Christoph Ladurner
dac35b2e0e release v4.12.8 2024-03-11 20:20:52 +01:00
Christoph Ladurner
cf5ecfd2f6 ui: add banner to header 2024-03-11 20:20:16 +01:00
Christoph Ladurner
0919760cfd release v4.12.7 2024-02-12 13:34:50 +01:00
Christoph Ladurner
40be6ff4b4 translation: fix typo 2024-02-12 13:34:18 +01:00
Christoph Ladurner
602c4b6523 release v4.12.6 2024-02-02 12:43:31 +01:00
Christoph Ladurner
4a581d6703 fix: error_handler gets 1 parameter 2024-02-02 12:43:11 +01:00
Christoph Ladurner
b426e0cc39 release v4.12.5 2024-02-02 11:21:42 +01:00
Christoph Ladurner
b975800532 release v4.12.4 2024-02-02 10:39:20 +01:00
Christoph Ladurner
19143a7860 ui: add 423 error page 2024-02-02 10:38:57 +01:00
Christoph Ladurner
2d47e30416 fix: types could be empty list
* it is true that types will always exists, but it could be an empty
2024-02-02 09:51:18 +01:00
Christoph Ladurner
87bead9b7e setup: sort tests imports
* remove unnecessary special opensearch2. moved to tests.
2024-01-31 10:33:13 +01:00
Christoph Ladurner
11bce0a1ce workflows: change to reusable workflows 2024-01-31 10:33:13 +01:00
Christoph Ladurner
ebcd040be0 wording: update one string frontpage 2024-01-31 10:12:09 +01:00
Christoph Ladurner
515a02aed5 wording: update frontpage 2024-01-31 10:12:09 +01:00
17 changed files with 367 additions and 317 deletions

View File

@@ -5,22 +5,5 @@ on:
jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel babel
- name: Build package
run: |
python setup.py compile_catalog sdist bdist_wheel
- name: pypi-publish
uses: pypa/gh-action-pypi-publish@v1.3.1
with:
user: __token__
password: ${{ secrets.pypi_password }}
uses: tu-graz-library/.github/.github/workflows/pypi-publish.yml@main
secrets: inherit

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020-2022 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
@@ -24,48 +24,5 @@ on:
default: 'Manual trigger'
jobs:
Tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.9, "3.10"]
requirements-level: [pypi]
db-service: [postgresql13]
search-service: [opensearch2]
include:
- search-service: opensearch2
SEARCH_EXTRAS: "opensearch2"
env:
DB: ${{ matrix.db-service }}
SEARCH: ${{ matrix.search-service }}
EXTRAS: tests,${{ matrix.SEARCH_EXTRAS }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Generate dependencies
run: |
pip install wheel requirements-builder
requirements-builder -e "$EXTRAS" --level=${{ matrix.requirements-level }} setup.py > .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt') }}
- name: Install dependencies
run: |
pip install -r .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt
pip install ".[$EXTRAS]"
pip freeze
docker --version
docker-compose --version
- name: Run tests
run: |
./run-tests.sh
tests:
uses: tu-graz-library/.github/.github/workflows/tests.yml@main

View File

@@ -8,6 +8,36 @@
Changes
=======
Version v4.12.8 (release 2024-03-11)
- ui: add banner to header
Version v4.12.7 (release 2024-02-12)
- translation: fix typo
Version v4.12.6 (release 2024-02-02)
- fix: error_handler gets 1 parameter
Version v4.12.5 (release 2024-02-02)
Version v4.12.4 (release 2024-02-02)
- ui: add 423 error page
- fix: types could be empty list
- setup: sort tests imports
- workflows: change to reusable workflows
- wording: update one string frontpage
- wording: update frontpage
Version v4.12.3 (release 2024-01-28)
- wording: update text in benefits

View File

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

View File

@@ -177,3 +177,7 @@ pre {
.ui.equal.height .ui.segment {
height: 100%;
}
.ui.flashed.message.manage {
text-align: center;
}

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
@@ -9,7 +9,7 @@
"""invenio module for TUGRAZ theme."""
from . import config
from .views import index
from .views import index, locked
class InvenioThemeTugraz(object):
@@ -26,6 +26,9 @@ class InvenioThemeTugraz(object):
# https://flask.palletsprojects.com/en/1.1.x/api/#flask.Flask.add_url_rule
app.add_url_rule("/", "index", index)
self.init_config(app)
app.register_error_handler(423, locked)
app.extensions["invenio-theme-tugraz"] = self
def init_config(self, app):

View File

@@ -0,0 +1,14 @@
{#
Copyright (C) 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
details.
#}
{% extends config.THEME_ERROR_TEMPLATE %}
{% block message %}
<h1><i class="bolt icon"></i> {{_("Locked")}}</h1>
<p>{{_("The resource that is being accessed is locked.")}}</p>
{% endblock message %}

View File

@@ -6,12 +6,16 @@
details.
#}
<ul>
<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>
<div class="ui segment" style="padding-bottom: 10px;">
<h4>{{ _("Good reasons to use the Repository of the TU Graz") }}</h4>
<ul>
<li><strong>{{_("Safe") }}</strong> &mdash; {{_("Your research results are permanently available.") }}</li>
<li><strong>{{_("Trusted") }}</strong> &mdash; {{_("A service from TU Graz, developed in cooperation with CERN.") }}</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; {{_("You determine the visibility of your uploads. A restricted access mode is possible.") }}</li>
<li><strong>{{_("Versioning") }}</strong> &mdash; {{_("Easily update your dataset with the versioning feature.") }}</li>
<li><strong>{{_("Usage statistics") }}</strong> &mdash; {{ _("All uploads display standards compliant usage statistics. ") }} <a href="help/statistics">({{ _("More") }})</a></li>
</ul>
</div>

View File

@@ -0,0 +1,29 @@
{#
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
details.
#}
<div class="ui segment">
<h4>{{ _("Need help?") }}</h4>
{%- if config.THEME_TUGRAZ_CONTACT_FORM %}
<div style="padding-bottom: 10px;">
<a id="feedback-form" class="fluid ui button">
{{ _("Contact us") }}
</a>
</div>
{%- endif %}
<p>
{{ _("We can help with:") }}
</p>
<ul>
<li>{{ _("Upload your research results, software, preprints, etc.") }}</li>
<li>{{ _("Increase upload limit beyond our default policy of 10GB.") }}</li>
<li>{{ _("Establish contact with data stewards.") }}</li>
<li>{{ _("Find individual solutions.") }}</li>
</ul>
</div>

View File

@@ -15,6 +15,11 @@
<div>
<header>
{%- block site_banner %}
{% from 'invenio_banners/banner.html' import banner %}
{{ banner() }}
{%- endblock site_banner %}
{%- block navbar %}
<nav>
{%- block navbar_header %}

View File

@@ -25,36 +25,8 @@
<!---segments-->
<div class="six wide column">
<!--contact us-->
<div class="ui segment">
<h4>{{ _("Need help?") }}</h4>
{%- if config.THEME_TUGRAZ_CONTACT_FORM %}
<div style="padding-bottom: 10px;">
<a id="feedback-form" class="fluid ui button">
{{ _("Contact us") }}
</a>
</div>
{%- endif %}
<p>
{{ config.THEME_SITENAME }} {{ _("prioritizes all Recent uploads.") }}
</p>
<p>
{{ _("We can help with:") }}
</p>
<ul>
<li>{{ _("Uploading your research data, software, preprints, etc.") }}</li>
<li>{{ _("One-on-one with") }} {{ config.THEME_SITENAME }} {{ _("supporters.") }}</li>
<li>{{ _("Quota increases beyond our default policy.") }}</li>
<li>{{ _("Scripts for automated uploading of larger datasets.") }}</li>
</ul>
</div>
<div class="ui segment" style="padding-bottom: 10px;">
<h4>{{ _("Why use") }} {{ config.THEME_SITENAME }}</h4>
{% include "invenio_theme_tugraz/benefits.html" %}
</div>
{% include "invenio_theme_tugraz/contact_us.html" %}
{% include "invenio_theme_tugraz/benefits.html" %}
</div>
</div>
</div>

View File

@@ -30,9 +30,11 @@
</span>
{# Resource type badge #}
<span class="ui label grey" data-tooltip="{{ _("Resource type") }}" data-inverted="">
{{ r.metadata.types[0] }}
</span>
{% if r.metadata.types | length > 0%}
<span class="ui label grey" data-tooltip="{{ _("Resource type") }}" data-inverted="">
{{ r.metadata.types[0] }}
</span>
{% endif %}
<span class="ui label access-status {{ r.access_status.id }}"
data-tooltip="{{ r.access_status.description_l10n }}"

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: 2024-01-25 22:36+0100\n"
"PO-Revision-Date: 2024-01-25 22:47+0100\n"
"POT-Creation-Date: 2024-02-02 10:08+0100\n"
"PO-Revision-Date: 2024-02-09 22:25+0100\n"
"Last-Translator: \n"
"Language-Team: de <LL@li.org>\n"
"Language: de\n"
@@ -38,41 +38,52 @@ msgstr "Übersicht"
msgid "My dashboard"
msgstr "Meine Übersicht"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:12
msgid "Locked"
msgstr "Locked"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:13
msgid "The resource that is being accessed is locked."
msgstr "Die angeforderte Ressource ist zurzeit gesperrt."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html:26
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html:34
msgid "Invenio"
msgstr "Invenio"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
msgid "Good reasons to use the Repository of the TU Graz"
msgstr "Gute Gründe, das Repository der TU Graz zu nutzen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
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."
msgstr ""
"Ihre Forschung ist in der Bibliothek der TU Graz für die Zukunft gespeichert."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid "Your research results are permanently available."
msgstr "Ihre Forschungsergebnisse sind dauerhaft verfügbar."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Trusted"
msgstr "Vertrauenswürdig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
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:14
msgid "A service from TU Graz, developed in cooperation with CERN."
msgstr "Ein Service der TU Graz, entwickelt in Kooperation mit CERN."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Citeable"
msgstr "Zitierfähig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
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
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "No waiting time"
msgstr "Keine Wartezeit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid ""
"Uploads are made available online as soon as you hit publish. Your DOI is "
"registered within seconds."
@@ -80,34 +91,75 @@ msgstr ""
"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
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
msgid "Open or closed"
msgstr "Offen oder geschlossen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Share private or anonymized data via the restricted access mode."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
msgid ""
"You determine the visibility of your uploads. A restricted access mode is "
"possible."
msgstr ""
"Teilen Sie private oder anonymisierte Daten über den eingeschränkten "
"Zugriffsmodus."
"Sie bestimmen die Sichtbarkeit Ihrer Uploads. Ein eingeschränkter "
"Zugriffsmodus ist möglich."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
msgid "Versioning"
msgstr "Versionierung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
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"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#, fuzzy
#| msgid "Usage statisics"
msgid "Usage statistics"
msgstr "Nutzungsstatistiken"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "All uploads display standards compliant usage statistics."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#, fuzzy
#| msgid "All uploads display standards compliant usage statistics."
msgid "All uploads display standards compliant usage statistics. "
msgstr "Alle Uploads zeigen standardkonforme Nutzungsstatistiken an."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
msgid "More"
msgstr "Mehr"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:10
msgid "Need help?"
msgstr "Brauchen Sie Hilfe?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:15
msgid "Contact us"
msgstr "Kontaktieren Sie uns"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:20
msgid "We can help with:"
msgstr "Dabei können wir helfen:"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:24
msgid "Upload your research results, software, preprints, etc."
msgstr "Hochladen Ihrer Forschungsergebnisse, Software, Preprints usw."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:25
msgid "Increase upload limit beyond our default policy of 10GB."
msgstr "Upload-Limit Erhöhung über unsere Standardrichtlinie von 10 GB hinaus."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:26
#, fuzzy
#| msgid "Create contact with data stewards."
msgid "Establish contact with data stewards."
msgstr "Kontakt mit den Data Stewards herstellen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:27
msgid "Find individual solutions."
msgstr "Individuelle Lösungen finden."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
msgid "Documentation"
msgstr "Dokumentation"
@@ -188,7 +240,7 @@ msgstr "Um die Schriftgröße zu ändern."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:26
msgid "Research Results"
msgstr "Forschungsergebenisse"
msgstr "Forschungsergebnisse"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:16
#, fuzzy
@@ -278,46 +330,6 @@ msgstr "Communities"
msgid "Dashboard"
msgstr "Übersicht"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:30
msgid "Need help?"
msgstr "Brauchen Sie Hilfe?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:34
msgid "Contact us"
msgstr "Kontaktiere uns"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:39
msgid "prioritizes all Recent uploads."
msgstr "reiht die neuesten Uploads vor."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:42
msgid "We can help with:"
msgstr "Dabei können wir helfen:"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:46
msgid "Uploading your research data, software, preprints, etc."
msgstr "Hochladen Ihrer Forschungsdaten, Software, Preprints usw."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:47
msgid "One-on-one with"
msgstr "One-on-one mit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:47
msgid "supporters."
msgstr "UnterstützerInnen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:48
msgid "Quota increases beyond our default policy."
msgstr "Quota Erhöhungen über unsere Standard Policy hinaus."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:49
msgid "Scripts for automated uploading of larger datasets."
msgstr "Skripte zum automatisierten Hochladen größerer Datensätze."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:54
msgid "Why use"
msgstr "Warum"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:12
msgid "All"
msgstr "Alle"
@@ -393,14 +405,10 @@ msgstr "Es sind keine öffentlich zugänglichen Datensätze vorhanden."
msgid "Publication date"
msgstr "Datum der Veröffentlichung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:33
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:34
msgid "Resource type"
msgstr "Art der Veröffentlichung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:86
msgid "More"
msgstr "Mehr"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:82
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:82
@@ -491,6 +499,34 @@ msgstr "Mit Ihrem TUGonline-Account registrieren"
msgid "Sign up with repository credentials"
msgstr "Mit Ihren Repository Daten registrieren"
#~ msgid "Why use"
#~ msgstr "Warum"
#~ 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."
#~ msgid "Built by CERN and TU Graz. Operated by TU Graz."
#~ msgstr "Gebaut von CERN und TU Graz. Betrieben von der TU Graz."
#~ msgid "Share private or anonymized data via the restricted access mode."
#~ msgstr ""
#~ "Teilen Sie private oder anonymisierte Daten über den eingeschränkten "
#~ "Zugriffsmodus."
#~ msgid "prioritizes all Recent uploads."
#~ msgstr "reiht die neuesten Uploads vor."
#~ msgid "One-on-one with"
#~ msgstr "One-on-one mit"
#~ msgid "supporters."
#~ msgstr "UnterstützerInnen."
#~ msgid "Scripts for automated uploading of larger datasets."
#~ msgstr "Skripte zum automatisierten Hochladen größerer Datensätze."
#~ msgid ""
#~ "built and operated by CERN and OpenAIRE to ensure that everyone can join "
#~ "in Open Science."

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: 2024-01-25 22:36+0100\n"
"PO-Revision-Date: 2024-01-25 22:44+0100\n"
"POT-Creation-Date: 2024-02-02 10:08+0100\n"
"PO-Revision-Date: 2024-02-02 10:09+0100\n"
"Last-Translator: \n"
"Language-Team: en <LL@li.org>\n"
"Language: en\n"
@@ -38,67 +38,114 @@ msgstr ""
msgid "My dashboard"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:12
msgid "Locked"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:13
msgid "The resource that is being accessed is locked."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html:26
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html:34
msgid "Invenio"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
msgid "Good reasons to use the Repository of the TU Graz"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
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."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid "Your research results are permanently available."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Trusted"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
msgid "Built by CERN and TU Graz. Operated by TU Graz."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "A service from TU Graz, developed in cooperation with CERN."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Citeable"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "No waiting time"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid ""
"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
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
msgid "Open or closed"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Share private or anonymized data via the restricted access mode."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
msgid ""
"You determine the visibility of your uploads. A restricted access mode is "
"possible."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
msgid "Versioning"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
msgid "Easily update your dataset with the versioning feature."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "Usage statisics"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
msgid "Usage statistics"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "All uploads display standards compliant usage statistics."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
msgid "All uploads display standards compliant usage statistics. "
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
msgid "More"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:10
msgid "Need help?"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:15
msgid "Contact us"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:20
msgid "We can help with:"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:24
msgid "Upload your research results, software, preprints, etc."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:25
msgid "Increase upload limit beyond our default policy of 10GB."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:26
msgid "Establish contact with data stewards."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:27
msgid "Find individual solutions."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
@@ -269,46 +316,6 @@ msgstr ""
msgid "Dashboard"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:30
msgid "Need help?"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:34
msgid "Contact us"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:39
msgid "prioritizes all Recent uploads."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:42
msgid "We can help with:"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:46
msgid "Uploading your research data, software, preprints, etc."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:47
msgid "One-on-one with"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:47
msgid "supporters."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:48
msgid "Quota increases beyond our default policy."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:49
msgid "Scripts for automated uploading of larger datasets."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:54
msgid "Why use"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:12
msgid "All"
msgstr ""
@@ -381,14 +388,10 @@ msgstr ""
msgid "Publication date"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:33
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:34
msgid "Resource type"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:86
msgid "More"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:82
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:82

View File

@@ -7,16 +7,16 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-tugraz 4.12.2\n"
"Project-Id-Version: invenio-theme-tugraz 4.12.3\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2024-01-25 22:36+0100\n"
"POT-Creation-Date: 2024-02-02 10:08+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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.13.1\n"
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:60
msgid "TU Graz Repository"
@@ -36,67 +36,114 @@ msgstr ""
msgid "My dashboard"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:12
msgid "Locked"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:13
msgid "The resource that is being accessed is locked."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html:26
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html:34
msgid "Invenio"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
msgid "Good reasons to use the Repository of the TU Graz"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
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."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
msgid "Your research results are permanently available."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Trusted"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:11
msgid "Built by CERN and TU Graz. Operated by TU Graz."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "A service from TU Graz, developed in cooperation with CERN."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Citeable"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:12
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "No waiting time"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid ""
"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
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
msgid "Open or closed"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
msgid "Share private or anonymized data via the restricted access mode."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
msgid ""
"You determine the visibility of your uploads. A restricted access mode is"
" possible."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
msgid "Versioning"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
msgid "Easily update your dataset with the versioning feature."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "Usage statisics"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
msgid "Usage statistics"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
msgid "All uploads display standards compliant usage statistics."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
msgid "All uploads display standards compliant usage statistics. "
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
msgid "More"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:10
msgid "Need help?"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:15
msgid "Contact us"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:20
msgid "We can help with:"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:24
msgid "Upload your research results, software, preprints, etc."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:25
msgid "Increase upload limit beyond our default policy of 10GB."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:26
msgid "Establish contact with data stewards."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:27
msgid "Find individual solutions."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
@@ -248,46 +295,6 @@ msgstr ""
msgid "Dashboard"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:30
msgid "Need help?"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:34
msgid "Contact us"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:39
msgid "prioritizes all Recent uploads."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:42
msgid "We can help with:"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:46
msgid "Uploading your research data, software, preprints, etc."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:47
msgid "One-on-one with"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:47
msgid "supporters."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:48
msgid "Quota increases beyond our default policy."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:49
msgid "Scripts for automated uploading of larger datasets."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:54
msgid "Why use"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:12
msgid "All"
msgstr ""
@@ -352,14 +359,10 @@ msgstr ""
msgid "Publication date"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:33
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:34
msgid "Resource type"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:86
msgid "More"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:82
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:82

View File

@@ -100,3 +100,8 @@ def index():
return render_template(
"invenio_theme_tugraz/index.html", records=records_serializer(records)
)
def locked(e):
"""Error page for status locked."""
return render_template("invenio_theme_tugraz/423.html")

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
@@ -27,6 +27,7 @@ classifiers =
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Development Status :: 3 - Alpha
[options]
@@ -42,12 +43,11 @@ install_requires =
[options.extras_require]
tests =
pytest-black-ng>=0.4.0
Sphinx>=4.5.0
pytest-invenio>=2.1.0,<3.0.0
invenio-app>=1.3.4,<1.4.0
opensearch2 =
invenio-search[opensearch2]>=2.1.0,<3.0.0
pytest-black-ng>=0.4.0
pytest-invenio>=2.1.0,<3.0.0
Sphinx>=4.5.0
[options.entry_points]
invenio_base.apps =