2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
2019-10-23 07:46:34 +02:00
|
|
|
{% set entrypoint = "activity" %}
|
2012-11-09 00:09:58 +01:00
|
|
|
|
2020-10-23 02:43:28 +02:00
|
|
|
{# User activity. #}
|
2012-11-09 00:09:58 +01:00
|
|
|
|
2013-10-11 22:29:26 +02:00
|
|
|
{% block title %}
|
2022-09-06 12:04:03 +02:00
|
|
|
<title>{{ title }} | Zulip analytics</title>
|
2013-10-11 22:29:26 +02: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>
|
2021-04-21 00:46:14 +02:00
|
|
|
<br />
|
2018-01-27 18:15:51 +01:00
|
|
|
{% endif %}
|
2013-09-25 23:47:54 +02:00
|
|
|
|
2022-12-02 14:40:26 +01:00
|
|
|
<h4>{{ title }} {% if realm_stats_link %}{{ realm_stats_link }}{% endif %}</h4>
|
2013-11-04 16:50:07 +01:00
|
|
|
|
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 %}
|