collect_detail.html 1014 B

1234567891011121314151617181920212223242526
  1. <div class="panel panel-default">
  2. <div class="panel-heading clearfix">
  3. <h3><strong>{{ collect.name }}</strong></h3>
  4. </div>
  5. {% if topics.items %}
  6. {% if setting.collect_list == 1 or (setting.collect_list == 2 and g.user.is_authenticated) or (g.user.is_authenticated and g.user.username == g.user_url) %}
  7. {% for topic in topics.items %}
  8. <div class="panel-body" style="border-bottom:1px solid #eee">
  9. {{ link_base.topic(topic) }}
  10. </div>
  11. {% endfor %}
  12. {{ p_footer(topics,'user.collect_detail')}}
  13. {% else %}
  14. <div class="panel-body" style="border:1px dashed #337ab7;margin:5px;">
  15. <span class="text-center" style="display:block;width:100%;color:#999">
  16. <span class="glyphicon glyphicon-lock" aria-hidden="true" style="font-size:16px;"></span>
  17. 根据用户设置,列表被隐藏
  18. </span>
  19. </div>
  20. {% endif %}
  21. {% else %}
  22. <div class="panel-body text-center">
  23. 没有收藏
  24. </div>
  25. {% endif %}
  26. </div>