aboutsummaryrefslogblamecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html
blob: 156877c0dd27e8a7a3fc21b763d234f7d144fd85 (plain) (tree)
1
2
3
4
5
6
7
8
9
                               




                              
                                        
                                                                         
                                        
                                                                                                     
                            
                                                                           
                  
           
                                                                
                                                                                
                                                                               




                                                                                                                            





                    
                                        
              
{% 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.user.name }}/">{{ msg.user.name }}</a>:
                <div class="msg-avatar">
                	<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.timestamp | prettyTime }}</div>
            </div>
           
            <div class="msg-txt">{{ msg | formatMessage }}</div>
            <form action="/pm/send" method="POST" enctype="multipart/form-data">
                <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>
                    </div>
                </div>
            </form>
        </div>
    </li>
    {% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block "column" %}
{% include "views/partial/homecolumn" %}
{% endblock %}