From a2ea745268de65b020b758e35741d1f7cc72129e Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Mar 03 2017 15:58:28 +0000 Subject: Change colspan to match issue table space When there is no issues in project then table content should show "No issues found" with right colspan. This fix makes colspan for this message to "6" Signed-off-by: Abhijeet Kasurde --- diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index a3640b5..3b08fd4 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -296,7 +296,7 @@ {% else %} - No issues found + No issues found {% endfor %} diff --git a/tests/test_pagure_flask_ui_repo_slash_name.py b/tests/test_pagure_flask_ui_repo_slash_name.py index 432430b..0d88587 100644 --- a/tests/test_pagure_flask_ui_repo_slash_name.py +++ b/tests/test_pagure_flask_ui_repo_slash_name.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ - (c) 2016 - Copyright Red Hat Inc + (c) 2016-2017 - Copyright Red Hat Inc Authors: Pierre-Yves Chibon @@ -166,7 +166,7 @@ class PagureFlaskSlashInNametests(tests.Modeltests): self.assertIn( 'Issues - forks/test - Pagure', output.data) self.assertIn( - 'No issues found', + 'No issues found', output.data) @patch('pagure.lib.notify.send_email') @@ -238,7 +238,7 @@ class PagureFlaskSlashInNametests(tests.Modeltests): self.assertIn( 'Issues - forks/test - Pagure', output.data) self.assertIn( - 'No issues found', + 'No issues found', output.data) # Try accessing the commit