Fixes #6829,6805 - Disable repo remove if published

Added code to disable remove repository button if
1) Repo = RedHat
2) Repo has previously been promoted or published
3) Repo has no delete permissions.
Please remove this extra empty line.