1
0
Fork 0

User page redesign

This commit is contained in:
Mouse Reeve 2020-03-16 17:09:45 -07:00
parent c41b53bdbe
commit 7e73bae07d
6 changed files with 136 additions and 64 deletions

View file

@ -0,0 +1,26 @@
{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
{% include 'user_header.html' with user=user %}
<div class="content-container">
<h2>Followers</h2>
{% for followers in followers %}
<div class="row shrink">
<div>
{% include 'snippets/avatar.html' with user=followers %}
</div>
<div>
{% include 'snippets/username.html' with user=followers show_full=True %}
</div>
<div>
{% include 'snippets/follow_button.html' with user=followers %}
</div>
</div>
{% endfor %}
{% if not followers.count %}
<div>{{ user|username }} has no followers</div>
{% endif %}
</div>
{% endblock %}