Skip to content

Commit

Permalink
fix: show project name after selection
Browse files Browse the repository at this point in the history
  • Loading branch information
dnikolay-ebc committed Jul 14, 2022
1 parent a84053a commit a2cd2af
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/Entirety/templates/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<ul class="nav nav-flush flex-column flex-nowrap text-center text-md-start">
{% if user.is_authenticated %}
{% if project %}
<li class="nav-item border-bottom d-inline-flex">
<a class="nav-link disabled py-md-2"
data-bs-toggle="tooltip" data-bs-placement="right" data-bs-custom-class="d-md-none"
title="{{ project }}">
<span class="d-none d-md-inline-flex">{{ project }}</span>
</a>
</li>
<li class="nav-item border-bottom d-inline-flex">
<a href="#" class="nav-link btn-sidebar py-md-2"
data-bs-toggle="tooltip" data-bs-placement="right" data-bs-custom-class="d-md-none"
Expand All @@ -21,7 +28,8 @@
</a>
</li>
<li class="nav-item border-bottom d-inline-flex">
<a href="{% url "subscriptions" project_id=project.uuid %}" class="nav-link btn-sidebar py-md-2"
<a href="{% url "subscriptions" project_id=project.uuid %}"
class="nav-link btn-sidebar py-md-2"
data-bs-toggle="tooltip" data-bs-placement="right" data-bs-custom-class="d-md-none"
title="Alarming">
<i class="bi bi-alarm"></i>
Expand Down

0 comments on commit a2cd2af

Please sign in to comment.