{% extends 'FDPrivateMessageBundle::layout.html.twig' %}

{% trans_default_domain 'FDPrivateMessageBundle' %}

{% block fd_private_message_content %}
<ul>
{% for conversation in conversations %}
    <li>
        <a href="{{ url('fdpm_show_conversation', {'conversation': conversation.id}) }}">{{ conversation.subject }}</a> {{ conversation.created | date('Y-m-d H:i:s') }}
    </li>
{% else %}
    <li>
        You have no conversation yet.
    </li>
{% endfor %}
</ul>
{% endblock %}

{% extends 'FDPrivateMessageBundle::layout.html.twig' %}

{% trans_default_domain 'FDPrivateMessageBundle' %}

{% block fd_private_message_content %}
<a href="{{ url('fdpm_new_conversation') }}">{{ 'conversation.create.new' | trans }}</a>

<ul>
{% for conversation in conversations %}
    <li>
        <a href="{{ url('fdpm_show_conversation', {'conversation': conversation.id}) }}">{{ conversation.subject }}</a> {{ conversation.created | date('Y-m-d H:i:s') }}
    </li>
{% else %}
    <li>
        You have no conversation yet.
    </li>
{% endfor %}
</ul>
{% endblock %}

Add link to start new conversation
Add link to start new conversation
