{% extends 'bootstrap-modal-layout.html.twig' %}

{% block title %}{{'公告'|trans}}{% endblock %}

{% set hide_footer = true %}

{% block body %}
  <div class="announcement-detail clearfix">
    <div>
      {% if announcement.content | default('') %}
        {{ announcement.content | raw }}
      {% endif %}
    </div>
    <div class="text-muted pull-right mtm">{{'发表于%createdTime%'|trans({'%createdTime%': announcement.createdTime | date('Y-m-d H:i') })}}</div>
  </div>
{% endblock %}