My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 78 attachment: 01.thread.patch (1.1 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- templates/forum/thread.html 2009-08-05 20:12:31.000000000 +0200
+++ ../../apps/forum/templates/forum/thread.html 2009-08-05 20:50:32.000000000 +0200
@@ -1,5 +1,5 @@
{% extends "forum_base.html" %}
-{% load i18n markup %}
+{% load i18n %}
{% block title %}{{ thread.title|escape }} ({{ forum.title }}){% endblock %}

{% block pagetitle %}{{ forum.title }} » {{ thread.title|escape }}{% endblock %}
@@ -13,9 +13,14 @@
{% for post in post_list %}

<tr>
-<th class='djangoForumThreadPostDetail' id='post{{ post.id }}'>{% blocktrans with post.time|timesince as time %}{{ time }} ago{% endblocktrans %}<br />
-{% trans "by" %} <strong>{{ post.author }}</strong></th>
-<td>{{ post.body|force_escape|markdown|safe }}</td>
+<th class='djangoForumThreadPostDetail' id='post{{ post.id }}'>
+ <div class='djangoForumThreadPostContainer'>
+ <p>{{ post.author }}<br />
+ <span class='djangoForumThreadPostDetailTime'>{% blocktrans with post.time|timesince as time %}{{ time }} ago{% endblocktrans %}</span>
+ </p>
+ </div>
+</th>
+<td>{{ post.body_html|safe }}</td>
</tr>{% endfor %}

</table>
Powered by Google Project Hosting