Commit 73df093e239a7cdb0a7446b0cc80c5442423c0e8
1 parent
80fc879b
Exists in
master
and in
5 other branches
Side bar ... #52
Showing
1 changed file
with
12 additions
and
8 deletions
Show diff stats
users/templates/users/profile.html
... | ... | @@ -12,14 +12,18 @@ |
12 | 12 | {% endblock %} |
13 | 13 | |
14 | 14 | {% block sidebar %} |
15 | - <div class="list-group"> | |
16 | - <a href="{% url 'users:profile' %}" class="list-group-item active"> | |
17 | - {% trans 'Profile' %} | |
18 | - </a> | |
19 | - <a href="{% url 'users:update_profile' %}" class="list-group-item"> | |
20 | - {% trans 'Edit Profile' %} | |
21 | - </a> | |
22 | - </div> | |
15 | + <div class="panel panel-primary navigation"> | |
16 | + <div class="panel-heading"> | |
17 | + <h5>Profile</h5> | |
18 | + </div> | |
19 | + <div class="panel-body"> | |
20 | + <ul class="nav nav-pills nav-stacked"> | |
21 | + <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
22 | + <li><a href="{% url 'users:profile' %}">{% trans 'View Profile' %}</a></li> | |
23 | + <li><a href="{% url 'users:edit_profile' user.id %}">{% trans 'Edit Profile' %}</a></li> | |
24 | + </ul> | |
25 | + </div> | |
26 | + </div> | |
23 | 27 | {% endblock %} |
24 | 28 | |
25 | 29 | {% block content %} | ... | ... |