From 0cb1817d090c077ff3ce6af793009f76bc8f7a2a Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 16 2018 10:00:48 +0000 Subject: remove red-icon class remove the red-icon class from the pagure.css. This was only being used in the message about repo permissions being updated, and wasnt even showing anymore because it was using the old openiconic icons. Didnt replace it with the fontawesome lock, because we use this icon elsewhere to signify a private repo or issue, and no real need for a icon here tbh. --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index ff5c379..dcfb4e7 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -159,9 +159,6 @@ z-index:1; padding: 0.5em 0.6em; } -.red-icon { - color: #d9534f; -} .pagination > li { display: inline; diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index d8cc539..23bcb0b 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -371,8 +371,6 @@ Close - The permissions on this repository are being updated. This may take a while. During this time, you or some of the project's contributors may not be able to push to this repository. diff --git a/tests/test_pagure_flask_ui_slash_branch_name.py b/tests/test_pagure_flask_ui_slash_branch_name.py index 46d2eb1..43f657f 100644 --- a/tests/test_pagure_flask_ui_slash_branch_name.py +++ b/tests/test_pagure_flask_ui_slash_branch_name.py @@ -287,22 +287,16 @@ class PagureFlaskSlashInBranchtests(tests.SimplePagureTest): self.assertEqual(output.status_code, 200) output_text = output.get_data(as_text=True) self.assertIn('', output_text) - self.assertEqual( - output_text.count('', output_text) - self.assertEqual( - output_text.count('', output_text) - self.assertEqual( - output_text.count('', output_text) - self.assertEqual( - output_text.count('', output_text) - self.assertEqual( - output_text.count('