aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html
diff options
context:
space:
mode:
authorGravatar you2017-05-27 13:43:47 +0300
committerGravatar you2017-05-27 13:43:47 +0300
commit97e743385c94ac8a6084726d499c33373e255177 (patch)
tree0077987e3ecabe939f5a0595b07a6ca4ca25577b /juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html
parent6273f6ae0842f34b0c6863cf98b6f6c4cd3cd314 (diff)
juick-www: cleanup templates
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html b/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html
index d360a651..ef327734 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html
@@ -6,19 +6,19 @@
<li class="msg">
<div class="msg-cont">
<div class="msg-header">
- @<a href="/{{ msg.getUser().getName() }}/">{{ msg.getUser().getName() }}</a>:
+ @<a href="/{{ msg.user.name }}/">{{ msg.user.name }}</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 href="/{{ msg.user.name }}/">
+ <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/>
</a>
</div>
- <div class="msg-ts">{{ msg.getDate() }}</div>
+ <div class="msg-ts">{{ msg.date }}</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() }}"/>
+ <input type="hidden" name="uname" value="{{ msg.user.name }}"/>
<div class="msg-comment">
<div class="ta-wrapper">
<textarea name="body" rows="1" class="replypm" placeholder="Написать ответ"></textarea>