Skip to content

Commit

Permalink
- no need for calendar menu item when we have no tools and no areas
Browse files Browse the repository at this point in the history
  • Loading branch information
rptmat57 committed Sep 3, 2024
1 parent c5cb992 commit d30e136
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions NEMO/templates/base/navbar_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
<div class="navbar-collapse collapse" id="site-navigation">
<ul class="nav navbar-nav">
{% block navbar_main %}
<li>
<a href="{% url 'calendar' %}">{{ calendar_page_title }}</a>
</li>
{% if tools_exist or areas_exist %}
<li>
<a href="{% url 'calendar' %}">{{ calendar_page_title }}</a>
</li>
{% endif %}
{% if tools_exist %}
<li>
<a href="{% url 'tool_control' %}">{{ tool_control_page_title }}</a>
Expand Down

0 comments on commit d30e136

Please sign in to comment.