Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 084198a69379d211c2cdda5e82461970cf4f59c2
Author: Valentin Gologuzov <vgologuz(a)redhat.com>
Date: Mon Mar 2 11:18:43 2015 +0100
[frontend] hide statistics for the current release
---------------------------------------------------------------
frontend/coprs_frontend/coprs/config.py | 1 +
.../coprs/templates/coprs/detail/overview.html | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/config.py
b/frontend/coprs_frontend/coprs/config.py
index 15f3c08..aac1e66 100644
--- a/frontend/coprs_frontend/coprs/config.py
+++ b/frontend/coprs_frontend/coprs/config.py
@@ -46,6 +46,7 @@ class Config(object):
INTRANET_IPS = ["127.0.0.1"]
DEBUG = True
+
class ProductionConfig(Config):
DEBUG = False
# SECRET_KEY = "put_some_secret_here"
diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/overview.html
b/frontend/coprs_frontend/coprs/templates/coprs/detail/overview.html
index 96c76e6..010e900 100644
--- a/frontend/coprs_frontend/coprs/templates/coprs/detail/overview.html
+++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/overview.html
@@ -23,7 +23,7 @@
<tr>
<th class="leftmost">Release</th>
<th>Architecture</th>
- <th>#Downloads</th>
+ <!-- <th>#Downloads</th> -->
<th class="rightmost">Yum Repo </th>
</tr>
{% for repo in repos_info_list %}
@@ -34,17 +34,18 @@
<td>
{{ repo.arch_list|join(", ") }}
</td>
- <td>
+ <!-- <td>
<center> {{ repo.dl_stat }} </center> <br />
- <!-- --->
+
# of repo dl last week<br />
{% for arch in repo.arch_list %}
{{arch}}: {{ repo.rpm_dl_stat[arch] }} <br />
{% endfor %}
- <!-- -->
+
</td>
+ -->
<td class="rightmost">
<a href="{{
url_for(