From 0da96559ec0124fd58a17c0be842977fd83f4824 Mon Sep 17 00:00:00 2001 From: Mojib Wali <44528277+mb-wali@users.noreply.github.com> Date: Thu, 3 Mar 2022 10:53:03 +0100 Subject: [PATCH] global: migrate to v8 --- .tx/config | 5 +++++ .../less/invenio_theme_tugraz/theme.less | 4 ++++ .../templates/invenio_theme_tugraz/header.html | 3 +++ .../translations/de/LC_MESSAGES/messages.po | 11 +++++++++-- invenio_theme_tugraz/translations/messages.pot | 15 ++++++++++----- setup.cfg | 1 + setup.py | 2 +- 7 files changed, 33 insertions(+), 8 deletions(-) diff --git a/.tx/config b/.tx/config index abd28a2..8d41b4b 100644 --- a/.tx/config +++ b/.tx/config @@ -5,6 +5,11 @@ # 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. +# +# 1) Create message catalog: +# $ python setup.py extract_messages +# $ python setup.py update_catalog -l de +# $ python setup.py compile_catalog [main] host = https://www.transifex.com diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less index 995bafd..4f9f6ab 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less @@ -32,3 +32,7 @@ transition: background-color 0.15s ease 0s, color 0.15s ease 0s; outline: none; } + +.nowrap-link { + white-space: nowrap; +} \ No newline at end of file diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html index 6064fe0..ffff3a1 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html @@ -45,6 +45,9 @@ {{ item.text|safe }} {%- endfor %} +
+ {{_ ("My dashboard")}} +