{% extends "mini_buildd/base.html" %}
{% block title %}{% block titledup %}Event Queue{% endblock %}{% endblock %}
{% block tooltip %}{{ mbd.daemon.model }} ({{ mbd.daemon.is_alive|yesno:"running,stopped" }}){% endblock %}
{% block menu %}<li>{% mbd_api_popup "power" %}</li>{% endblock %}

{% block content %}
	<h2 title="Event queue holds {{ view.mbd_events_max }} events max -- visit 'Events' page to access older events">
		Showing latest <code>{{ view.mbd_events_view_max }}</code> of <code>{{ view.mbd_events_total }}</code> total events (<span class="{{ view.mbd_events_ongoing|yesno:'mbd-ongoing,' }}"><code>{{ view.mbd_events_ongoing }}</code> ongoing</span>)
	</h2>
	{% include "mini_buildd/includes/events.html" with events=view.mbd_events id="mbd-home-events" %}
{% endblock %}
