File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 12
12
{% endblock %}
13
13
14
14
{% block card_content %}
15
+ {% if not is_productive %}
16
+ <div class =" alert alert-warning" >
17
+ Testumgebung. Kein produktiver Betrieb! Nicht für echte Eingaben verwenden!
18
+ </div >
19
+ {% endif %}
20
+
15
21
<p class =" text-muted" >
16
22
{% trans %}payment_order.new.hint{% endtrans %}<br >
17
23
{% trans %}payment_order.new.star_hint{% endtrans %}<br >
Original file line number Diff line number Diff line change 1
1
<nav class =" navbar navbar-expand-lg bg-body-tertiary border-bottom shadow-sm fixed-top" >
2
2
<div class =" container-fluid" >
3
- <a class =" navbar-brand" href =" {{ path(' homepage' ) }}" >StuRa</a >
3
+ <a class =" navbar-brand" href =" {{ path(' homepage' ) }}" >
4
+ StuRa
5
+ </a >
4
6
<button class =" navbar-toggler" type =" button" data-bs-toggle =" collapse" data-bs-target =" #navbarSupportedContent" aria-controls =" navbarSupportedContent" aria-expanded =" false" aria-label =" Toggle navigation" >
5
7
<span class =" navbar-toggler-icon" ></span >
6
8
</button >
17
19
</li >
18
20
</ul >
19
21
22
+ {% if not is_productive %}
23
+ <ul class =" navbar-nav" >
24
+ <h5 class =" text-danger" >!! Testsystem, Keine echten Eingaben !!</h5 >
25
+ </ul >
26
+ {% endif %}
27
+
20
28
<ul class =" navbar-nav ms-auto" >
21
29
<li class =" nav-item dropdown" >
22
30
<a class =" nav-link dropdown-toggle" href =" #" id =" navbarDropdown" role =" button" data-bs-toggle =" dropdown" title =" navbar.choose_language" aria-expanded =" false" data-bs-reference =" window" >
Original file line number Diff line number Diff line change 4
4
{% block page_title ' dashboard.title' | trans %}
5
5
6
6
{% block page_content %}
7
+ {% if not is_productive %}
8
+ <div class =" alert alert-warning rounded mb-2" >
9
+ <h1 >Testumgebung. Kein produktiver Betrieb! Nicht für echte Eingaben verwenden!</h1 >
10
+ </div >
11
+ {% endif %}
12
+
7
13
<div class =" alert alert-info rounded" >
8
14
<h1 >{% trans %}dashboard.welcome{% endtrans %}</h1 >
9
15
<h4 >{% trans %}dashboard.explanation{% endtrans %}</h4 >
Original file line number Diff line number Diff line change 1
1
{% extends " base.html.twig" %}
2
2
3
3
{% block content %}
4
+ {% if not is_productive %}
5
+ <div class =" alert alert-warning" >
6
+ Testumgebung. Kein produktiver Betrieb! Nicht für echte Eingaben verwenden!
7
+ </div >
8
+ {% endif %}
9
+
4
10
<div class =" bg-body-tertiary p-5 rounded" >
5
11
<h1 class =" fs-1" >{% trans %}homepage.welcome{% endtrans %}</h1 >
6
12
<p class =" fs-4" >{% trans %}homepage.explaination{% endtrans %}</p >
You can’t perform that action at this time.
0 commit comments