{% extends 'my/layout.html.twig' %}

{% block title %}{{'my.learning.thread'|trans}} - {{ parent() }}{% endblock %}

{% set side_nav = 'my-discussions' %}

{% block main %}

<div class="panel panel-default panel-col">
  <div class="panel-heading">{{'my.learning.thread'|trans}}</div>

  <div class="panel-body">
    {% include 'my/learning/thread/tab.html.twig'%}
    {% if threads %}
	    {% include 'my/learning/thread/thread-list.html.twig'  with {type: 'discussion'} %}
	  {% else %}
	    <div class="empty">{{'my.learning.thread.empty'|trans}}</div>
	  {% endif %}
  </div>
</div>
{% endblock %}