Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outputs if a system is started as dev or staging. #1490

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/main/resources/default/templates/tycho/page-menu.html.pasta
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
height="33"
alt="Start"/>
</a>
<i:if test="isStaging()">
<div class="nav-item d-lg-none sci-bold"><i class="fa-solid fa-screwdriver-wrench"></i> TEST-SYSTEM</div>
</i:if>
<i:if test="isDevelopment()">
<div class="nav-item d-lg-none sci-bold"><i class="fa-brands fa-dev"></i> DEV-SYSTEM</div>
</i:if>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
Expand All @@ -16,8 +22,19 @@

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto">
<i:extensions target="tycho-page-menu" point="left" />
<i:extensions target="tycho-page-menu" point="left"/>
</ul>
<i:if test="isStaging()">
<div class="nav-item d-none d-lg-inline me-5 sci-bold sci-text-ellipsis"><i
class="fa-solid fa-screwdriver-wrench"></i>
TEST-SYSTEM
</div>
</i:if>
<i:if test="isDevelopment()">
<div class="nav-item d-none d-lg-inline me-5 sci-bold sci-text-ellipsis"><i class="fa-brands fa-dev"></i>
DEV-SYSTEM
</div>
</i:if>
<ul class="navbar-nav">
<i:extensions target="tycho-page-menu" point="right"/>
</ul>
Expand Down
Loading