Skip to content

Commit

Permalink
Merge pull request #3378 from nimrodshn/adding_info_mouseover_quad
Browse files Browse the repository at this point in the history
Adding Authentication Status to the information given on quadicon
(cherry picked from commit 27c3dd5)

https://bugzilla.redhat.com/show_bug.cgi?id=1552882
  • Loading branch information
himdel authored and simaishi committed Mar 7, 2018
1 parent ca006bd commit b08a20c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/helpers/quadicon_helper.rb
Expand Up @@ -581,10 +581,13 @@ def render_ext_management_system_quadicon(item, options)
output << flobj_img_simple("layout/reflection.png")
else
output << content_tag(:div, :class => 'flobj') do
title = _("Name: %{name} | Hostname: %{hostname} | Refresh Status: %{status}") %
{:name => h(item.name),
:hostname => h(item.hostname),
:status => h(item.last_refresh_status.titleize)}
title = _("Name: %{name} | Hostname: %{hostname} | Refresh Status: %{status} | Authentication Status: %{auth_status}") %
{
:name => h(item.name),
:hostname => h(item.hostname),
:status => h(item.last_refresh_status.titleize),
:auth_status => h(item.authentication_status)
}

link_to(url_for_record(item), :title => title) do
quadicon_reflection_img
Expand Down

0 comments on commit b08a20c

Please sign in to comment.