]> git.datanom.net - flask-test.git/blame - app/templates/post.html
final
[flask-test.git] / app / templates / post.html
CommitLineData
163c4d87
MR
1<table class="table table-hover">
2 <tr>
3 <td width="70px"><a href="{{ url_for('user', nickname=post.author.nickname) }}"><img src="{{ post.author.avatar(70) }}" /></a></td>
4 <td>
5 <p><a href="{{ url_for('user', nickname=post.author.nickname) }}">{{ post.author.nickname }}</a> said {{ momentjs(post.timestamp).fromNow() }}:</p>
6 <p><strong>{{ post.body }}</strong></p>
7 {% if post.author.id == g.user.id %}
8 <div><a href="{{ url_for('delete', id=post.id) }}">Delete</a></div>
9 {% endif %}
10 </td>
db4f0ba9
MR
11 </tr>
12</table>
This page took 0.0418190000000001 seconds and 5 git commands to generate.