AMBARI-6095 - Views: standardize way to obtain icon from view