{% extends "base.html" %}
{% load semanticui %}
{% block content %}
  <div class="ui five inverted grey statistics">
    <div class="statistic">
      <div class="value">
        <i class="comment icon"></i> {{ total_messages }}
      </div>
      <div class="label">
        messages
      </div>
    </div>
    <div class="statistic">
      <div class="value">
        <i class="theater masks icon"></i> {{ total_actions }}
      </div>
      <div class="label">
        Actions
      </div>
    </div>
    <div class="statistic">
      <div class="value">
        <i class="bullhorn icon"></i> {{ total_notices }}
      </div>
      <div class="label">
        Notces
      </div>
    </div>
    <div class="statistic">
      <div class="value">
        <i class="user plus icon"></i> {{ total_joins }}
      </div>
      <div class="label">
        Joins
      </div>
    </div>
    <div class="statistic">
      <div class="value">
        <i class="user slash icon"></i> {{ total_kicks }}
      </div>
      <div class="label">
        Kicks
      </div>
    </div>
  </div>
  {% if perms.rotbot.change_channel %}
    <a href="{% url 'rotbot:channel_settings' channel.slug %}" class="ui inverted right floated button">Settings</a>
  {% endif %}
  {% if channel.autojoin and network.enabled or network.home_channel == channel.id and network.enambled %}
    <i class="power icon"></i>
  {% endif %}
  {%if channel.key %}
    <i class="privacy icon"></i>
  {% endif %}
  {% if channel.games %}
    <i class="gamepad icon"></i>
  {% endif %}
  {% if channel.statistic_commands %}
    <i class="chart pie icon"></i>
  {% endif %}
{% endblock content %}
