{% if myFriends|default(null) %}
  <div class="topic-num">
    <div class="page-header">{{'好友在参加'|trans}}</div>
    <div class="num-list">
      {% include 'thread/event/user-grids-li.html.twig' with {members:myFriends} %}
    </div>
  </div>
{% endif %}

{% if members|default(null) %}
{% do load_script('thread/utility/member') %}
{% include 'seajs_loader_compatible.html.twig' with {topxiawebbundle: true} %}
  <div class = "topic-num">
  <div class="joined-users" data-sum="{{ membersCount|default(0) }}">
    <div class="page-header">{{'最新成员(%membersCount%)'|trans({'%membersCount%':membersCount|default(0)})}}</div>
    <div class="num-list join-members">
      {% include 'thread/event/user-grids-li.html.twig' %}
    </div>
    <div class="num-more">
    {% if membersCount|default(0) > 16 %}
      <span class="glyphicon glyphicon-chevron-down js-members-expand" style="cursor: pointer;" data-url="{{ path('ajax_thread_member_show', {threadId:threadId}) }}"></span>
      <span class="glyphicon glyphicon-chevron-up js-members-collapse" style="cursor: pointer; display:none"></span>
    {% endif %}
    </div>
  </div>
  </div>
{% endif %}
