mirror of
https://github.com/status-im/cabot.git
synced 2025-02-23 18:08:06 +00:00
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:
parent
de4470fd38
commit
60ee92d3c4
5
CHANGES
5
CHANGES
@ -1,3 +1,8 @@
|
||||
master
|
||||
------
|
||||
|
||||
* Fix profile settings sidebar links not working
|
||||
|
||||
Version 0.10.5
|
||||
--------------
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user