diff --git a/frontend/coprs_frontend/coprs/templates/_helpers.html b/frontend/coprs_frontend/coprs/templates/_helpers.html index e42857994..0d0a154c8 100644 --- a/frontend/coprs_frontend/coprs/templates/_helpers.html +++ b/frontend/coprs_frontend/coprs/templates/_helpers.html @@ -356,6 +356,7 @@

Task Queue

Recent Builds - View All

+ {%- if builds %}
{% for build in builds %} @@ -380,6 +381,7 @@

{{build.package.name}}

{% endfor %}
+ {% endif %} {% endmacro %} diff --git a/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py index 92099f48d..e2d922e46 100644 --- a/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py +++ b/frontend/coprs_frontend/coprs/views/coprs_ns/coprs_general.py @@ -91,7 +91,9 @@ def coprs_show(page=1): # flask.g.user is none when no user is logged - showing builds from everyone # TODO: builds_logic.BuildsLogic.get_recent_tasks(flask.g.user, 5) takes too much time, optimize sql # users_builds = builds_logic.BuildsLogic.get_recent_tasks(flask.g.user, 5) - users_builds = builds_logic.BuildsLogic.get_recent_tasks(None, 4) + # users_builds = builds_logic.BuildsLogic.get_recent_tasks(None, 4) + # err - this is all taking so much time, do not display this box on main page + users_builds = None data = builds_logic.BuildsLogic.get_small_graph_data('30min')