Differentiating between account and profile actually makes sense, @flummer convinced me.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-03-27 09:27:57 +01:00
parent 5fdf0e70e6
commit ebb08d1c4f
2 changed files with 3 additions and 3 deletions

View file

@ -6,14 +6,14 @@
{% block content %} {% block content %}
<div class="page-header"> <div class="page-header">
<h2>Your BornHack Profile</h2> <h2>Your BornHack Account</h2>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-2">
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li><b>Profile settings</b></li> <li><b>Account settings</b></li>
{% url 'profiles:detail' as profile_detail_url %} {% url 'profiles:detail' as profile_detail_url %}
<li {% if request.path == profile_detail_url %}class="active"{% endif %}> <li {% if request.path == profile_detail_url %}class="active"{% endif %}>

View file

@ -81,7 +81,7 @@
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li><a href="{% url 'profiles:detail' %}">Profile</a></li> <li><a href="{% url 'profiles:detail' %}">Account</a></li>
<li> <li>
<a href="{% url 'account_logout' %}"> <a href="{% url 'account_logout' %}">
Logout Logout