commit message
This commit is contained in:
17
templates/profiles_index.html
Normal file
17
templates/profiles_index.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<title>Profiles</title>
|
||||
<h1>Profiles</h1>
|
||||
{% if profiles_list %}
|
||||
<ul>
|
||||
{% for profile in profiles_list %}
|
||||
<li>
|
||||
<a href="{% url 'profile' username=profile.user.username %}">
|
||||
{{ profile.user.username }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No profiles are available.</p>
|
||||
{% endif %}
|
||||
<div><a href="{% url 'index' %}">Home</a></div>
|
||||
<div><a href="{% url 'lettings_index' %}">Lettings</a></div>
|
||||
Reference in New Issue
Block a user