blob: d360a6513a5edcd9d2c07f3c385812a9666aa250 (
plain) (
blame)
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
28
29
30
31
32
33
34
35
36
37
|
{% extends "layouts/content" %}
{% block content %}
{% if not msgs.isEmpty() %}
<ul id="private-messages">
{% for msg in msgs %}
<li class="msg">
<div class="msg-cont">
<div class="msg-header">
@<a href="/{{ msg.getUser().getName() }}/">{{ msg.getUser().getName() }}</a>:
<div class="msg-avatar">
<a href="/{{ msg.getUser().getName() }}/">
<img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getName() }}"/>
</a>
</div>
<div class="msg-ts">{{ msg.getDate() }}</div>
</div>
<div class="msg-txt">{{ msg | formatMessage }}</div>
{% if not readonly %}
<form action="/pm/send" method="POST" enctype="multipart/form-data">
<input type="hidden" name="uname" value="{{ msg.getUser().getName() }}"/>
<div class="msg-comment">
<div class="ta-wrapper">
<textarea name="body" rows="1" class="replypm" placeholder="Написать ответ"></textarea>
</div>
</div>
</form>
{% endif %}
</div>
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block "column" %}
{% include "views/partial/homecolumn" %}
{% endblock %}
|