      <table id="user-table" class="table table-striped table-hover" data-search-form="#user-search-form">
          <thead>
            <tr>
              <th>用户名</th>
              <th>退出课程</th>
              <th>退出时间</th>
              <th>退出理由</th>
            </tr>
          </thead>
          <tbody>
            {% if exitLessonDetail %}
            {% for data in exitLessonDetail %}
            {% if courses[data.targetId].title|default(null) %}
              <tr>
                  <td> {{ admin_macro.user_link(users[data.userId]) }}</td>
                   <td><a href="{{ path('course_show', {id:data.targetId}) }}" target="_blank"><strong>{{ courses[data.targetId].title|default("") }}</strong></a><br></td>
                   <td>{{data.createdTime|date("Y-m-d H:i:s")}}</td>
                   <td >{{cancelledOrders[data.refundId].reasonNote}}</td>
              </tr>
              {% else %}
              <tr class="danger">
                  <td> {{ admin_macro.user_link(users[data.userId]) }}</td>
                   <td><strong>此课程已不存在</strong><br></td>
                   <td>{{data.createdTime|date("Y-m-d H:i:s")}}</td>
                   <td >{{cancelledOrders[data.refundId].reasonNote}}</td>
              </tr>
              {% endif %}
            {% endfor %}
            {% endif %}
          </tbody>
      </table>    
      {{ web_macro.paginator(paginator) }}