{% extends 'TopxiaWebBundle:MyCourse:layout.html.twig' %}

{% block title %}学习中 - {{ parent() }}{% endblock %}

{% set tab_nav = 'learning' %}

{% block main %}
	<div class="panel panel-default panel-col">
	  <div class="panel-heading">我的课程</span></div>
	  <div class="panel-body">
  		  	 {% include 'TopxiaWebBundle:MyCourse:nav-pill.html.twig' %}
	  	 {% if courses %}
		     {{ render(controller('TopxiaWebBundle:Course:coursesBlock', {courses:courses, view: 'grid', mode:'learn'})) }}
				{{ web_macro.paginator(paginator) }} 
		  {% else %}
		    <div class="empty">暂无学习中的课程</div>
		  {% endif %}
	  </div>
	</div>

{% endblock %}




