Fix links in profile settings side bar

They were relative so would take you to e.g.

  /user/1/profile/General/General

Then

  /user/1/profile/General/General/General

etc
This commit is contained in:
Frank Hamand 2017-05-02 12:24:36 +01:00
parent de4470fd38
commit 60ee92d3c4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
master
------
* Fix profile settings sidebar links not working
Version 0.10.5
--------------

View File

@ -5,9 +5,9 @@
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<li><a href="General">General</a></li>
<li><a href="{% url 'update-alert-user-data' user.id 'General' %}">General</a></li>
{% for alert in alert_preferences %}
<li><a href="{{ alert.title }}">{{ alert.title }}</a></li>
<li><a href="{% url 'update-alert-user-data' user.id alert.title %}">{{ alert.title }}</a></li>
{% endfor %}
</ul>
</div>