Skip to content

Commit

Permalink
Remove full profile header from settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tina-otoge committed Sep 3, 2024
1 parent 7c0474b commit ca9a160
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions app/templates/components/profile_header_small.html.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div id="profile-header">
<header>
<div class="content">
<a href="{{ url_for('user', login=user.login) }}">
<img class="avatar" src="{{ user.avatar_url }}">
</a>
<h2 class="name">
<a href="{{ url_for('user', login=user.login) }}">
{{ user }}
</a>
</h2>
</div>
</header>
</div>
2 changes: 1 addition & 1 deletion app/templates/users/settings.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

{% block content %}

{% include "components/profile_header.html.j2" %}
{% include "components/profile_header_small.html.j2" %}

<h1>Paramètres</h1>

Expand Down

0 comments on commit ca9a160

Please sign in to comment.