{% load i18n seahub_tags %}
{% for notice in notices %}
{% if notice.is_group_msg %}
{% with group_message=notice.format_group_message %}
{% if group_message %}
{{ group_message|safe }}
{{ notice.timestamp|translate_seahub_time }}
{% endif %}
{% endwith %}
{% elif notice.is_grpmsg_reply %}
{% with grpmsg_reply=notice.format_grpmsg_reply %}
{% if grpmsg_reply %}