forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity.html
49 lines (34 loc) · 884 Bytes
/
activity.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{% extends "zerver/base.html" %}
{# User Activity. #}
{% block title %}
<title>{{ title }}</title>
{% endblock %}
{% block customhead %}
{{ super() }}
{{ minified_js('activity')|safe }}
{% stylesheet 'activity' %}
{% endblock %}
{% block content %}
{% if not is_home %}
<a class="show-all" href="/activity">Home</a>
<br />
{% endif %}
<h4>{{ title }}</h4>
{% if realm_link %}
<a href="{{ realm_link }}">Graph</a><br />
{% endif %}
<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>
<div class="tab-content">
{% for name, activity in data %}
<div class="tab-pane {% if loop.first %} active {% endif %}" id="{{ name|slugify }}">
{{ activity|safe }}
</div>
{% endfor %}
</div>
{% endblock %}