zulip/templates/analytics/activity.html
Steve Howell cf78cb0d6e templates: Use <hr> and <br> consistently.
We now prevent these variations:

    * <hr/>
    * <hr />
    * <br/>
    * <br />

We could enforce similar consistency for other void
tags, if we wished, but these two are particularly
prevalent.
2020-04-28 17:05:48 -07:00

45 lines
902 B
HTML

{% extends "zerver/base.html" %}
{% set entrypoint = "activity" %}
{# User Activity. #}
{% block title %}
<title>{{ title }}</title>
{% 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 %}