{% if is_plugin_installed('Classroom') and version_compare(plugin_version('Classroom'), '1.0.8', '>=') %}
	<ul class="nav nav-tabs">
	<li class="{% if threadType == 'course' %}active{% endif %}"><a href="{{path('my_teaching_threads', {type:'discussion'}) }}">课程{{setting('default.user_name')|default('学员')}}话题</a></li>
	<li class="{% if threadType == 'classroom' %}active{% endif %}"><a href="{{path('my_teaching_classroom_threads', {type:'discussion'}) }}">{{ setting('classroom.name')|default("班级") }}{{setting('default.user_name')|default('学员')}}话题</a></li>
	</ul>
	<br>
{% endif %}