From 1c4003c6fba50fc0b6eea78c279b4064ec71d78f Mon Sep 17 00:00:00 2001 From: pkholkin Date: Thu, 24 Apr 2014 16:37:20 +0400 Subject: [PATCH] Changed member-directory report url to "/members" implements bp member-directory Change-Id: I7828ad7278aa1a180622abfc3ed7628e12698c68 --- dashboard/reports.py | 4 ++-- .../templates/reports/{registrants.html => members.html} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename dashboard/templates/reports/{registrants.html => members.html} (100%) diff --git a/dashboard/reports.py b/dashboard/reports.py index b47089b03..c88ac45ff 100644 --- a/dashboard/reports.py +++ b/dashboard/reports.py @@ -129,10 +129,10 @@ def contribution(module, days): } -@blueprint.route('/registrants') +@blueprint.route('/members') @decorators.exception_handler() @decorators.templated() -def registrants(): +def members(): days = int(flask.request.args.get('days') or DEFAULT_DAYS_COUNT) all_days = int(time.time() - utils.date_to_timestamp_ext( FIRST_MEMBER_DATE)) / (24 * 60 * 60) + 1 diff --git a/dashboard/templates/reports/registrants.html b/dashboard/templates/reports/members.html similarity index 100% rename from dashboard/templates/reports/registrants.html rename to dashboard/templates/reports/members.html