fix issues with changed URLs
- sort all_hosting_packages before hosting_packages - allow _ in user names - only display hosting link if user is authenticated
This commit is contained in:
parent
5d19120bbf
commit
cea780a9b2
2 changed files with 9 additions and 9 deletions
|
@ -53,7 +53,7 @@
|
|||
<li><a href="{% url 'all_hosting_packages' %}">{% trans "All hosting packages" %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
{% elif user.is_authenticated %}
|
||||
<li{% if active_item == 'hostingpackage' %} class="active"{% endif %}><a href="{% url 'hosting_packages' user=user.username %}">{% trans "Hosting" %}</a></li>
|
||||
{% endif %}
|
||||
<li class="dropdown">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue