Hotfix for CoreProtect URLs (#33)

reminder
Etzelia 2019-09-26 03:42:56 +02:00 committed by Gitea
parent c813535489
commit df30af20e6
1 changed files with 3 additions and 3 deletions

View File

@ -30,12 +30,12 @@
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle " href="#" role="button" data-toggle="dropdown" id="cpDropdown">CoreProtect</a> <a class="dropdown-toggle " href="#" role="button" data-toggle="dropdown" id="cpDropdown">CoreProtect</a>
<ul class="dropdown-menu" aria-labelledby="cpDropdown"> <ul class="dropdown-menu" aria-labelledby="cpDropdown">
<li><a href="{% url 'coreprotect' %}">Web GUI</a></li> <li><a target="_blank" href="{{ CPW }}">Web GUI</a></li>
<li><a href="{% url 'activity' %}">Activity Monitor</a></li> <li><a target="_blank" href="{{ CPA }}">Activity Monitor</a></li>
</ul> </ul>
</li> </li>
{% elif perms.auth.coreprotect_partial or perms.auth.coreprotect_full %} {% elif perms.auth.coreprotect_partial or perms.auth.coreprotect_full %}
<li><a class="dropdown-item btn" href="{% url 'coreprotect' %}">CoreProtect</a></li> <li><a target="_blank" class="dropdown-item btn" href="{{ CPW }}">CoreProtect</a></li>
{% endif %} {% endif %}
{% endif %} {% endif %}
<li class="dropdown"> <li class="dropdown">