{"action":"created","comment":{"url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/comments/220165470","pull_request_review_id":158507490,"id":220165470,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDE2NTQ3MA==","diff_hunk":"@@ -0,0 +1,54 @@\n+import React from 'react';\n+import { Route, Link } from 'react-router-dom';\n+import { Button, FormControl} from 'react-bootstrap';\n+\n+const NavPanel = (props) =>{\n+    if (props.role !== 'admin'){\n+        return(\n+            <Route path=\"/sessions\" render={() => (\n+                <React.Fragment>\n+                    <div className=\"header-column\">\n+                        <Link to=\"/\">\n+                            <div className=\"logo\">\n+                                <img\n+                                    src={require('../Images/cinema_logo_white.png')}","path":"Nadim.CinemaReservationSystem.Web/ClientApp/src/components/Header/NavPanel.js","position":14,"original_position":14,"commit_id":"4ef2fb3987b869ac92d5611ff82081e42998ff66","original_commit_id":"4ef2fb3987b869ac92d5611ff82081e42998ff66","user":{"login":"andrei-kruhliakou-itechart","id":38208906,"node_id":"MDQ6VXNlcjM4MjA4OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/38208906?v=4","gravatar_id":"","url":"https://api.github.com/users/andrei-kruhliakou-itechart","html_url":"https://github.com/andrei-kruhliakou-itechart","followers_url":"https://api.github.com/users/andrei-kruhliakou-itechart/followers","following_url":"https://api.github.com/users/andrei-kruhliakou-itechart/following{/other_user}","gists_url":"https://api.github.com/users/andrei-kruhliakou-itechart/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-kruhliakou-itechart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-kruhliakou-itechart/subscriptions","organizations_url":"https://api.github.com/users/andrei-kruhliakou-itechart/orgs","repos_url":"https://api.github.com/users/andrei-kruhliakou-itechart/repos","events_url":"https://api.github.com/users/andrei-kruhliakou-itechart/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-kruhliakou-itechart/received_events","type":"User","site_admin":false},"body":"Use import instead of require","created_at":"2018-09-25T12:10:24Z","updated_at":"2018-09-25T12:11:42Z","html_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system/pull/22#discussion_r220165470","pull_request_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/comments/220165470"},"html":{"href":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system/pull/22#discussion_r220165470"},"pull_request":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22","id":217953397,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3OTUzMzk3","html_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system/pull/22","diff_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system/pull/22.diff","patch_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system/pull/22.patch","issue_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/22","number":22,"state":"open","locked":false,"title":"Redisign header","user":{"login":"Eaglehorned","id":36948020,"node_id":"MDQ6VXNlcjM2OTQ4MDIw","avatar_url":"https://avatars3.githubusercontent.com/u/36948020?v=4","gravatar_id":"","url":"https://api.github.com/users/Eaglehorned","html_url":"https://github.com/Eaglehorned","followers_url":"https://api.github.com/users/Eaglehorned/followers","following_url":"https://api.github.com/users/Eaglehorned/following{/other_user}","gists_url":"https://api.github.com/users/Eaglehorned/gists{/gist_id}","starred_url":"https://api.github.com/users/Eaglehorned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eaglehorned/subscriptions","organizations_url":"https://api.github.com/users/Eaglehorned/orgs","repos_url":"https://api.github.com/users/Eaglehorned/repos","events_url":"https://api.github.com/users/Eaglehorned/events{/privacy}","received_events_url":"https://api.github.com/users/Eaglehorned/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-25T11:58:55Z","updated_at":"2018-09-25T12:11:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1483c44cf62ed5e0d80c5929906746566cf54d8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/22/comments","statuses_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/statuses/4ef2fb3987b869ac92d5611ff82081e42998ff66","head":{"label":"Eaglehorned:Redisign-header","ref":"Redisign-header","sha":"4ef2fb3987b869ac92d5611ff82081e42998ff66","user":{"login":"Eaglehorned","id":36948020,"node_id":"MDQ6VXNlcjM2OTQ4MDIw","avatar_url":"https://avatars3.githubusercontent.com/u/36948020?v=4","gravatar_id":"","url":"https://api.github.com/users/Eaglehorned","html_url":"https://github.com/Eaglehorned","followers_url":"https://api.github.com/users/Eaglehorned/followers","following_url":"https://api.github.com/users/Eaglehorned/following{/other_user}","gists_url":"https://api.github.com/users/Eaglehorned/gists{/gist_id}","starred_url":"https://api.github.com/users/Eaglehorned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eaglehorned/subscriptions","organizations_url":"https://api.github.com/users/Eaglehorned/orgs","repos_url":"https://api.github.com/users/Eaglehorned/repos","events_url":"https://api.github.com/users/Eaglehorned/events{/privacy}","received_events_url":"https://api.github.com/users/Eaglehorned/received_events","type":"User","site_admin":false},"repo":{"id":141290964,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEyOTA5NjQ=","name":"Cinema-ticket-reservation-system","full_name":"Eaglehorned/Cinema-ticket-reservation-system","private":false,"owner":{"login":"Eaglehorned","id":36948020,"node_id":"MDQ6VXNlcjM2OTQ4MDIw","avatar_url":"https://avatars3.githubusercontent.com/u/36948020?v=4","gravatar_id":"","url":"https://api.github.com/users/Eaglehorned","html_url":"https://github.com/Eaglehorned","followers_url":"https://api.github.com/users/Eaglehorned/followers","following_url":"https://api.github.com/users/Eaglehorned/following{/other_user}","gists_url":"https://api.github.com/users/Eaglehorned/gists{/gist_id}","starred_url":"https://api.github.com/users/Eaglehorned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eaglehorned/subscriptions","organizations_url":"https://api.github.com/users/Eaglehorned/orgs","repos_url":"https://api.github.com/users/Eaglehorned/repos","events_url":"https://api.github.com/users/Eaglehorned/events{/privacy}","received_events_url":"https://api.github.com/users/Eaglehorned/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system","description":"React + Asp.Net Core","fork":false,"url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system","forks_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/forks","keys_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/teams","hooks_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/hooks","issue_events_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/events{/number}","events_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/events","assignees_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/assignees{/user}","branches_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/branches{/branch}","tags_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/tags","blobs_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/statuses/{sha}","languages_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/languages","stargazers_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/stargazers","contributors_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/contributors","subscribers_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/subscribers","subscription_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/subscription","commits_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/contents/{+path}","compare_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/merges","archive_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/downloads","issues_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues{/number}","pulls_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls{/number}","milestones_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/milestones{/number}","notifications_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/labels{/name}","releases_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/releases{/id}","deployments_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/deployments","created_at":"2018-07-17T13:06:15Z","updated_at":"2018-09-20T10:42:00Z","pushed_at":"2018-09-25T11:58:56Z","git_url":"git://github.com/Eaglehorned/Cinema-ticket-reservation-system.git","ssh_url":"git@github.com:Eaglehorned/Cinema-ticket-reservation-system.git","clone_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system.git","svn_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system","homepage":null,"size":1925,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Eaglehorned:master","ref":"master","sha":"2e7aa3c4735b76e458ed004e183001ac3df27f3a","user":{"login":"Eaglehorned","id":36948020,"node_id":"MDQ6VXNlcjM2OTQ4MDIw","avatar_url":"https://avatars3.githubusercontent.com/u/36948020?v=4","gravatar_id":"","url":"https://api.github.com/users/Eaglehorned","html_url":"https://github.com/Eaglehorned","followers_url":"https://api.github.com/users/Eaglehorned/followers","following_url":"https://api.github.com/users/Eaglehorned/following{/other_user}","gists_url":"https://api.github.com/users/Eaglehorned/gists{/gist_id}","starred_url":"https://api.github.com/users/Eaglehorned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eaglehorned/subscriptions","organizations_url":"https://api.github.com/users/Eaglehorned/orgs","repos_url":"https://api.github.com/users/Eaglehorned/repos","events_url":"https://api.github.com/users/Eaglehorned/events{/privacy}","received_events_url":"https://api.github.com/users/Eaglehorned/received_events","type":"User","site_admin":false},"repo":{"id":141290964,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEyOTA5NjQ=","name":"Cinema-ticket-reservation-system","full_name":"Eaglehorned/Cinema-ticket-reservation-system","private":false,"owner":{"login":"Eaglehorned","id":36948020,"node_id":"MDQ6VXNlcjM2OTQ4MDIw","avatar_url":"https://avatars3.githubusercontent.com/u/36948020?v=4","gravatar_id":"","url":"https://api.github.com/users/Eaglehorned","html_url":"https://github.com/Eaglehorned","followers_url":"https://api.github.com/users/Eaglehorned/followers","following_url":"https://api.github.com/users/Eaglehorned/following{/other_user}","gists_url":"https://api.github.com/users/Eaglehorned/gists{/gist_id}","starred_url":"https://api.github.com/users/Eaglehorned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eaglehorned/subscriptions","organizations_url":"https://api.github.com/users/Eaglehorned/orgs","repos_url":"https://api.github.com/users/Eaglehorned/repos","events_url":"https://api.github.com/users/Eaglehorned/events{/privacy}","received_events_url":"https://api.github.com/users/Eaglehorned/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system","description":"React + Asp.Net Core","fork":false,"url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system","forks_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/forks","keys_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/teams","hooks_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/hooks","issue_events_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/events{/number}","events_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/events","assignees_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/assignees{/user}","branches_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/branches{/branch}","tags_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/tags","blobs_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/statuses/{sha}","languages_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/languages","stargazers_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/stargazers","contributors_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/contributors","subscribers_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/subscribers","subscription_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/subscription","commits_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/contents/{+path}","compare_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/merges","archive_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/downloads","issues_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues{/number}","pulls_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls{/number}","milestones_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/milestones{/number}","notifications_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/labels{/name}","releases_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/releases{/id}","deployments_url":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/deployments","created_at":"2018-07-17T13:06:15Z","updated_at":"2018-09-20T10:42:00Z","pushed_at":"2018-09-25T11:58:56Z","git_url":"git://github.com/Eaglehorned/Cinema-ticket-reservation-system.git","ssh_url":"git@github.com:Eaglehorned/Cinema-ticket-reservation-system.git","clone_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system.git","svn_url":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system","homepage":null,"size":1925,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22"},"html":{"href":"https://github.com/Eaglehorned/Cinema-ticket-reservation-system/pull/22"},"issue":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/22"},"comments":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Eaglehorned/Cinema-ticket-reservation-system/statuses/4ef2fb3987b869ac92d5611ff82081e42998ff66"}},"author_association":"OWNER"}}
{"actor":{"display_login":"andrei-kruhliakou-itechart"}}