{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/67835394","id":67835394,"diff_hunk":"@@ -1,79 +1,84 @@\n-$(document).ready(function() {\n+var $wizardForm = $(\"#event-wizard-form\");\n \n-  var counter = 0;\n-  $('.add-session-type').click(function () {\n-    var row = \"<div class='col-sm-12 row-session-type'>\" +\n-                \"<div class='col-sm-3'>\" +\n-                  \"<input type='text' class='form-control' name='session_type[name]' placeholder='Name'>\" +\n-                \"</div>\" +\n-                \"<div class='col-sm-3 input-group'>\" +\n-                  \"<input type='text' class='form-control' name='session_type[length]' placeholder='Length'>\" +\n-                  \"<span class='input-group-btn'>\" +\n-                    \"<button type='button' class='btn btn-danger remove-session-type'>-</button>\" +\n-                  \"</span>\" +\n-                \"</div>\" +\n-              \"</div>\";\n-    $('.session-types').append(row);\n-  });\n+$(document).ready(function () {\n \n-  $( \"body\" ).on( \"click\", \".remove-session-type\", function () {\n-    $(this).parent().parent().parent().remove();\n-  });\n+    var $wizard = $(\"#wizard\");\n+    var state = $wizard.data('state');\n+    var eventId = $wizard.data('id');\n \n-  $('.add-social-links').click(function () {\n-    var row = \"<div class='col-sm-12 row-social-links'>\" +\n-                \"<div class='col-sm-3'>\" +\n-                  \"<input type='text' class='form-control' name='social[name]' placeholder='Name'>\" +\n-                \"</div>\" +\n-                \"<div class='col-sm-3 input-group'>\" +\n-                  \"<input type='text' class='form-control' name='social[link]' placeholder='Length'>\" +\n-                  \"<span class='input-group-btn'>\" +\n-                    \"<button type='button' class='btn btn-danger remove-social-links'>-</button>\" +\n-                  \"</span>\" +\n-                \"</div>\" +\n-              \"</div>\";\n-    $('.social-links').append(row);\n-  });\n+    // Smart Wizard\n+    $wizard.smartWizard({\n+        labelFinish: 'Make your event live',\n+        onFinish: function () {\n+            if (state === 'Published') {","path":"open_event/static/js/admin/event/new.js","position":46,"original_position":46,"commit_id":"08bb62f9469a0d8090616aeb1ccaf32510b0f66b","original_commit_id":"08bb62f9469a0d8090616aeb1ccaf32510b0f66b","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Mixed double and single quotes.](https://www.codacy.com/app/triplez/open-event-orga-server/file/2802517067/issues/source?bid=3233864&fileBranchId=3372722#l13)","created_at":"2016-06-21T09:23:23Z","updated_at":"2016-06-21T09:23:23Z","html_url":"https://github.com/fossasia/open-event-orga-server/pull/1083#discussion_r67835394","pull_request_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments/67835394"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/1083#discussion_r67835394"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083","id":74577016,"html_url":"https://github.com/fossasia/open-event-orga-server/pull/1083","diff_url":"https://github.com/fossasia/open-event-orga-server/pull/1083.diff","patch_url":"https://github.com/fossasia/open-event-orga-server/pull/1083.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1083","number":1083,"state":"open","locked":false,"title":"Development Merged with Master Branch","user":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"body":"Conflicts resolved @niranjan94 @mariobehling ","created_at":"2016-06-21T09:20:00Z","updated_at":"2016-06-21T09:23:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42d905a84a140e7bf5a11aaf51d940a0703d44d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1083/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/08bb62f9469a0d8090616aeb1ccaf32510b0f66b","head":{"label":"rafalkowalski:master","ref":"master","sha":"08bb62f9469a0d8090616aeb1ccaf32510b0f66b","user":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"repo":{"id":60401305,"name":"open-event-orga-server","full_name":"rafalkowalski/open-event-orga-server","owner":{"login":"rafalkowalski","id":2479753,"avatar_url":"https://avatars.githubusercontent.com/u/2479753?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkowalski","html_url":"https://github.com/rafalkowalski","followers_url":"https://api.github.com/users/rafalkowalski/followers","following_url":"https://api.github.com/users/rafalkowalski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkowalski/subscriptions","organizations_url":"https://api.github.com/users/rafalkowalski/orgs","repos_url":"https://api.github.com/users/rafalkowalski/repos","events_url":"https://api.github.com/users/rafalkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkowalski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafalkowalski/open-event-orga-server","description":"The Open Event Server to manage the event(s)","fork":true,"url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server","forks_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/rafalkowalski/open-event-orga-server/deployments","created_at":"2016-06-04T08:41:35Z","updated_at":"2016-06-21T09:18:47Z","pushed_at":"2016-06-21T09:18:14Z","git_url":"git://github.com/rafalkowalski/open-event-orga-server.git","ssh_url":"git@github.com:rafalkowalski/open-event-orga-server.git","clone_url":"https://github.com/rafalkowalski/open-event-orga-server.git","svn_url":"https://github.com/rafalkowalski/open-event-orga-server","homepage":"https://open-event.herokuapp.com/admin","size":5177,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"fossasia:master","ref":"master","sha":"9ef29ffca8be8dcca485c4abe0ad579526737719","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35270176,"name":"open-event-orga-server","full_name":"fossasia/open-event-orga-server","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-orga-server","description":"The Open Event Server to manage the event(s)","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-orga-server","forks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-orga-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-orga-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-orga-server/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-orga-server/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-orga-server/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-orga-server/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-orga-server/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-orga-server/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-orga-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-orga-server/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-orga-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-orga-server/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-orga-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-orga-server/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-orga-server/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-orga-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-orga-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-orga-server/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-orga-server/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-orga-server/deployments","created_at":"2015-05-08T09:16:19Z","updated_at":"2016-06-18T14:33:34Z","pushed_at":"2016-06-21T09:20:01Z","git_url":"git://github.com/fossasia/open-event-orga-server.git","ssh_url":"git@github.com:fossasia/open-event-orga-server.git","clone_url":"https://github.com/fossasia/open-event-orga-server.git","svn_url":"https://github.com/fossasia/open-event-orga-server","homepage":"https://open-event.herokuapp.com","size":5847,"stargazers_count":18,"watchers_count":18,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":74,"forks":44,"open_issues":74,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083"},"html":{"href":"https://github.com/fossasia/open-event-orga-server/pull/1083"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1083"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/issues/1083/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/pulls/1083/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-orga-server/statuses/08bb62f9469a0d8090616aeb1ccaf32510b0f66b"}}}}
{"actor":{"display_login":"codacy-bot"}}