Added quick mention, improved create experience

This commit is contained in:
Yusur 2019-10-10 14:22:06 +02:00
parent bd188a02bc
commit 528e9e2c1c
4 changed files with 6 additions and 4 deletions

View file

@ -12,13 +12,14 @@
{% 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" value="- Un-follow" />
<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" value="+ Follow" />
<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>
{% endif %}
{% endif %}
<ul>