|
Revision 146:cf11e5504b2e, 0.6 kB
(checked in by Daniele Varrazzo <piro@develer.com>, 1 year ago)
|
First implementation of private messages.
|
| Line | |
|---|
| 1 |
{% load sphboard_extras %} |
|---|
| 2 |
<div class="board_posticon"> |
|---|
| 3 |
<a name="post-{{ post.id }}"></a><a href="#post-{{ post.id }}">{% sphboard_displayPostIcon post %}</a> |
|---|
| 4 |
</div> |
|---|
| 5 |
<div class="board_postheaders"> |
|---|
| 6 |
<div class="board_postdate">{{ post.postdate|date:"Y-m-d H:i:s" }} - <strong>{{ post.subject|escape }}</strong></div> |
|---|
| 7 |
{% for type, recs in recipients %} |
|---|
| 8 |
<div><strong>{{ type }}:</strong> |
|---|
| 9 |
{% for rec in recs %} |
|---|
| 10 |
{% if forloop.last %} |
|---|
| 11 |
{% sphboard_displayUserName rec.user %} |
|---|
| 12 |
{% else %} |
|---|
| 13 |
{% sphboard_displayUserName rec.user "," %} |
|---|
| 14 |
{% endif %} |
|---|
| 15 |
{% endfor %} |
|---|
| 16 |
</div> |
|---|
| 17 |
{% endfor %} |
|---|
| 18 |
</div> |
|---|