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') }}
|
2016-07-04 09:33:57 +02:00
|
|
|
{% stylesheet 'activity' %}
|
2012-12-05 19:24:00 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2012-11-09 00:09:58 +01:00
|
|
|
{% block content %}
|
|
|
|
|
2013-11-04 16:50:07 +01:00
|
|
|
{% if not is_home %}
|
|
|
|
<a class="show-all" href="/activity">Home</a>
|
2013-09-25 23:47:54 +02:00
|
|
|
<br />
|
|
|
|
{% endif %}
|
|
|
|
|
2013-11-04 16:50:07 +01:00
|
|
|
<h4>{{ title }}</h4>
|
|
|
|
|
2013-12-18 19:40:07 +01:00
|
|
|
{% if realm_link %}
|
|
|
|
<a href="{{ realm_link }}">Graph</a><br />
|
|
|
|
{% endif %}
|
2013-09-25 23:47:54 +02:00
|
|
|
|
2012-12-05 17:57:12 +01:00
|
|
|
<ul class="nav nav-tabs">
|
2013-09-25 18:10:56 +02:00
|
|
|
{% for name, activity in data %}
|
2016-04-21 08:48:33 +02:00
|
|
|
<li {% if loop.first %} class="active" {% endif %}>
|
2013-10-22 17:11:54 +02:00
|
|
|
<a href="#{{ name|slugify }}" data-toggle="tab">{{ name }}</a>
|
2012-12-05 17:57:12 +01:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="tab-content">
|
2012-11-09 00:09:58 +01:00
|
|
|
|
2013-09-25 18:10:56 +02:00
|
|
|
{% for name, activity in data %}
|
2012-12-05 17:57:12 +01:00
|
|
|
|
2016-04-21 08:48:33 +02:00
|
|
|
<div class="tab-pane {% if loop.first %} active {% endif %}" id="{{ name|slugify }}">
|
|
|
|
{{ activity|safe }}
|
2012-12-05 17:57:12 +01:00
|
|
|
</div>
|
2012-11-09 00:09:58 +01:00
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
2012-12-05 17:57:12 +01:00
|
|
|
</div>
|
|
|
|
|
2012-11-09 00:09:58 +01:00
|
|
|
{% endblock %}
|