mirror of
https://github.com/rmontanana/microblog.git
synced 2025-08-19 01:05:52 +00:00
Chapter 12
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
<td>
|
||||
<h1>User: {{ user.username }}</h1>
|
||||
{% if user.about_me %}<p>{{ user.about_me }}</p>{% endif %}
|
||||
{% if user.last_seen %}<p>Last seen on: {{ user.last_seen }}</p>{% endif %}
|
||||
{% if user.last_seen %}
|
||||
<p>Last seen on: {{ moment(user.last_seen).format('LLL') }}</p>
|
||||
{% endif %}
|
||||
<p>{{ user.followers.count() }} followers, {{ user.followed.count() }} following.</p>
|
||||
{% if user == current_user %}
|
||||
<p><a href="{{ url_for('edit_profile') }}">Edit your profile</a></p>
|
||||
|
Reference in New Issue
Block a user