Unpacking modules
This commit is contained in:
parent
1e7787e24e
commit
a9006bf1bc
36 changed files with 971 additions and 822 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% block body %}
|
||||
{% include "includes/infobox_profile.html" %}
|
||||
<h2>Messages from {{ user.username }}</h2>
|
||||
{% if not current_user.is_anonymous %}
|
||||
{% if user.username != current_user.username %}
|
||||
{% if current_user|is_following(user) %}
|
||||
<form action="{{ url_for('user_unfollow', username=user.username) }}" method="post">
|
||||
<input type="submit" class="follow_button following" value="- Un-follow" />
|
||||
</form>
|
||||
{% else %}
|
||||
<form action="{{ url_for('user_follow', username=user.username) }}" method="post">
|
||||
<input type="submit" class="follow_button" value="+ Follow" />
|
||||
</form>
|
||||
{% endif %}
|
||||
<p><a href="/create/?preload=%2B{{ user.username }}">Mention this user in a message</a></p>
|
||||
{% else %}
|
||||
<a href="/create/">Create a message</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<ul>
|
||||
{% for message in message_list %}
|
||||
<li id="{{ message.id }}">{% include "includes/message.html" %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% include "includes/pagination.html" %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue