<tr id="classroom-tr-{{ classroom.id }}" data-sort="{{ classroom.recommendedSeq }}">
  <td>{{ classroom.recommendedSeq }}</td>
  <td>
    <a href="{{ path('classroom_show', {id:classroom.id}) }}" target="_blank"><strong>{{ classroom.title }}</strong></a>
  </td>
  <td>
    <span class="text-muted text-sm">{{ classroom.createdTime|date('Y-n-d H:i') }}</span>
  </td>
  <td>
    {{ classroom.recommendedTime|date('Y-m-d') }}
  </td>
  <td>
    <div class="btn-group">
      <a class="btn btn-default btn-sm" href="#modal" data-toggle="modal" data-url="{{ path('admin_classroom_set_recommend', {id:classroom.id,ref:'recommendList'}) }}">{{'设置序号'|trans}}</a>

      <a href="#" type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
        <span class="caret"></span>
      </a>
      <ul class="dropdown-menu pull-right">

        <li><a class="cancel-recommend-classroom" href="javascript:" data-url="{{ path('admin_classroom_cancel_recommend', {id:classroom.id,ref:'recommendList'}) }}" title="{{'取消%name%推荐'|trans({'%name%':setting('classroom.name')|default('班级'|trans)})}}"><span class="glyphicon glyphicon-hand-right"></span> {{'取消推荐'|trans}}</a></li>

      </ul>
    </div>
  </td>
</tr>