]> git.datanom.net - flask-test.git/blame - app/templates/user.html
First half
[flask-test.git] / app / templates / user.html
CommitLineData
db4f0ba9
MR
1<!-- extend base layout -->
2{% extends "base.html" %}
3
4{% block content %}
5 <table>
6 <tr valign="top">
7 <td><img src="{{ user.avatar(128) }}"></td>
8 <td>
9 <h1>User: {{ user.nickname }}</h1>
10 {% if user.about_me %}
11 <p>{{ user.about_me }}</p>
12 {% endif %}
13 {% if user.last_seen %}
14 <p><i>Last seen on: {{ user.last_seen }}</i></p>
15 {% endif %}
16 {% if user.id == g.user.id %}
17 <p><a href="{{ url_for('edit') }}">Edit</a></p>
18 {% endif %}
19 </td>
20 </tr>
21 </table>
22 <hr>
23 {% for post in posts %}
24 {% include 'post.html' %}
25 {% endfor %}
26{% endblock %}
This page took 0.03295 seconds and 5 git commands to generate.