{% extends "base.html" %}

{% load i18n %}

{% block head_title %}{% trans "Notice" %}{% endblock %}

{% block content %}
    <h1>{% trans "Notice" %}</h1>
    
    {% if notice.is_unseen %}
        <div class="unseen_notice">
    {% else %}
        <div class="notice">
    {% endif %}
        <span class="notice_type">[{% trans notice.notice_type.display %}]</span>
        <span class="notice_message">{{ notice.message|safe }}</span>
        <span class="notice_time">{{ notice.added }}</span>
    </div>
    
{% endblock %}