mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8a8ee88b7 | ||
|
|
7f5dae65ac | ||
|
|
8b606007cd | ||
|
|
32e785cb28 | ||
|
|
765c43c283 | ||
|
|
bfe2c45b09 | ||
|
|
d511a3d9c7 | ||
|
|
83fe44db8e | ||
|
|
41bfcf0cee | ||
|
|
bc1c9bcc9c |
@@ -33,7 +33,8 @@ recursive-include invenio_theme_tugraz *.scss
|
||||
recursive-include invenio_theme_tugraz *.svg
|
||||
recursive-include invenio_theme_tugraz *.less
|
||||
recursive-include invenio_theme_tugraz *.ico
|
||||
recursive-include invenio_theme_tugraz *.pdf
|
||||
recursive-include tests *.py
|
||||
recursive-include invenio_theme_tugraz *.jpg
|
||||
recursive-include invenio_theme_tugraz *.gitkeep
|
||||
recursive-include .github/workflows *.yml
|
||||
recursive-include .github/workflows *.yml
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
import $ from 'jquery';
|
||||
import 'semantic-ui-css';
|
||||
|
||||
// called on document ready
|
||||
$(function() {
|
||||
importZammadScript();
|
||||
});
|
||||
|
||||
function importZammadScript() {
|
||||
let scriptNode = document.createElement("hidden"); //needed for zammad script
|
||||
scriptNode.id = "zammad_form_script";
|
||||
scriptNode.src = "https://ub-support.tugraz.at/assets/form/form.js";
|
||||
@@ -16,7 +21,8 @@ $(function() {
|
||||
modal: true
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// used for sticky test instance notification
|
||||
$('.ui.sticky.test-instance')
|
||||
|
||||
@@ -25,14 +25,24 @@
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
font-size: 16px;
|
||||
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: @footerGrey;
|
||||
|
||||
&:hover, &:focus {
|
||||
|
||||
// :focus-visible activates on keyboard only
|
||||
&:hover, &:focus:focus-visible {
|
||||
color: @primaryLink;
|
||||
background-color: @primaryLinkHoverBackground;
|
||||
|
||||
i.icon.download {
|
||||
color: @tugrazRed;
|
||||
}
|
||||
}
|
||||
|
||||
// remove blue focus outline if clicked with mouse
|
||||
&:focus:not(:focus-visible) {
|
||||
outline-style: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,6 +119,9 @@ DEPOSITS_HEADER_TEMPLATE = "invenio_theme_tugraz/header.html"
|
||||
TUG_ROUTES = {
|
||||
"index": "/",
|
||||
"comingsoon": "/comingsoon",
|
||||
"guide": "/guide",
|
||||
"terms": "/terms",
|
||||
"gdpr": "/gdpr",
|
||||
"deposit_create": "/uploads/new",
|
||||
"deposit_edit": "/uploads/<pid_value>",
|
||||
"getdoi": "/getdoi",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -25,12 +25,10 @@
|
||||
<div class="ui divider"></div>
|
||||
<!--Log in with SSO-->
|
||||
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
||||
<div class="login-page-button ui fluid large button">
|
||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
|
||||
{% trans type='TUGRAZ' %} Log in with {{ type }}{% endtrans %}
|
||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
||||
</a>
|
||||
</div>
|
||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="login-page-button ui fluid large button">
|
||||
{% trans type='TUGRAZ' %} Log in with {{ type }}{% endtrans %}
|
||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
||||
</a>
|
||||
<div class="spacer-long"></div>
|
||||
<div class="ui inverted horizontal divider"><span class="text-color">{{_ ("Or")}}</span></div>
|
||||
{%- endif %}
|
||||
@@ -74,4 +72,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock page_body %}
|
||||
{% endblock page_body %}
|
||||
|
||||
@@ -46,11 +46,10 @@
|
||||
<!--Sigup with SSO-->
|
||||
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
|
||||
<div class="ui divider"></div>
|
||||
<div class="login-page-button ui fluid large button">
|
||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="inverted tiny image label">
|
||||
<span style="font-size: 18px;">{{ _('Sign up with TUGRAZ ') }}</span>
|
||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
||||
</a>
|
||||
<a href="{{ url_for('sso_saml.sso', idp='idp') }}" class="login-page-button ui fluid large button">
|
||||
<span style="font-size: 18px;">{{ _('Sign up with TUGRAZ ') }}</span>
|
||||
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="ui inverted horizontal divider"><span class="text-color">{{_ ("Or")}}</span></div>
|
||||
{%- endif %}
|
||||
@@ -91,4 +90,4 @@
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock page_body %}
|
||||
{% endblock page_body %}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{#
|
||||
Copyright (C) 2020-2021 Graz University of Technology.
|
||||
Copyright (C) 2020-2021 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.
|
||||
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.
|
||||
#}
|
||||
|
||||
{%- block css %}
|
||||
@@ -12,7 +12,7 @@
|
||||
{%- endblock %}
|
||||
|
||||
{%- block javascript %}
|
||||
{{ webpack['invenio-theme-tugraz-js.js'] }}
|
||||
{{ webpack['invenio-theme-tugraz-js.js'] }}
|
||||
{%- endblock javascript %}
|
||||
|
||||
<div class="spacer"></div>
|
||||
@@ -21,84 +21,91 @@
|
||||
|
||||
<div class="ui container">
|
||||
|
||||
<div class="ui grid">
|
||||
<div class="doubling four column row">
|
||||
<div class="ui grid">
|
||||
<div class="doubling four column row">
|
||||
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>{{_ ("Repository")}}</h2>
|
||||
<p class="bodytext">
|
||||
<a href="https://tu-graz-library.github.io/docs-repository" title="Repository documentation" target="_blank">
|
||||
{{_ ("Documentation")}} <i class="external alternate icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a
|
||||
href="https://www.tugraz.at/fileadmin/user_upload/tugrazExternal/0c4b9c02-50a6-4a31-b5fd-24a0f93b69c5/TUGraz_Repository_Guide.pdf"
|
||||
title="Quick guide" target="_blank">
|
||||
{{_ ("Handbook")}} <i class="external alternate icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<!-- <a href="{{ url_for('invenio_theme_tugraz.comingsoon') }}">
|
||||
<div class="column">
|
||||
|
||||
<h2>{{_ ("Repository")}}</h2>
|
||||
<p class="bodytext">
|
||||
<a href="https://tu-graz-library.github.io/docs-repository" title="Repository documentation"
|
||||
target="_blank">
|
||||
{{_ ("Documentation")}} <i class="external alternate icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_theme_tugraz.guide') }}"
|
||||
title="Quick guide" target="_blank">
|
||||
{{_ ("Reference Guide")}} <i class="download icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_theme_tugraz.gdpr') }}"
|
||||
title="General Data Protection Rights" target="_blank">
|
||||
{{_ ("Data Protection")}} <i class="download icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_theme_tugraz.terms') }}"
|
||||
title="Terms and Conditions" target="_blank">
|
||||
{{_ ("Terms and Conditions")}} <i class="download icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<!-- <a href="{{ url_for('invenio_theme_tugraz.comingsoon') }}">
|
||||
{{_ ("Impressum")}}<i class="angle right icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_theme_tugraz.comingsoon') }}">
|
||||
{{_ ("Data protection")}}<i class="angle right icon"></i>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_theme_tugraz.comingsoon') }}">
|
||||
{{_ ("Feedback")}}<i class="angle right icon"></i>
|
||||
</a> -->
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</a>
|
||||
<br>
|
||||
<a href="{{ url_for('invenio_theme_tugraz.comingsoon') }}">
|
||||
{{_ ("Feedback")}}<i class="angle right icon"></i>
|
||||
</a> -->
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>{{_ ("Features")}}</h2>
|
||||
<div class="column">
|
||||
|
||||
<h4>{{_ ("Scalability")}}</h4>
|
||||
|
||||
<h4>{{_ ("Institutional integration")}}</h4>
|
||||
<h2>{{_ ("Features")}}</h2>
|
||||
|
||||
<h4>{{_ ("Next Generation Repository")}}
|
||||
</h4>
|
||||
<h4>{{_ ("Scalability")}}</h4>
|
||||
|
||||
<h4>{{_ ("Repository Profiles")}}</h4>
|
||||
<h4>{{_ ("Institutional integration")}}</h4>
|
||||
|
||||
<h4>{{_ ("Resilient")}}</h4>
|
||||
<h4>{{_ ("Next Generation Repository")}}
|
||||
</h4>
|
||||
|
||||
</div>
|
||||
<h4>{{_ ("Repository Profiles")}}</h4>
|
||||
|
||||
<h4>{{_ ("Resilient")}}</h4>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="column">
|
||||
|
||||
<h2>{{_ ("Connected Services")}}</h2>
|
||||
<p class="bodytext">
|
||||
<div class="column">
|
||||
|
||||
<a href="https://pure.tugraz.at" title="PURE" target="_blank">
|
||||
{{_ ("PURE")}} <i class="external alternate icon"></i></a><br>
|
||||
<h2>{{_ ("Connected Services")}}</h2>
|
||||
<p class="bodytext">
|
||||
|
||||
<a href="http://campusonline.tugraz.at" title="CAMPUS online" target="_blank">
|
||||
{{_ ("CampusOnline")}} <i class="external alternate icon"></i></a><br>
|
||||
<a href="https://pure.tugraz.at" title="PURE" target="_blank">
|
||||
{{_ ("PURE")}} <i class="external alternate icon"></i></a><br>
|
||||
|
||||
<a href="http://campusonline.tugraz.at" title="CAMPUS online" target="_blank">
|
||||
{{_ ("CampusOnline")}} <i class="external alternate icon"></i></a><br>
|
||||
|
||||
<a href="https://rdm.tugraz.at" title="Research Data Management" target="_blank">
|
||||
{{_ ("Research Data Management")}} <i class="external alternate icon"></i></a><br>
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="column">
|
||||
<h2>{{_ ("Accessibility")}}</h2>
|
||||
<p class="bodytext">{{_ ("Tipp:")}}<br> {{_ ("Use Ctrl + and Crtl -")}}<br> {{_ ("to change the font size.")}}</p>
|
||||
|
||||
</div>
|
||||
{{_ ("Research Data Management")}} <i class="external alternate icon"></i></a><br>
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="column">
|
||||
<h2>{{_ ("Accessibility")}}</h2>
|
||||
<p class="bodytext">{{_ ("Tipp:")}}<br> {{_ ("Use Ctrl + and Crtl -")}}<br> {{_ ("to change the font size.")}}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
{% endif %}
|
||||
|
||||
{%- for r in records %}
|
||||
{%- set creation_date = r._created|from_isodatetime -%}
|
||||
{%- set creation_date = r.created|from_isodatetime -%}
|
||||
{%- set record_url = url_for('invenio_app_rdm_records.record_detail', pid_value=r.id) %}
|
||||
|
||||
<article>
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: invenio-theme-tugraz 1.0.4\n"
|
||||
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
||||
"POT-Creation-Date: 2021-04-08 08:50+0200\n"
|
||||
"POT-Creation-Date: 2021-04-12 13:20+0200\n"
|
||||
"PO-Revision-Date: 2020-10-06 10:27+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: de\n"
|
||||
@@ -113,79 +113,83 @@ msgstr "Nutzungsstatistiken"
|
||||
msgid "All uploads display standards compliant usage statistics"
|
||||
msgstr "Alle Uploads entsprechen den Standards der Nutzungsstatistiken."
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:33
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:34
|
||||
msgid "Documentation"
|
||||
msgstr "Dokumentation"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:39
|
||||
msgid "Handbook"
|
||||
msgid "Reference Guide"
|
||||
msgstr "Handbuch"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:44
|
||||
msgid "Data Protection"
|
||||
msgstr "Datenschutzerklärung"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:49
|
||||
msgid "Terms and Conditions"
|
||||
msgstr "Nutzungsbedingungen"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:53
|
||||
msgid "Impressum"
|
||||
msgstr "Imprint"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:48
|
||||
msgid "Data protection"
|
||||
msgstr "Datenschutzerklärung"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:52
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:57
|
||||
msgid "Feedback"
|
||||
msgstr "Feedback"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:61
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:66
|
||||
msgid "Features"
|
||||
msgstr "Features"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:63
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:68
|
||||
msgid "Scalability"
|
||||
msgstr "Skalierbarkeit"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:65
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:70
|
||||
msgid "Institutional integration"
|
||||
msgstr "Institutionelle Einbindung"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:67
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:72
|
||||
msgid "Next Generation Repository"
|
||||
msgstr "Repositorium der nächsten Generation"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:70
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:75
|
||||
msgid "Repository Profiles"
|
||||
msgstr "Repositorienprofile"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:72
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:77
|
||||
msgid "Resilient"
|
||||
msgstr "Resilient, widerstandsfähig"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:79
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:84
|
||||
msgid "Connected Services"
|
||||
msgstr "Verbundene Services "
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:83
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:88
|
||||
msgid "PURE"
|
||||
msgstr "PURE"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:86
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:91
|
||||
msgid "CampusOnline"
|
||||
msgstr "CampusOnline"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:89
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:94
|
||||
msgid "Research Data Management"
|
||||
msgstr "Forschungsdatenmanagement"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:96
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:101
|
||||
msgid "Accessibility"
|
||||
msgstr "Barrierefreiheit"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:97
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:102
|
||||
msgid "Tipp:"
|
||||
msgstr "Tipp"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:97
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:102
|
||||
msgid "Use Ctrl + and Crtl -"
|
||||
msgstr "Verwenden Sie Strg+ und Strg-"
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:97
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:102
|
||||
msgid "to change the font size."
|
||||
msgstr "Um die Schriftgröße zu ändern."
|
||||
|
||||
@@ -421,3 +425,6 @@ msgstr ""
|
||||
#~ " "
|
||||
#~ msgstr "Hochgeladen am %(date)s\n"
|
||||
|
||||
#~ msgid "Handbook"
|
||||
#~ msgstr "Handbuch"
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: invenio-theme-tugraz 2.0.5\n"
|
||||
"Project-Id-Version: invenio-theme-tugraz 2.0.7\n"
|
||||
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
|
||||
"POT-Creation-Date: 2021-04-08 08:50+0200\n"
|
||||
"POT-Creation-Date: 2021-04-12 13:20+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"
|
||||
@@ -102,79 +102,83 @@ msgstr ""
|
||||
msgid "All uploads display standards compliant usage statistics"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:33
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:34
|
||||
msgid "Documentation"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:39
|
||||
msgid "Handbook"
|
||||
msgid "Reference Guide"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:44
|
||||
msgid "Data Protection"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:49
|
||||
msgid "Terms and Conditions"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:53
|
||||
msgid "Impressum"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:48
|
||||
msgid "Data protection"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:52
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:57
|
||||
msgid "Feedback"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:61
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:66
|
||||
msgid "Features"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:63
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:68
|
||||
msgid "Scalability"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:65
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:70
|
||||
msgid "Institutional integration"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:67
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:72
|
||||
msgid "Next Generation Repository"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:70
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:75
|
||||
msgid "Repository Profiles"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:72
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:77
|
||||
msgid "Resilient"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:79
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:84
|
||||
msgid "Connected Services"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:83
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:88
|
||||
msgid "PURE"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:86
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:91
|
||||
msgid "CampusOnline"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:89
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:94
|
||||
msgid "Research Data Management"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:96
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:101
|
||||
msgid "Accessibility"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:97
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:102
|
||||
msgid "Tipp:"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:97
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:102
|
||||
msgid "Use Ctrl + and Crtl -"
|
||||
msgstr ""
|
||||
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:97
|
||||
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:102
|
||||
msgid "to change the font size."
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -12,4 +12,4 @@ This file is imported by ``invenio_theme_tugraz.__init__``,
|
||||
and parsed by ``setup.py``.
|
||||
"""
|
||||
|
||||
__version__ = "2.0.6"
|
||||
__version__ = "2.1.0"
|
||||
|
||||
@@ -14,7 +14,8 @@ from typing import Dict
|
||||
|
||||
import requests
|
||||
from elasticsearch_dsl.utils import AttrDict
|
||||
from flask import Blueprint, current_app, g, render_template, request
|
||||
from flask import Blueprint, current_app, g, redirect, render_template, request, url_for
|
||||
from flask_babelex import get_locale
|
||||
from flask_login import login_required
|
||||
from flask_menu import current_menu
|
||||
from invenio_app_rdm.records_ui.views.decorators import (
|
||||
@@ -49,6 +50,9 @@ def ui_blueprint(app):
|
||||
|
||||
blueprint.add_url_rule(routes["index"], view_func=index)
|
||||
blueprint.add_url_rule(routes["comingsoon"], view_func=comingsoon)
|
||||
blueprint.add_url_rule(routes["guide"], view_func=guide)
|
||||
blueprint.add_url_rule(routes["terms"], view_func=terms)
|
||||
blueprint.add_url_rule(routes["gdpr"], view_func=gdpr)
|
||||
blueprint.add_url_rule(routes["deposit_create"], view_func=deposit_create)
|
||||
blueprint.add_url_rule(routes["record_detail"], view_func=record_detail)
|
||||
blueprint.add_url_rule(routes["getdoi"], view_func=retrieve_doi, methods=["POST"])
|
||||
@@ -82,6 +86,30 @@ def comingsoon():
|
||||
return render_template("invenio_theme_tugraz/comingsoon.html")
|
||||
|
||||
|
||||
def guide():
|
||||
"""TUGraz_Repository_Guide."""
|
||||
locale = get_locale()
|
||||
return redirect(url_for('static',
|
||||
filename=f'documents/TUGraz_Repository_Guide_01_{locale}.pdf',
|
||||
_external=True))
|
||||
|
||||
|
||||
def terms():
|
||||
"""Terms_And_Conditions."""
|
||||
locale = get_locale()
|
||||
return redirect(url_for('static',
|
||||
filename=f'documents/TUGraz_Repository_Terms_And_Conditions_{locale}.pdf',
|
||||
_external=True))
|
||||
|
||||
|
||||
def gdpr():
|
||||
"""General_Data_Protection_Rights."""
|
||||
locale = get_locale()
|
||||
return redirect(url_for('static',
|
||||
filename=f'documents/TUGraz_Repository_General_Data_Protection_Rights_{locale}.pdf',
|
||||
_external=True))
|
||||
|
||||
|
||||
def get_datacite_details():
|
||||
"""Application credentials for DOI."""
|
||||
prefix = environ.get("INVENIO_DATACITE_PREFIX")
|
||||
|
||||
Reference in New Issue
Block a user