From ea13dd0c7895c5aff612f1cb16f9b6c728df7b59 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 20 2017 10:08:42 +0000 Subject: Add small icon showing if issues are blocked or blocking in the issue list Fixes https://pagure.io/pagure/issue/2688 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index 9561b9f..a201724 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -215,7 +215,13 @@ {{issue.user_comments|count}} - + + {% endif %} + {% if issue.parents %} + + {% endif %} + {% if issue.children %} + {% endif %} {% for tag in issue.tags %} '), + 1) + self.assertEqual( + output.data.count( + ''), + 1) + @patch('pagure.lib.git.update_git') @patch('pagure.lib.notify.send_email') def test_update_issue_block(self, p_send_email, p_ugt):