mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +00:00
Fix a bug for no msgs in a new created group
This commit is contained in:
@@ -16,15 +16,15 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block main_panel %}
|
||||
{% if group_msgs %}
|
||||
<ul class="msg-list" id="msg-list">
|
||||
{% if group_msgs %}
|
||||
{% include "api2/discussions_body.html" %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% if group_msgs.has_next %}
|
||||
{% if group_msgs and group_msgs.has_next %}
|
||||
<div id="loading-icon" data-next="{{ group_msgs.next_page_number }}"><img src="{{MEDIA_URL}}img/loading-icon.gif" alt="{% trans 'Loading...' %}" /></div>
|
||||
<p id="loading-error" class="error hide"></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_script %}
|
||||
|
Reference in New Issue
Block a user