Refactor conditionals for DisplayPackage view
Add license names to the view for listing packages