mirror of https://github.com/zulip/zulip.git
stats: Include Zulip and realm name in heading.
This commit is contained in:
parent
ac5c505d3c
commit
ec52322ae1
|
@ -39,7 +39,8 @@ from typing import Any, Dict, List, Tuple, Optional, Sequence, Callable, Type, \
|
|||
@zulip_login_required
|
||||
def stats(request):
|
||||
# type: (HttpRequest) -> HttpResponse
|
||||
return render_to_response('analytics/stats.html')
|
||||
return render_to_response('analytics/stats.html',
|
||||
context=dict(realm_name = request.user.realm.name))
|
||||
|
||||
@has_request_variables
|
||||
def get_chart_data(request, user_profile, chart_name=REQ(),
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
<div class="page-content">
|
||||
<div id="id_stats_errors" class="alert alert-error"></div>
|
||||
<h1 class="analytics-page-header">Analytics</h1>
|
||||
<h1 class="analytics-page-header">Zulip Analytics for {{ realm_name }}</h1>
|
||||
<div class="center-container">
|
||||
<div class="center-block">
|
||||
<p class="graph-title" id="messages_timescale_anchor">Messages Sent Over Time</p>
|
||||
|
|
Loading…
Reference in New Issue