Compare commits

..

4 Commits

Author SHA1 Message Date
Christoph Ladurner
1022fa45f4 release v4.11.2 2023-06-01 12:45:40 +02:00
Christoph Ladurner
eb95994afa frontpage: layout changes 2023-06-01 12:00:30 +02:00
Christoph Ladurner
bcacce0644 translation: add oer frontpage translation 2023-06-01 12:00:30 +02:00
Christoph Ladurner
c2494401e9 WIP: oer upload button on frontpage 2023-06-01 12:00:30 +02:00
5 changed files with 133 additions and 54 deletions

View File

@@ -8,6 +8,13 @@
Changes
=======
Version v4.11.2 (release 2023-06-01)
- frontpage: layout changes
- translation: add oer frontpage translation
- WIP: oer upload button on frontpage
Version v4.11.1 (release 2023-04-20)
- fix: increase invenio-config-tugraz

View File

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

View File

@@ -1,5 +1,5 @@
{#
Copyright (C) 2020-2021 Graz University of Technology.
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
@@ -23,11 +23,11 @@
<!---Recent uploads-->
<div class="ten wide column random-records-frontpage">
<h2>{{_('Recent uploads')}}</h2>
<h2>{{ _('Recent uploads') }}</h2>
{% if not records %}
<div class="ui centered grid">
<p style="font-size: medium;">{{_('There are no public records to show.')}}</p>
<p style="font-size: medium;">{{ _('There are no public records to show.') }}</p>
</div>
{% endif %}
@@ -41,12 +41,12 @@
-->
<div class="badges">
<!--Publication date/Version badge-->
<span class="ui label blue" data-tooltip="{{_('Publication date')}}" data-inverted="">
<span class="ui label blue" data-tooltip="{{ _('Publication date') }}" data-inverted="">
{{ r.metadata.publication_date }} {{ '(' ~ r.metadata.version ~ ')' if r.metadata.version }}
</span>
<!--Resource type badge-->
<span class="ui label grey" data-tooltip="{{_('Resource type')}}" data-inverted>
<span class="ui label grey" data-tooltip="{{ _('Resource type') }}" data-inverted>
{{ r.ui.resource_type.title_l10n }}
</span>
@@ -62,7 +62,7 @@
<h4>
<a href="{{ record_url }}" class="no-decoration">
{{r.metadata.title}}
{{ r.metadata.title }}
</a>
</h4>
@@ -80,7 +80,7 @@
<div class="two column row">
<div class="left floated column">
{%- for s in r.metadata.subjects %}
<div class="ui tiny label">{{s.subject}}</div>
<div class="ui tiny label">{{ s.subject }}</div>
{%- endfor %}
<div>
<small>
@@ -98,7 +98,7 @@
{%- endfor %}
{% if records %}
<div class="ui centered grid">
<a class="ui button more" href="{{url_for('invenio_search_ui.search')}}">{{_('More')}}</a>
<a class="ui button more" href="{{ url_for('invenio_search_ui.search') }}">{{ _('More') }}</a>
</div>
{%- endif %}
</div>
@@ -106,34 +106,57 @@
<!---segments-->
<div class="six wide column">
<!--contact us-->
<div class="ui segment" style="padding-bottom: 10px;">
<h4>{{_ ("Need help?")}}</h4>
<h4>{{ _("You can upload different types of records:") }}</h4>
<p style="margin: 14px">
<span class="ui left floated" style="text-align: justify; width:260px; display:inline-block;">
{{ _("Visibility of uploaded content is maximized through synchronization with data hubs (DataCite).") }}
</span>
<a class="ui positive right floated button" style="width:250px; display:inline-block;" href="me/uploads" title="Research Data">
<i aria-hidden="true" class="upload icon"></i>
{{ _("Upload Research Output") }}
</a>
</p>
<p style="margin: 14px;">
<span class="ui left floated" style="text-align: justify; width:260px; display:inline-block;">
{{ _("Open Educational Resources (OER) will be visible on various discovery tools like the OERhub.") }}
</span>
<a class="ui positive right floated button" style="width:250px; display:inline-block;" href="lom/uploads" title="Open Educational Resources">
<i aria-hidden="true" class="upload icon"></i>
{{ _("Upload OER") }}
</a>
</p>
</div>
<!--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")}}
{{ _("Contact us") }}
</a>
</div>
{%- endif %}
<p>
{{config.THEME_SITENAME}} {{_ ("prioritizes all Recent uploads.")}}
{{ config.THEME_SITENAME }} {{ _("prioritizes all Recent uploads.") }}
</p>
<p>
{{_ ("We can help with:")}}
{{ _("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>
<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>
<h4>{{ _("Why use") }} {{ config.THEME_SITENAME }}?</h4>
{% include "invenio_theme_tugraz/benefits.html" %}
</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: 2022-08-05 10:15+0200\n"
"PO-Revision-Date: 2022-08-05 10:21+0200\n"
"POT-Creation-Date: 2023-05-26 09:37+0200\n"
"PO-Revision-Date: 2023-05-31 15:27+0200\n"
"Last-Translator: \n"
"Language-Team: de <LL@li.org>\n"
"Language: de\n"
@@ -198,8 +198,8 @@ msgstr "Um die Schriftgröße zu ändern."
#, fuzzy, python-format
msgid ""
"<strong>Powered by</strong>\n"
" <a href=\"%(invenio_rdm)s\" target=\"_blank\" title=\"invenioRDM"
"\">"
" <a href=\"%(invenio_rdm)s\" target=\"_blank\" "
"title=\"invenioRDM\">"
msgstr ""
"<strong>Powered by</strong> <a href=\"%(invenio_rdm)s\" target=\"_blank\">"
@@ -272,43 +272,71 @@ msgstr ""
msgid "More"
msgstr "Mehr"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:111
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:110
msgid "You can upload different types of records:"
msgstr "Upload verschiedener Arten von Datensätzen:"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:114
msgid ""
"Visibility of uploaded content is maximized through synchronization with "
"data hubs (DataCite)."
msgstr ""
"Steigerung der Sichtbarkeit der Datensätze durch Synchronisation mit "
"Harvestern (DataCite)."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:118
msgid "Upload Research Output"
msgstr "Upload Forschungsergebnisse"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:123
msgid ""
"Open Educational Resources (OER) will be visible on various discovery tools "
"like the OERhub."
msgstr ""
"Open Educational Resources (OER) werden auf Suchmaschinen wie OERhub "
"sichtbar sein."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:128
msgid "Upload OER"
msgstr "Upload OER"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:135
msgid "Need help?"
msgstr "Brauchen Sie Hilfe?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:115
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:139
msgid "Contact us"
msgstr "Kontaktiere uns"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:120
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:144
msgid "prioritizes all Recent uploads."
msgstr "reiht die neuesten Uploads vor."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:123
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:147
msgid "We can help with:"
msgstr "Dabei können wir helfen:"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:128
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:151
msgid "Uploading your research data, software, preprints, etc."
msgstr "Hochladen Ihrer Forschungsdaten, Software, Preprints usw."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:129
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:152
msgid "One-on-one with"
msgstr "One-on-one mit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:129
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:152
msgid "supporters."
msgstr "Unterstützern"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:130
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:153
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:131
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:154
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:136
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:159
msgid "Why use"
msgstr "Warum"
@@ -458,9 +486,6 @@ msgstr "Mit Ihren Repository Daten registrieren"
#~ msgid "DOI"
#~ msgstr "DOI"
#~ msgid "Uploads"
#~ msgstr "Hochladen"
#~ msgid "German"
#~ msgstr "Deutsche"

View File

@@ -1,22 +1,22 @@
# Translations template for invenio-theme-tugraz.
# Copyright (C) 2022 Graz University of Technology
# Copyright (C) 2023 Graz University of Technology
# This file is distributed under the same license as the
# invenio-theme-tugraz project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-tugraz 4.0.0\n"
"Project-Id-Version: invenio-theme-tugraz 4.11.1\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2022-08-05 10:15+0200\n"
"POT-Creation-Date: 2023-05-26 09:37+0200\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.10.1\n"
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:60
msgid "TU Graz Repository"
@@ -256,43 +256,67 @@ msgstr ""
msgid "More"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:111
msgid "Need help?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:110
msgid "You can upload different types of records:"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:115
msgid "Contact us"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:114
msgid ""
"Visibility of uploaded content is maximized through synchronization with "
"data hubs (DataCite)."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:120
msgid "prioritizes all Recent uploads."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:118
msgid "Upload Research Output"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:123
msgid "We can help with:"
msgid ""
"Open Educational Resources (OER) will be visible on various discovery "
"tools like the OERhub."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:128
msgid "Upload OER"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:135
msgid "Need help?"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:139
msgid "Contact us"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:144
msgid "prioritizes all Recent uploads."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:147
msgid "We can help with:"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:151
msgid "Uploading your research data, software, preprints, etc."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:129
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:152
msgid "One-on-one with"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:129
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:152
msgid "supporters."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:130
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:153
msgid "Quota increases beyond our default policy."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:131
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:154
msgid "Scripts for automated uploading of larger datasets."
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:136
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html:159
msgid "Why use"
msgstr ""