Skip to content

Commit

Permalink
Adding back remove friend functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
24raniwalar committed Dec 5, 2023
1 parent c3f8610 commit 3e057fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/templates/users/userprofile_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<a href="{% url 'users:user-history' object.user.pk %}"
class="btn btn-primary">Stats</a>
{% elif is_friend %}
<a class="btn btn-primary">Remove Friend</a>
<a href="{% url 'users:remove-friend' object.user.pk %}"
class="btn btn-primary">Remove Friend</a>
<a href="{% url 'users:user-history' object.user.pk %}"
class="btn btn-primary">Stats</a>
{% elif friendship_request %}
Expand Down

0 comments on commit 3e057fa

Please sign in to comment.