{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/23717900","id":23717900,"diff_hunk":"@@ -0,0 +1,59 @@\n+- if x_active_tree == :settings_tree\n+  - url = url_for(:action=>'ap_form_field_changed', :id=>\"#{@scan.id || \"new\"}\")\n+  #ap_form_div\n+    = form_tag(url_for(:action => 'ap_edit', :id=>\"#{@scan.id || \"new\"}\"), :remote=>true) do\n+      = render :partial => \"layouts/flash_msg\"\n+      %fieldset\n+        %p.legend Basic Information\n+        %table.style1\n+          %tr\n+            %td.key Name\n+            %td.wide\n+              = text_field_tag(\"name\",\n+                @edit[:new][:name].to_s,\n+                :maxlength=>MAX_NAME_LEN,\n+                \"data-miq_observe\"=>{:interval=>'.5', :url=>url}.to_json)\n+          - if !params[:add] && params[:add] != \"new\"\n+            = javascript_tag(javascript_focus('name'))\n+          %tr\n+            %td.key Description\n+            %td.wide\n+              = text_field_tag(\"description\",\n+                @edit[:new][:description],\n+                :maxlength=>MAX_DESC_LEN,\n+                \"data-miq_observe\"=>{:interval=>'.5', :url=>url}.to_json)","path":"vmdb/app/views/ops/_ap_form.html.haml","position":24,"original_position":24,"commit_id":"70be7f4582a62e9989a4b730c574edf7e5f046f2","original_commit_id":"70be7f4582a62e9989a4b730c574edf7e5f046f2","user":{"login":"martinpovolny","id":51095,"avatar_url":"https://avatars.githubusercontent.com/u/51095?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpovolny","html_url":"https://github.com/martinpovolny","followers_url":"https://api.github.com/users/martinpovolny/followers","following_url":"https://api.github.com/users/martinpovolny/following{/other_user}","gists_url":"https://api.github.com/users/martinpovolny/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpovolny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpovolny/subscriptions","organizations_url":"https://api.github.com/users/martinpovolny/orgs","repos_url":"https://api.github.com/users/martinpovolny/repos","events_url":"https://api.github.com/users/martinpovolny/events{/privacy}","received_events_url":"https://api.github.com/users/martinpovolny/received_events","type":"User","site_admin":false},"body":"spaces around `=>`, please","created_at":"2015-01-28T20:00:18Z","updated_at":"2015-01-28T20:00:18Z","html_url":"https://github.com/ManageIQ/manageiq/pull/1496#discussion_r23717900","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/23717900"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/1496#discussion_r23717900"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496","id":28217843,"html_url":"https://github.com/ManageIQ/manageiq/pull/1496","diff_url":"https://github.com/ManageIQ/manageiq/pull/1496.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/1496.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/1496","number":1496,"state":"open","locked":false,"title":"Conversion Ops-settings views  to Haml","user":{"login":"jzigmund","id":2270962,"avatar_url":"https://avatars.githubusercontent.com/u/2270962?v=3","gravatar_id":"","url":"https://api.github.com/users/jzigmund","html_url":"https://github.com/jzigmund","followers_url":"https://api.github.com/users/jzigmund/followers","following_url":"https://api.github.com/users/jzigmund/following{/other_user}","gists_url":"https://api.github.com/users/jzigmund/gists{/gist_id}","starred_url":"https://api.github.com/users/jzigmund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzigmund/subscriptions","organizations_url":"https://api.github.com/users/jzigmund/orgs","repos_url":"https://api.github.com/users/jzigmund/repos","events_url":"https://api.github.com/users/jzigmund/events{/privacy}","received_events_url":"https://api.github.com/users/jzigmund/received_events","type":"User","site_admin":false},"body":"Referencing issue: https://github.com/ManageIQ/manageiq/issues/1025\r\n\r\nPR contains views related to Settings tree in Configure/Configuration.","created_at":"2015-01-28T18:38:32Z","updated_at":"2015-01-28T20:00:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba37e32ce2811e7e54c7d8fafbc37e659486dfbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/1496/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/70be7f4582a62e9989a4b730c574edf7e5f046f2","head":{"label":"jzigmund:haml_ops_settings","ref":"haml_ops_settings","sha":"70be7f4582a62e9989a4b730c574edf7e5f046f2","user":{"login":"jzigmund","id":2270962,"avatar_url":"https://avatars.githubusercontent.com/u/2270962?v=3","gravatar_id":"","url":"https://api.github.com/users/jzigmund","html_url":"https://github.com/jzigmund","followers_url":"https://api.github.com/users/jzigmund/followers","following_url":"https://api.github.com/users/jzigmund/following{/other_user}","gists_url":"https://api.github.com/users/jzigmund/gists{/gist_id}","starred_url":"https://api.github.com/users/jzigmund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzigmund/subscriptions","organizations_url":"https://api.github.com/users/jzigmund/orgs","repos_url":"https://api.github.com/users/jzigmund/repos","events_url":"https://api.github.com/users/jzigmund/events{/privacy}","received_events_url":"https://api.github.com/users/jzigmund/received_events","type":"User","site_admin":false},"repo":{"id":20885691,"name":"manageiq","full_name":"jzigmund/manageiq","owner":{"login":"jzigmund","id":2270962,"avatar_url":"https://avatars.githubusercontent.com/u/2270962?v=3","gravatar_id":"","url":"https://api.github.com/users/jzigmund","html_url":"https://github.com/jzigmund","followers_url":"https://api.github.com/users/jzigmund/followers","following_url":"https://api.github.com/users/jzigmund/following{/other_user}","gists_url":"https://api.github.com/users/jzigmund/gists{/gist_id}","starred_url":"https://api.github.com/users/jzigmund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzigmund/subscriptions","organizations_url":"https://api.github.com/users/jzigmund/orgs","repos_url":"https://api.github.com/users/jzigmund/repos","events_url":"https://api.github.com/users/jzigmund/events{/privacy}","received_events_url":"https://api.github.com/users/jzigmund/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jzigmund/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/jzigmund/manageiq","forks_url":"https://api.github.com/repos/jzigmund/manageiq/forks","keys_url":"https://api.github.com/repos/jzigmund/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jzigmund/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jzigmund/manageiq/teams","hooks_url":"https://api.github.com/repos/jzigmund/manageiq/hooks","issue_events_url":"https://api.github.com/repos/jzigmund/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/jzigmund/manageiq/events","assignees_url":"https://api.github.com/repos/jzigmund/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/jzigmund/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/jzigmund/manageiq/tags","blobs_url":"https://api.github.com/repos/jzigmund/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jzigmund/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jzigmund/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/jzigmund/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jzigmund/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/jzigmund/manageiq/languages","stargazers_url":"https://api.github.com/repos/jzigmund/manageiq/stargazers","contributors_url":"https://api.github.com/repos/jzigmund/manageiq/contributors","subscribers_url":"https://api.github.com/repos/jzigmund/manageiq/subscribers","subscription_url":"https://api.github.com/repos/jzigmund/manageiq/subscription","commits_url":"https://api.github.com/repos/jzigmund/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/jzigmund/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/jzigmund/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/jzigmund/manageiq/issues/comments/{number}","contents_url":"https://api.github.com/repos/jzigmund/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/jzigmund/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jzigmund/manageiq/merges","archive_url":"https://api.github.com/repos/jzigmund/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jzigmund/manageiq/downloads","issues_url":"https://api.github.com/repos/jzigmund/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/jzigmund/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/jzigmund/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/jzigmund/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jzigmund/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/jzigmund/manageiq/releases{/id}","created_at":"2014-06-16T13:25:20Z","updated_at":"2014-06-18T17:26:41Z","pushed_at":"2015-01-28T18:24:01Z","git_url":"git://github.com/jzigmund/manageiq.git","ssh_url":"git@github.com:jzigmund/manageiq.git","clone_url":"https://github.com/jzigmund/manageiq.git","svn_url":"https://github.com/jzigmund/manageiq","homepage":null,"size":61482,"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":"787bc430838f2958d111fa13c29152c0ed31f6fc","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-01-28T19:47:06Z","pushed_at":"2015-01-28T19:47:05Z","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":87071,"stargazers_count":80,"watchers_count":80,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":232,"forks":83,"open_issues":232,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/1496"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/1496"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/1496/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/1496/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/70be7f4582a62e9989a4b730c574edf7e5f046f2"}}}}