{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/29597822","id":29597822,"diff_hunk":"@@ -1,30 +1,126 @@\n module ProviderForemanHelper\n   def textual_group_properties\n-    items = %w(hostname configuration_profile configuration_profile_desc provider provider_url zone)\n+    items = %w(hostname ipmi_present ipaddress mac_address configuration_profile_desc provider_name zone)\n     items.collect { |m| send(\"textual_#{m}\") }.flatten.compact\n   end\n \n   def textual_hostname\n-    {:label => \"#{title_for_host} Name\", :value => @record.hostname}\n+    h = {}\n+    h[:label] = \"#{title_for_host} Name\"\n+    h[:image] = \"configured_system\"\n+    h[:value] = @record.hostname\n+    h\n   end\n \n-  def textual_configuration_profile\n-    {:label => \"Configuration Profile\", :value => @record.configuration_profile.try(:name)}\n+  def textual_ipmi_present\n+    {:label => \"IPMI Present\", :value => @record.ipmi_present}\n   end\n \n-  def textual_configuration_profile_desc\n-    {:label => \"Configuration Profile Description\", :value => @record.configuration_profile.try(:description)}\n+  def textual_ipaddress\n+    {:label => \"IP Address\", :value => @record.ipaddress}\n   end\n \n-  def textual_provider\n-    {:label => \"Foreman Provider\", :value => @record.configuration_manager.provider.name}\n+  def textual_mac_address\n+    {:label => \"Mac Address\", :value => @record.mac_address}\n   end\n \n-  def textual_provider_url\n-    {:label => \"Foreman Provider URL\", :value => @record.configuration_manager.provider.url}\n+  def textual_configuration_profile_desc\n+    h = {}\n+    h[:label] = \"Configuration Profile Description\"\n+    h[:image] = \"configuration_profile\"\n+    h[:value] = @record.configuration_profile.try(:description)\n+    h[:explorer] = true\n+    h","path":"vmdb/app/helpers/provider_foreman_helper.rb","position":43,"original_position":43,"commit_id":"17984b95e2aedb3cf7d1217fb96fcb7ace64656d","original_commit_id":"17984b95e2aedb3cf7d1217fb96fcb7ace64656d","user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars.githubusercontent.com/u/1930?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrock","html_url":"https://github.com/kbrock","followers_url":"https://api.github.com/users/kbrock/followers","following_url":"https://api.github.com/users/kbrock/following{/other_user}","gists_url":"https://api.github.com/users/kbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrock/subscriptions","organizations_url":"https://api.github.com/users/kbrock/orgs","repos_url":"https://api.github.com/users/kbrock/repos","events_url":"https://api.github.com/users/kbrock/events{/privacy}","received_events_url":"https://api.github.com/users/kbrock/received_events","type":"User","site_admin":false},"body":"ditto: please use inline hash","created_at":"2015-05-04T16:15:09Z","updated_at":"2015-05-04T16:15:09Z","html_url":"https://github.com/ManageIQ/manageiq/pull/2816#discussion_r29597822","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/29597822"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/2816#discussion_r29597822"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816","id":34511527,"html_url":"https://github.com/ManageIQ/manageiq/pull/2816","diff_url":"https://github.com/ManageIQ/manageiq/pull/2816.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/2816.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2816","number":2816,"state":"open","locked":false,"title":"Foreman UI: Added more Configured System Summary screen data","user":{"login":"AparnaKarve","id":1538216,"avatar_url":"https://avatars.githubusercontent.com/u/1538216?v=3","gravatar_id":"","url":"https://api.github.com/users/AparnaKarve","html_url":"https://github.com/AparnaKarve","followers_url":"https://api.github.com/users/AparnaKarve/followers","following_url":"https://api.github.com/users/AparnaKarve/following{/other_user}","gists_url":"https://api.github.com/users/AparnaKarve/gists{/gist_id}","starred_url":"https://api.github.com/users/AparnaKarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AparnaKarve/subscriptions","organizations_url":"https://api.github.com/users/AparnaKarve/orgs","repos_url":"https://api.github.com/users/AparnaKarve/repos","events_url":"https://api.github.com/users/AparnaKarve/events{/privacy}","received_events_url":"https://api.github.com/users/AparnaKarve/received_events","type":"User","site_admin":false},"body":"https://bugzilla.redhat.com/show_bug.cgi?id=1216978\r\n\r\nRelated to issue #2744","created_at":"2015-04-30T23:42:42Z","updated_at":"2015-05-04T16:15:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5af7626b7dd92a73f87a9108c4e97c87a7fe71c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/2816/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/17984b95e2aedb3cf7d1217fb96fcb7ace64656d","head":{"label":"AparnaKarve:bz1216978_configured_system_summary","ref":"bz1216978_configured_system_summary","sha":"17984b95e2aedb3cf7d1217fb96fcb7ace64656d","user":{"login":"AparnaKarve","id":1538216,"avatar_url":"https://avatars.githubusercontent.com/u/1538216?v=3","gravatar_id":"","url":"https://api.github.com/users/AparnaKarve","html_url":"https://github.com/AparnaKarve","followers_url":"https://api.github.com/users/AparnaKarve/followers","following_url":"https://api.github.com/users/AparnaKarve/following{/other_user}","gists_url":"https://api.github.com/users/AparnaKarve/gists{/gist_id}","starred_url":"https://api.github.com/users/AparnaKarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AparnaKarve/subscriptions","organizations_url":"https://api.github.com/users/AparnaKarve/orgs","repos_url":"https://api.github.com/users/AparnaKarve/repos","events_url":"https://api.github.com/users/AparnaKarve/events{/privacy}","received_events_url":"https://api.github.com/users/AparnaKarve/received_events","type":"User","site_admin":false},"repo":{"id":20812346,"name":"manageiq","full_name":"AparnaKarve/manageiq","owner":{"login":"AparnaKarve","id":1538216,"avatar_url":"https://avatars.githubusercontent.com/u/1538216?v=3","gravatar_id":"","url":"https://api.github.com/users/AparnaKarve","html_url":"https://github.com/AparnaKarve","followers_url":"https://api.github.com/users/AparnaKarve/followers","following_url":"https://api.github.com/users/AparnaKarve/following{/other_user}","gists_url":"https://api.github.com/users/AparnaKarve/gists{/gist_id}","starred_url":"https://api.github.com/users/AparnaKarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AparnaKarve/subscriptions","organizations_url":"https://api.github.com/users/AparnaKarve/orgs","repos_url":"https://api.github.com/users/AparnaKarve/repos","events_url":"https://api.github.com/users/AparnaKarve/events{/privacy}","received_events_url":"https://api.github.com/users/AparnaKarve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AparnaKarve/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/AparnaKarve/manageiq","forks_url":"https://api.github.com/repos/AparnaKarve/manageiq/forks","keys_url":"https://api.github.com/repos/AparnaKarve/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AparnaKarve/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AparnaKarve/manageiq/teams","hooks_url":"https://api.github.com/repos/AparnaKarve/manageiq/hooks","issue_events_url":"https://api.github.com/repos/AparnaKarve/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/AparnaKarve/manageiq/events","assignees_url":"https://api.github.com/repos/AparnaKarve/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/AparnaKarve/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/AparnaKarve/manageiq/tags","blobs_url":"https://api.github.com/repos/AparnaKarve/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AparnaKarve/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AparnaKarve/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/AparnaKarve/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AparnaKarve/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/AparnaKarve/manageiq/languages","stargazers_url":"https://api.github.com/repos/AparnaKarve/manageiq/stargazers","contributors_url":"https://api.github.com/repos/AparnaKarve/manageiq/contributors","subscribers_url":"https://api.github.com/repos/AparnaKarve/manageiq/subscribers","subscription_url":"https://api.github.com/repos/AparnaKarve/manageiq/subscription","commits_url":"https://api.github.com/repos/AparnaKarve/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/AparnaKarve/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/AparnaKarve/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/AparnaKarve/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/AparnaKarve/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/AparnaKarve/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AparnaKarve/manageiq/merges","archive_url":"https://api.github.com/repos/AparnaKarve/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AparnaKarve/manageiq/downloads","issues_url":"https://api.github.com/repos/AparnaKarve/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/AparnaKarve/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/AparnaKarve/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/AparnaKarve/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AparnaKarve/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/AparnaKarve/manageiq/releases{/id}","created_at":"2014-06-13T17:37:56Z","updated_at":"2014-06-24T23:08:57Z","pushed_at":"2015-05-01T21:41:18Z","git_url":"git://github.com/AparnaKarve/manageiq.git","ssh_url":"git@github.com:AparnaKarve/manageiq.git","clone_url":"https://github.com/AparnaKarve/manageiq.git","svn_url":"https://github.com/AparnaKarve/manageiq","homepage":null,"size":71162,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"6c4e1accbdc7465d9f5ccb3770e2ef8a63ac92ee","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","created_at":"2014-06-13T02:31:26Z","updated_at":"2015-05-04T14:32:52Z","pushed_at":"2015-05-04T16:11:55Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":127278,"stargazers_count":110,"watchers_count":110,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":362,"forks":107,"open_issues":362,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/2816"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/2816"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/2816/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/2816/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/17984b95e2aedb3cf7d1217fb96fcb7ace64656d"}}}}