2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
2012-11-09 00:09:58 +01:00
|
|
|
|
|
|
|
{# User Activity. #}
|
|
|
|
|
2013-10-11 22:29:26 +02:00
|
|
|
{% block title %}
|
|
|
|
<title>{{ title }}</title>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2012-12-05 19:24:00 +01:00
|
|
|
{% block customhead %}
|
2016-04-21 08:48:33 +02:00
|
|
|
{{ super() }}
|
2017-05-25 00:23:44 +02:00
|
|
|
{{ render_bundle('activity') }}
|
2012-12-05 19:24:00 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2012-11-09 00:09:58 +01:00
|
|
|
{% block content %}
|
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
{% if not is_home %}
|
|
|
|
<a class="show-all" href="/activity">Home</a>
|
|
|
|
<br />
|
|
|
|
{% endif %}
|
2013-09-25 23:47:54 +02:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
<h4>{{ title }}</h4>
|
2013-11-04 16:50:07 +01:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
{% if realm_link %}
|
|
|
|
<a href="{{ realm_link }}">Graph</a><br />
|
|
|
|
{% endif %}
|
2013-09-25 23:47:54 +02:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
{% for name, activity in data %}
|
|
|
|
<li {% if loop.first %} class="active" {% endif %}>
|
|
|
|
<a href="#{{ name|slugify }}" data-toggle="tab">{{ name }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2012-12-05 17:57:12 +01:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
<div class="tab-content">
|
2012-11-09 00:09:58 +01:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
{% for name, activity in data %}
|
2012-12-05 17:57:12 +01:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
<div class="tab-pane {% if loop.first %} active {% endif %}" id="{{ name|slugify }}">
|
|
|
|
{{ activity|safe }}
|
|
|
|
</div>
|
2012-11-09 00:09:58 +01:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
{% endfor %}
|
2012-11-09 00:09:58 +01:00
|
|
|
|
2018-01-27 18:15:51 +01:00
|
|
|
</div>
|
2012-12-05 17:57:12 +01:00
|
|
|
|
2012-11-09 00:09:58 +01:00
|
|
|
{% endblock %}
|