{% load seahub_tags avatar_tags i18n %}

    <li class="msg w100 hide" data-id="{{msg.message_id}}">
        <a href="{% url 'user_profile' msg.from_email %}" class="pic fleft">{% avatar msg.from_email 48 %}</a>
        <div class="txt">
            <div class="msg-main">
                <div class="msg-hd w100 ovhd">     
                    <span class="msg-del op fright vh">{% trans "Delete" %}</span>
                    <a class="author" href="{% url 'user_profile' msg.from_email %}">{{ msg.from_email|email2nickname }}</a>
                    <span class="time">{{ msg.timestamp|translate_seahub_time }}</span>
                </div>
                <p class="msg-con">{{ msg.message|seahub_urlize|find_at|linebreaksbr }}</p>
                <span class="say"></span>
            </div>  
        </div>  
    </li>
