From 0df53c42fa1598dfa0383f09d334bd90a10be5ec Mon Sep 17 00:00:00 2001 From: david Date: Wed, 7 Apr 2021 08:55:58 +0200 Subject: [PATCH] style: translation and minor documentation --- .../assets/semantic-ui/js/invenio_theme_tugraz/theme.js | 2 +- .../semantic-ui/less/invenio_theme_tugraz/variables.less | 2 +- .../invenio_theme_tugraz/accounts/accounts_base.html | 4 ++-- .../templates/invenio_theme_tugraz/header.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/invenio_theme_tugraz/assets/semantic-ui/js/invenio_theme_tugraz/theme.js b/invenio_theme_tugraz/assets/semantic-ui/js/invenio_theme_tugraz/theme.js index e810e99..f780dc6 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/js/invenio_theme_tugraz/theme.js +++ b/invenio_theme_tugraz/assets/semantic-ui/js/invenio_theme_tugraz/theme.js @@ -18,7 +18,7 @@ $(function() { }); }); - +// used for sticky test instance notification $('.ui.sticky.test-instance') .sticky({ context: 'body' diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less index 495f73f..ba4fe11 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less @@ -70,4 +70,4 @@ // notification @notificationBackground: #fffaf3; -@notificationBorder: #e2d5c2; \ No newline at end of file +@notificationBorder: #e2d5c2; diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html index 3e2ddb9..4d638b4 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html @@ -58,8 +58,8 @@ {% if not config.THEME_TUGRAZ_PRODUCTION %}
-

Test Instance

-

{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.")}}

+

{{_ ("Test Instance") }}

+

{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.") }}

{% endif %} {%- block body %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html index b6206f4..bb42c68 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html @@ -8,8 +8,8 @@ {% if not config.THEME_TUGRAZ_PRODUCTION %}
-

Test Instance

-

{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.")}}

+

{{_ ("Test Instance") }}

+

{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.") }}

{% endif %}