mgt c6 checkpoint 2.2
This commit is contained in:
		@@ -4,9 +4,16 @@
 | 
			
		||||
	<table>
 | 
			
		||||
		<tr valign="top">
 | 
			
		||||
			<td><img src="data:image/png;base64,{{ user.gen_avatar(write_png=False) }}"></td>
 | 
			
		||||
			<td><h1>User: {{ user.username }}</h1></td>
 | 
			
		||||
			<td>
 | 
			
		||||
				<h1>User: {{ user.username }}</h1>
 | 
			
		||||
				{% if user.about_me %}<p>{{ user.about_me }}</p>{% endif %}
 | 
			
		||||
				{% if user.last_seen %}<p>Last activity:{{ user.last_seen }}</p>{% endif %}
 | 
			
		||||
			</td>
 | 
			
		||||
		</tr>
 | 
			
		||||
	</table>
 | 
			
		||||
	{% if user == current_user() %}
 | 
			
		||||
	<p><a href="{{ url_for('edit_profile') }}">Edit Profile</a></p>
 | 
			
		||||
	{% endif %}
 | 
			
		||||
	<hr>
 | 
			
		||||
	{% for post in posts %}
 | 
			
		||||
		{% include '_post.html' %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user