Skip to content

Commit

Permalink
Merge pull request #310 from TheSecretOrganization/298-replace-chat-i…
Browse files Browse the repository at this point in the history
…n-sidebar-by-profile-page

replace profile by person
  • Loading branch information
antoineverin authored Oct 21, 2024
2 parents ddbf55c + d73ded8 commit 78060f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions django/src/pages/templates/extends/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
</div>
</ul>
</li>
{% if user.is_authenticated %}
<li>
<button onclick=toggleSubMenu(this) class="dropdown-btn">
<img draggable="false" src="/assets/community.svg" alt="community icon">
Expand All @@ -83,9 +84,9 @@
<ul class="sub-menu">
<div>
<li>
<a data-route href="/chat" tabindex="-1">
<img draggable="false" src="/assets/chat.svg" alt="chat icon">
<span class="fw-bold">CHAT</span>
<a data-route href="/profiles/{{ user.username }}" tabindex="-1">
<img draggable="false" src="/assets/person.svg" alt="person icon">
<span class="fw-bold">PROFILE</span>
</a>
</li>
<li>
Expand All @@ -97,6 +98,7 @@
</div>
</ul>
</li>
{% endif %}
</ul>
</aside>

Expand Down
1 change: 0 additions & 1 deletion nginx/src/assets/chat.svg

This file was deleted.

1 change: 1 addition & 0 deletions nginx/src/assets/person.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 78060f4

Please sign in to comment.