Katello/katello — pull request #1990 by bbuckingham (2013-04-16 21:04:51+00:00)
Title: content views - ui - add the ability to delete a content view

This PR has a couple of commits. The main change
is to provide the UI modifications to allow a user to
delete a content view. It also contains a minor refactor
to move the 'refresh' action from the definitions controller
to the views controller.

In order for a user to be able to delete a view, it
must only exist in Library. If it exists in other environments
the remove will be disabled and a tipsy will be displayed
to inform the user.

As part of the changes to support deleting a view, changes
were also made to ensure that the following actions may
not be performed at the same time from the UI:
delete, refresh, publish view