<strong>
{% if request.path.startswith("/location") %}
{% module IPFireLogo("Location") %}
- {% elif hostname.startswith("fireinfo.") %}
+ {% elif request.path.startswith("/fireinfo") %}
{% module IPFireLogo("Fireinfo") %}
{% elif hostname.startswith("nopaste.") %}
{% module IPFireLogo("NoPaste") %}
{% end %}
{# Location #}
- {% if request.path.startswith("/projects/location") %}
+ {% if request.path.startswith("/location") %}
<a class="navbar-item is-tab
- {% if request.path == "/projects/location/how-to-use" %}is-active{% end %}"
- href="/projects/location/how-to-use">
+ {% if request.path == "/location/how-to-use" %}is-active{% end %}"
+ href="/location/how-to-use">
{{ _("How To Use") }}
</a>
<a class="navbar-item is-tab
- {% if request.path.startswith("/projects/location/download") %}is-active{% end %}"
- href="/projects/location/download">
+ {% if request.path.startswith("/location/download") %}is-active{% end %}"
+ href="/location/download">
{{ _("Download") }}
</a>
</a>
{% end %}
</div>
- {% elif hostname.startswith("fireinfo.") %}
+ {% elif request.path.startswith("/fireinfo") %}
<div class="navbar-end">
{% if current_user and current_user.is_staff() %}
<a class="navbar-item is-tab {% if request.path.startswith("/admin") %}is-active{% end %}" href="/admin">