mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
frontpage: Don't show apps link when not logged in
Now, that we have link to the front page, that is the ideal page for anonymous user to go. Don't show the apps page link when user is not logged in.
This commit is contained in:
parent
f226b823a2
commit
a319f78a92
@ -91,10 +91,12 @@
|
||||
<img src="{% static 'theme/img/freedombox-logo-32px.png' %}"
|
||||
alt="{{ box_name }}" />
|
||||
</a>
|
||||
<a href="{% url 'apps:index' %}" class="navbar-brand"
|
||||
title="{% trans "Applications" %}">
|
||||
<span class="glyphicon glyphicon-th"></span>
|
||||
</a>
|
||||
{% if user.is_authenticated %}
|
||||
<a href="{% url 'apps:index' %}" class="navbar-brand"
|
||||
title="{% trans "Applications" %}">
|
||||
<span class="glyphicon glyphicon-th"></span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user