{% import "TopxiaWebBundle::macro.html.twig" as web_macro %}
<li class="media message-me" parent-url="{{ path('message')}}">

  {{ web_macro.user_avatar(app.user, 'pull-right') }}

  <div class="media-body">
    <div class="popover left">
      <div class="arrow"></div>
      <div class="popover-content">
        <div class="message-content">
               <strong>我：</strong> 
              {{message.content|raw}}
        </div>
        <div class="message-footer">
          <span class="text-muted">{{ message.createdTime|smart_time }}</span>
          <div class="message-actions">
            <a class="text-muted delete-message" href="javascript:" data-url="{{ path('message_delete',{conversationId:conversation.id, messageId:message.id })}}">删除</a>
          </div>
        </div>
      </div>
    </div>
  </div>

</li>