templates/super/review_batch/list.html.twig line 1

Open in your IDE?
  1. {% extends 'super/list/name.html.twig' %}
  2. {% block content %}
  3. {% embed '_list.html.twig' %}
  4. {% block list_buttons %}
  5. <p>
  6.     <a href="{{ path('super_'~name~'_new') }}" class="btn btn-primary" role="button">新增</a>
  7. </p>
  8. {% endblock %}
  9. {% block ths %}
  10. {{ parent() }}
  11. <th>是否当前批次</th>
  12. <th>设为当前批次</th>
  13. <th>评审专家列表</th>
  14. <th>评审项目列表</th>
  15. <th>导出评审结果</th>
  16. <th>删除</th>
  17. {% endblock %}
  18. {% block tds %}
  19. {{ parent() }}
  20. <td>{{ entity.formatCurrent }}</td>
  21. <td>
  22.     {% if not entity.current %}
  23.     <a href="{{ path('super_review_batch_current',{id:entity.id}) }}" class="btn btn-sm btn-warning confirm" role="button">设为当前批次</a>
  24.     {% endif %}
  25. </td>
  26. <td><a href="{{ path('super_reviewer_list', {id:entity.id}) }}">评审专家列表</a></td>
  27. <td><a href="{{ path('super_review_list', {id:entity.id}) }}">评审项目列表</a></td>
  28. <td><a href="{{ path('super_review_batch_export', {id:entity.id}) }}">导出评审结果</a></td>
  29. <td><a href="{{ path('super_review_batch_delete', {id:entity.id}) }}" class="confirm">删除</a></td>
  30. {% endblock %}
  31. {% endembed %}
  32. {% endblock %}
  33. {% block extra_javascripts %}
  34. {{ encore_entry_script_tags('super_review_batch_list') }}
  35. {% endblock %}