style: translation and minor documentation

This commit is contained in:
david
2021-04-07 08:55:58 +02:00
committed by Mojib Wali
parent 88d7125acf
commit 0df53c42fa
4 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ $(function() {
});
});
// used for sticky test instance notification
$('.ui.sticky.test-instance')
.sticky({
context: 'body'

View File

@@ -70,4 +70,4 @@
// notification
@notificationBackground: #fffaf3;
@notificationBorder: #e2d5c2;
@notificationBorder: #e2d5c2;

View File

@@ -58,8 +58,8 @@
<body ng-csp {% if body_css_classes %} class="{{ body_css_classes|join(' ') }}"{% endif %}{% if g.ln %} lang="{{ g.ln.split('_', 1)[0]|safe }}"{% if rtl_direction %} {{ rtl_direction|safe }}{% endif %}{% endif %} itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target=".scrollspy-target">
{% if not config.THEME_TUGRAZ_PRODUCTION %}
<div class="ui sticky test-instance">
<h4>Test Instance</h4>
<p>{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.")}}</p>
<h4>{{_ ("Test Instance") }}</h4>
<p>{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.") }}</p>
</div>
{% endif %}
{%- block body %}

View File

@@ -8,8 +8,8 @@
{% if not config.THEME_TUGRAZ_PRODUCTION %}
<div class="ui sticky test-instance">
<h4>Test Instance</h4>
<p>{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.")}}</p>
<h4>{{_ ("Test Instance") }}</h4>
<p>{{_ ("This is the test instance of the TU Graz Repository. Feel free to test everything and make changes as you wish.") }}</p>
</div>
{% endif %}