Welcome page: Explore should go to cloud.blender.org when logged in
Pointed out by Dr. Sybren
This commit is contained in:
@@ -25,10 +25,11 @@ li
|
|||||||
|
|
||||||
| {% block navigation_user %}
|
| {% block navigation_user %}
|
||||||
li.nav-item-sign-in
|
li.nav-item-sign-in
|
||||||
a.navbar-item(href="{{ url_for('users.login', next='/') }}")
|
|
||||||
| {% if current_user.is_anonymous %}
|
| {% if current_user.is_anonymous %}
|
||||||
|
a.navbar-item(href="{{ url_for('users.login', next='/') }}")
|
||||||
| Log in and Explore
|
| Log in and Explore
|
||||||
| {% else %}
|
| {% else %}
|
||||||
|
a.navbar-item(href="{{ url_for('main.homepage') }}")
|
||||||
| Explore
|
| Explore
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endblock navigation_user %}
|
| {% endblock navigation_user %}
|
||||||
|
Reference in New Issue
Block a user