{"action":"created","comment":{"url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/comments/34544893","id":34544893,"diff_hunk":"@@ -0,0 +1,140 @@\n+<?php\n+use Symfony\\Component\\Finder\\Finder;\n+$router = $this->get('router');\n+$categoriesJSString =  $view['actions']->render(\n+    new \\Symfony\\Component\\HttpKernel\\Controller\\ControllerReference('EventyabHomeBundle:GetCategories:index')\n+);\n+$categories = json_decode($categoriesJSString);\n+?>\n+\n+<link rel=\"stylesheet\" type=\"text/css\"\n+\thref=\"<?php echo $view['assets']->getUrl('css/mapAndCalendar.css') ?>\";>\n+<script\n+\tsrc=\"<?php echo $view['assets']->getUrl('js/mapAndCalendar.js') ?>\";></script>\n+<script\n+\tsrc=\"https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places\"></script>\n+<div\n+\tstyle=\"position: relative; min-width: 100%; height: 100%; min-height: 800px;\">\n+\t<div id=\"map-canvas\"></div>\n+\t<input id=\"pac-input\" class=\"controls\" type=\"text\"\n+\t\tplaceholder=\"Navigate to\"\n+\t\tstyle=\"position: absolute; top: 100px; left: 65px; opacity: .8\">\n+\t<div class=\"menu-wrap\"\n+\t\tstyle=\"position: absolute; top:145px; left:30px; text-align: center\">\n+\t\t<nav class=\"menu\">\n+\t\t\t<ul class=\"clearfix\">\n+\t\t\t\t<li><a class=\"dayDiv\">Go to</a>\n+\t\t\t\t\t<ul class=\"sub-menu\">\n+\t\t\t\t\t\t<li onClick=\"calMap.gotoToday();\"><a>Today</a></li>\n+\t\t\t\t\t\t<li onClick=\"calMap.gotoTomorrow();\"><a>Tomorrow</a></li>\n+\t\t\t\t\t\t<li onClick=\"calMap.gotoThisWeek();\"><a>This Week</a></li>\n+\t\t\t\t\t\t<li onClick=\"calMap.gotoThisWeekend();\"><a>This Weekend</a></li>\n+\t\t\t\t\t\t<li onClick=\"calMap.gotoNextWeek();\"><a>Next Week</a></li>\n+\t\t\t\t\t\t<li onClick=\"calMap.gotoNextWeekend();\"><a>Next Weekend</a></li>\n+\t\t\t\t\t</ul></li>\n+\t\t\t\t<li><a class=\"dayDiv\">Time</a>\n+\t\t\t\t\t<ul class=\"sub-menu\">\n+\t\t\t\t\t\t<form action=\"\">\n+\t\t\t\t\t\t\t<li><a><input type=\"radio\" name=\"timeOfDay\" value=\"AllDay\"\n+\t\t\t\t\t\t\t\t\tchecked=\"checked\" onchange=\"calMap.AllDayEvents();\">Any time</a></li>\n+\t\t\t\t\t\t\t<li><a><input type=\"radio\" name=\"timeOfDay\" value=\"Morning\"\n+\t\t\t\t\t\t\t\t\tonchange=\"calMap.MorningEvents();\">Morning</a></li>\n+\t\t\t\t\t\t\t<li><a><input type=\"radio\" name=\"timeOfDay\" value=\"Afternoon\"\n+\t\t\t\t\t\t\t\t\tonchange=\"calMap.AfternoonEvents();\">Afternoon</a></li>\n+\t\t\t\t\t\t\t<li><a><input type=\"radio\" name=\"timeOfDay\" value=\"Evening\"\n+\t\t\t\t\t\t\t\t\tonchange=\"calMap.EveningEvents();\">Evening</a></li>\n+\t\t\t\t\t\t\t<li><a><input type=\"radio\" name=\"timeOfDay\" value=\"Night\"\n+\t\t\t\t\t\t\t\t\tonchange=\"calMap.NightEvents();\">Night</a></li>\n+\t\t\t\t\t\t</form>\n+\t\t\t\t\t</ul></li>\n+\t\t\t\t<li><a class=\"dayDiv\">Type</a>\n+\t\t\t\t\t<ul class=\"sub-menu\">\n+<?php\n+for($i = 0; $i < count ( $categories ); $i ++) {\n+\t$category = $categories [$i];\n+\techo '<li><a><input type=\"checkbox\" name=\"' . $category . '\" value=\"' . $category . '\"\n+\t\t\t\tchecked=\"checked\" onchange=\"calMap.toggleCategoryFilter(this.value)\">' . $category . '</a></li>';\n+}\n+?>\n+\t\t\t\t\t\t\t</ul></li>\n+\t\t\t\t<li><a class=\"dayDiv\">Name</a>\n+\t\t\t\t\t<ul class=\"sub-menu\">\n+\t\t\t\t\t\t<li><a><input type=\"text\" name=\"search\"\n+\t\t\t\t\t\t\t\tstyle=\"padding: 10px; border: solid 1px #fff; box-shadow: inset 1px 1px 2px 0 #707070; transition: box-shadow 0.3s; width: 100%\"\n+\t\t\t\t\t\t\t\tplaceholder=\"Search By Event Name\"\n+\t\t\t\t\t\t\t\tonkeyup=\"calMap.filterByName(this.value)\"></a></li>\n+\t\t\t\t\t</ul></li>\n+\t\t\t</ul>\n+\t\t</nav>\n+\t</div>\n+\n+\n+\t<div\n+\t\tstyle=\"position: absolute; width: calc(100% -40px); top: 15px; left: 20px; right: 20px;\">","path":"src/Eventyab/HomeBundle/Resources/views/Default/calendarAndMap.html.php","position":73,"original_position":73,"commit_id":"946b1dbf2b7b7d0154dab232a20f6dc1175995a8","original_commit_id":"946b1dbf2b7b7d0154dab232a20f6dc1175995a8","user":{"login":"smajazayeri","id":12840373,"avatar_url":"https://avatars.githubusercontent.com/u/12840373?v=3","gravatar_id":"","url":"https://api.github.com/users/smajazayeri","html_url":"https://github.com/smajazayeri","followers_url":"https://api.github.com/users/smajazayeri/followers","following_url":"https://api.github.com/users/smajazayeri/following{/other_user}","gists_url":"https://api.github.com/users/smajazayeri/gists{/gist_id}","starred_url":"https://api.github.com/users/smajazayeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smajazayeri/subscriptions","organizations_url":"https://api.github.com/users/smajazayeri/orgs","repos_url":"https://api.github.com/users/smajazayeri/repos","events_url":"https://api.github.com/users/smajazayeri/events{/privacy}","received_events_url":"https://api.github.com/users/smajazayeri/received_events","type":"User","site_admin":false},"body":"please remove all inline stylings from this file.","created_at":"2015-07-14T07:56:18Z","updated_at":"2015-07-14T07:56:18Z","html_url":"https://github.com/mfivebusiness/Eventyab/pull/5#discussion_r34544893","pull_request_url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/comments/34544893"},"html":{"href":"https://github.com/mfivebusiness/Eventyab/pull/5#discussion_r34544893"},"pull_request":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5","id":39887116,"html_url":"https://github.com/mfivebusiness/Eventyab/pull/5","diff_url":"https://github.com/mfivebusiness/Eventyab/pull/5.diff","patch_url":"https://github.com/mfivebusiness/Eventyab/pull/5.patch","issue_url":"https://api.github.com/repos/mfivebusiness/Eventyab/issues/5","number":5,"state":"open","locked":false,"title":"Calendar and map","user":{"login":"mamrooz","id":12481325,"avatar_url":"https://avatars.githubusercontent.com/u/12481325?v=3","gravatar_id":"","url":"https://api.github.com/users/mamrooz","html_url":"https://github.com/mamrooz","followers_url":"https://api.github.com/users/mamrooz/followers","following_url":"https://api.github.com/users/mamrooz/following{/other_user}","gists_url":"https://api.github.com/users/mamrooz/gists{/gist_id}","starred_url":"https://api.github.com/users/mamrooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamrooz/subscriptions","organizations_url":"https://api.github.com/users/mamrooz/orgs","repos_url":"https://api.github.com/users/mamrooz/repos","events_url":"https://api.github.com/users/mamrooz/events{/privacy}","received_events_url":"https://api.github.com/users/mamrooz/received_events","type":"User","site_admin":false},"body":"Added\r\nEvents veiw. (Calendar and Map)\r\nGetEvents Controller\r\nGetCategories Controller\r\nmapAndCalendar.js and .css","created_at":"2015-07-14T07:00:48Z","updated_at":"2015-07-14T07:56:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3501965faca02b2ca31a0839c7b146785adb73d","assignee":{"login":"smajazayeri","id":12840373,"avatar_url":"https://avatars.githubusercontent.com/u/12840373?v=3","gravatar_id":"","url":"https://api.github.com/users/smajazayeri","html_url":"https://github.com/smajazayeri","followers_url":"https://api.github.com/users/smajazayeri/followers","following_url":"https://api.github.com/users/smajazayeri/following{/other_user}","gists_url":"https://api.github.com/users/smajazayeri/gists{/gist_id}","starred_url":"https://api.github.com/users/smajazayeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smajazayeri/subscriptions","organizations_url":"https://api.github.com/users/smajazayeri/orgs","repos_url":"https://api.github.com/users/smajazayeri/repos","events_url":"https://api.github.com/users/smajazayeri/events{/privacy}","received_events_url":"https://api.github.com/users/smajazayeri/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5/commits","review_comments_url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5/comments","review_comment_url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mfivebusiness/Eventyab/issues/5/comments","statuses_url":"https://api.github.com/repos/mfivebusiness/Eventyab/statuses/946b1dbf2b7b7d0154dab232a20f6dc1175995a8","head":{"label":"mamrooz:CalendarAndMap","ref":"CalendarAndMap","sha":"946b1dbf2b7b7d0154dab232a20f6dc1175995a8","user":{"login":"mamrooz","id":12481325,"avatar_url":"https://avatars.githubusercontent.com/u/12481325?v=3","gravatar_id":"","url":"https://api.github.com/users/mamrooz","html_url":"https://github.com/mamrooz","followers_url":"https://api.github.com/users/mamrooz/followers","following_url":"https://api.github.com/users/mamrooz/following{/other_user}","gists_url":"https://api.github.com/users/mamrooz/gists{/gist_id}","starred_url":"https://api.github.com/users/mamrooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamrooz/subscriptions","organizations_url":"https://api.github.com/users/mamrooz/orgs","repos_url":"https://api.github.com/users/mamrooz/repos","events_url":"https://api.github.com/users/mamrooz/events{/privacy}","received_events_url":"https://api.github.com/users/mamrooz/received_events","type":"User","site_admin":false},"repo":{"id":36836094,"name":"Eventyab","full_name":"mamrooz/Eventyab","owner":{"login":"mamrooz","id":12481325,"avatar_url":"https://avatars.githubusercontent.com/u/12481325?v=3","gravatar_id":"","url":"https://api.github.com/users/mamrooz","html_url":"https://github.com/mamrooz","followers_url":"https://api.github.com/users/mamrooz/followers","following_url":"https://api.github.com/users/mamrooz/following{/other_user}","gists_url":"https://api.github.com/users/mamrooz/gists{/gist_id}","starred_url":"https://api.github.com/users/mamrooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamrooz/subscriptions","organizations_url":"https://api.github.com/users/mamrooz/orgs","repos_url":"https://api.github.com/users/mamrooz/repos","events_url":"https://api.github.com/users/mamrooz/events{/privacy}","received_events_url":"https://api.github.com/users/mamrooz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mamrooz/Eventyab","description":"","fork":true,"url":"https://api.github.com/repos/mamrooz/Eventyab","forks_url":"https://api.github.com/repos/mamrooz/Eventyab/forks","keys_url":"https://api.github.com/repos/mamrooz/Eventyab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mamrooz/Eventyab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mamrooz/Eventyab/teams","hooks_url":"https://api.github.com/repos/mamrooz/Eventyab/hooks","issue_events_url":"https://api.github.com/repos/mamrooz/Eventyab/issues/events{/number}","events_url":"https://api.github.com/repos/mamrooz/Eventyab/events","assignees_url":"https://api.github.com/repos/mamrooz/Eventyab/assignees{/user}","branches_url":"https://api.github.com/repos/mamrooz/Eventyab/branches{/branch}","tags_url":"https://api.github.com/repos/mamrooz/Eventyab/tags","blobs_url":"https://api.github.com/repos/mamrooz/Eventyab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mamrooz/Eventyab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mamrooz/Eventyab/git/refs{/sha}","trees_url":"https://api.github.com/repos/mamrooz/Eventyab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mamrooz/Eventyab/statuses/{sha}","languages_url":"https://api.github.com/repos/mamrooz/Eventyab/languages","stargazers_url":"https://api.github.com/repos/mamrooz/Eventyab/stargazers","contributors_url":"https://api.github.com/repos/mamrooz/Eventyab/contributors","subscribers_url":"https://api.github.com/repos/mamrooz/Eventyab/subscribers","subscription_url":"https://api.github.com/repos/mamrooz/Eventyab/subscription","commits_url":"https://api.github.com/repos/mamrooz/Eventyab/commits{/sha}","git_commits_url":"https://api.github.com/repos/mamrooz/Eventyab/git/commits{/sha}","comments_url":"https://api.github.com/repos/mamrooz/Eventyab/comments{/number}","issue_comment_url":"https://api.github.com/repos/mamrooz/Eventyab/issues/comments{/number}","contents_url":"https://api.github.com/repos/mamrooz/Eventyab/contents/{+path}","compare_url":"https://api.github.com/repos/mamrooz/Eventyab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mamrooz/Eventyab/merges","archive_url":"https://api.github.com/repos/mamrooz/Eventyab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mamrooz/Eventyab/downloads","issues_url":"https://api.github.com/repos/mamrooz/Eventyab/issues{/number}","pulls_url":"https://api.github.com/repos/mamrooz/Eventyab/pulls{/number}","milestones_url":"https://api.github.com/repos/mamrooz/Eventyab/milestones{/number}","notifications_url":"https://api.github.com/repos/mamrooz/Eventyab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mamrooz/Eventyab/labels{/name}","releases_url":"https://api.github.com/repos/mamrooz/Eventyab/releases{/id}","created_at":"2015-06-03T23:20:50Z","updated_at":"2015-07-14T05:06:20Z","pushed_at":"2015-07-14T05:14:00Z","git_url":"git://github.com/mamrooz/Eventyab.git","ssh_url":"git@github.com:mamrooz/Eventyab.git","clone_url":"https://github.com/mamrooz/Eventyab.git","svn_url":"https://github.com/mamrooz/Eventyab","homepage":null,"size":2607,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"mfivebusiness:master","ref":"master","sha":"8ebc45fc9399bc6c63f1f0a94dc9977872c68a9a","user":{"login":"mfivebusiness","id":9458365,"avatar_url":"https://avatars.githubusercontent.com/u/9458365?v=3","gravatar_id":"","url":"https://api.github.com/users/mfivebusiness","html_url":"https://github.com/mfivebusiness","followers_url":"https://api.github.com/users/mfivebusiness/followers","following_url":"https://api.github.com/users/mfivebusiness/following{/other_user}","gists_url":"https://api.github.com/users/mfivebusiness/gists{/gist_id}","starred_url":"https://api.github.com/users/mfivebusiness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfivebusiness/subscriptions","organizations_url":"https://api.github.com/users/mfivebusiness/orgs","repos_url":"https://api.github.com/users/mfivebusiness/repos","events_url":"https://api.github.com/users/mfivebusiness/events{/privacy}","received_events_url":"https://api.github.com/users/mfivebusiness/received_events","type":"User","site_admin":false},"repo":{"id":35658345,"name":"Eventyab","full_name":"mfivebusiness/Eventyab","owner":{"login":"mfivebusiness","id":9458365,"avatar_url":"https://avatars.githubusercontent.com/u/9458365?v=3","gravatar_id":"","url":"https://api.github.com/users/mfivebusiness","html_url":"https://github.com/mfivebusiness","followers_url":"https://api.github.com/users/mfivebusiness/followers","following_url":"https://api.github.com/users/mfivebusiness/following{/other_user}","gists_url":"https://api.github.com/users/mfivebusiness/gists{/gist_id}","starred_url":"https://api.github.com/users/mfivebusiness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfivebusiness/subscriptions","organizations_url":"https://api.github.com/users/mfivebusiness/orgs","repos_url":"https://api.github.com/users/mfivebusiness/repos","events_url":"https://api.github.com/users/mfivebusiness/events{/privacy}","received_events_url":"https://api.github.com/users/mfivebusiness/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfivebusiness/Eventyab","description":"","fork":false,"url":"https://api.github.com/repos/mfivebusiness/Eventyab","forks_url":"https://api.github.com/repos/mfivebusiness/Eventyab/forks","keys_url":"https://api.github.com/repos/mfivebusiness/Eventyab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfivebusiness/Eventyab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfivebusiness/Eventyab/teams","hooks_url":"https://api.github.com/repos/mfivebusiness/Eventyab/hooks","issue_events_url":"https://api.github.com/repos/mfivebusiness/Eventyab/issues/events{/number}","events_url":"https://api.github.com/repos/mfivebusiness/Eventyab/events","assignees_url":"https://api.github.com/repos/mfivebusiness/Eventyab/assignees{/user}","branches_url":"https://api.github.com/repos/mfivebusiness/Eventyab/branches{/branch}","tags_url":"https://api.github.com/repos/mfivebusiness/Eventyab/tags","blobs_url":"https://api.github.com/repos/mfivebusiness/Eventyab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfivebusiness/Eventyab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfivebusiness/Eventyab/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfivebusiness/Eventyab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfivebusiness/Eventyab/statuses/{sha}","languages_url":"https://api.github.com/repos/mfivebusiness/Eventyab/languages","stargazers_url":"https://api.github.com/repos/mfivebusiness/Eventyab/stargazers","contributors_url":"https://api.github.com/repos/mfivebusiness/Eventyab/contributors","subscribers_url":"https://api.github.com/repos/mfivebusiness/Eventyab/subscribers","subscription_url":"https://api.github.com/repos/mfivebusiness/Eventyab/subscription","commits_url":"https://api.github.com/repos/mfivebusiness/Eventyab/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfivebusiness/Eventyab/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfivebusiness/Eventyab/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfivebusiness/Eventyab/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfivebusiness/Eventyab/contents/{+path}","compare_url":"https://api.github.com/repos/mfivebusiness/Eventyab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfivebusiness/Eventyab/merges","archive_url":"https://api.github.com/repos/mfivebusiness/Eventyab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfivebusiness/Eventyab/downloads","issues_url":"https://api.github.com/repos/mfivebusiness/Eventyab/issues{/number}","pulls_url":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls{/number}","milestones_url":"https://api.github.com/repos/mfivebusiness/Eventyab/milestones{/number}","notifications_url":"https://api.github.com/repos/mfivebusiness/Eventyab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfivebusiness/Eventyab/labels{/name}","releases_url":"https://api.github.com/repos/mfivebusiness/Eventyab/releases{/id}","created_at":"2015-05-15T06:45:50Z","updated_at":"2015-07-06T11:35:41Z","pushed_at":"2015-07-14T07:00:49Z","git_url":"git://github.com/mfivebusiness/Eventyab.git","ssh_url":"git@github.com:mfivebusiness/Eventyab.git","clone_url":"https://github.com/mfivebusiness/Eventyab.git","svn_url":"https://github.com/mfivebusiness/Eventyab","homepage":null,"size":7218,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5"},"html":{"href":"https://github.com/mfivebusiness/Eventyab/pull/5"},"issue":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/issues/5"},"comments":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/mfivebusiness/Eventyab/statuses/946b1dbf2b7b7d0154dab232a20f6dc1175995a8"}}}}