{% extends "dashboard/base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load render_table from django_tables2 %}

{% block title-page %}{% trans "Broadcast Messages" %}{% endblock %}

{% block content %}

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <a href="{% url "dashboard.views.message-create" %}" class="pull-right btn btn-success btn-xs">
          <i class="fa fa-plus"></i> {% trans "new message" %}
        </a>
        <h3 class="no-margin"><i class="fa fa-bullhorn"></i> {% trans "Broadcast Messages" %}</h3>
      </div>
      <div class="panel-body">
        <div class="table-responsive">
          {% render_table table %}
        </div>
      </div>
    </div>
  </div>
</div>

{% endblock %}
