{"action":"created","comment":{"url":"https://api.github.com/repos/enpitut/cynts/pulls/comments/42946843","id":42946843,"diff_hunk":"@@ -1,13 +1,18 @@\n-<div style=\"width: 100%; height: 100px; margin: 0 auto; background-image: url('/img/view/header.png');\">\n-<div id=\"header_title\">\n-  <?=\n-  $this->Html->link(\n-      'Unichronicle',\n-      array('controller' => 'pages',\n-            'action' => 'home',\n-      )\n-  );\n-  ?>\n-</div>\n-<?= $this->element('header') ?>\n+<div\n+    style=\"width: 100%; height: 100px; margin: 0 auto; background-image: url('/img/view/header.png');\">\n+    <div id=\"header_title\">\n+        <?= $this->Html->css('header.css') ?>\n+        <?=\n+        $this->Html->link(\n+            'Unichronicle',\n+            array(\n+                'controller' => 'pages',\n+                'action' => 'home',\n+            )\n+        );\n+        ?>\n+    </div>\n+    <?php if ($this->request->here !== '/users/login'): ?>","path":"app/src/Template/Element/eachpage_header.ctp","position":27,"original_position":27,"commit_id":"f66d095c91046a1c9667dbbed48533caa990f548","original_commit_id":"f66d095c91046a1c9667dbbed48533caa990f548","user":{"login":"metalunk","id":3294475,"avatar_url":"https://avatars.githubusercontent.com/u/3294475?v=3","gravatar_id":"","url":"https://api.github.com/users/metalunk","html_url":"https://github.com/metalunk","followers_url":"https://api.github.com/users/metalunk/followers","following_url":"https://api.github.com/users/metalunk/following{/other_user}","gists_url":"https://api.github.com/users/metalunk/gists{/gist_id}","starred_url":"https://api.github.com/users/metalunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalunk/subscriptions","organizations_url":"https://api.github.com/users/metalunk/orgs","repos_url":"https://api.github.com/users/metalunk/repos","events_url":"https://api.github.com/users/metalunk/events{/privacy}","received_events_url":"https://api.github.com/users/metalunk/received_events","type":"User","site_admin":false},"body":"これ users/login から eachpage_header を呼ばなけりゃいいだけなのでは？","created_at":"2015-10-25T16:39:32Z","updated_at":"2015-10-25T16:39:32Z","html_url":"https://github.com/enpitut/cynts/pull/72#discussion_r42946843","pull_request_url":"https://api.github.com/repos/enpitut/cynts/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/enpitut/cynts/pulls/comments/42946843"},"html":{"href":"https://github.com/enpitut/cynts/pull/72#discussion_r42946843"},"pull_request":{"href":"https://api.github.com/repos/enpitut/cynts/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/enpitut/cynts/pulls/72","id":47195594,"html_url":"https://github.com/enpitut/cynts/pull/72","diff_url":"https://github.com/enpitut/cynts/pull/72.diff","patch_url":"https://github.com/enpitut/cynts/pull/72.patch","issue_url":"https://api.github.com/repos/enpitut/cynts/issues/72","number":72,"state":"open","locked":false,"title":"Make Sign in View","user":{"login":"NoritsuguY","id":13794112,"avatar_url":"https://avatars.githubusercontent.com/u/13794112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoritsuguY","html_url":"https://github.com/NoritsuguY","followers_url":"https://api.github.com/users/NoritsuguY/followers","following_url":"https://api.github.com/users/NoritsuguY/following{/other_user}","gists_url":"https://api.github.com/users/NoritsuguY/gists{/gist_id}","starred_url":"https://api.github.com/users/NoritsuguY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoritsuguY/subscriptions","organizations_url":"https://api.github.com/users/NoritsuguY/orgs","repos_url":"https://api.github.com/users/NoritsuguY/repos","events_url":"https://api.github.com/users/NoritsuguY/events{/privacy}","received_events_url":"https://api.github.com/users/NoritsuguY/received_events","type":"User","site_admin":false},"body":"とりあえずヘッダー部分にログイン＆ログアウト機能付けた\r\n\r\nTODO：\r\n~~ヘッダーのフォームでログイン失敗したときに遷移するログイン画面の作成~~\r\n~~バリデーション~~\r\n~~ログイン失敗したときのエラー表示~~\r\n\r\nログイン前Top\r\nhttps://gyazo.com/fc001fc78ecf2d0cb18743728f551abc\r\nログイン後Top\r\nhttps://gyazo.com/c3d3cfb7d9ad66d7dd5bae45604acb29\r\nログイン前各コンテンツ\r\nhttps://gyazo.com/e2e49d534fdbd94cb74a72046510daec\r\n","created_at":"2015-10-08T19:28:46Z","updated_at":"2015-10-25T16:39:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5d9e6af0401f31325a6a1df5fd805570a7e264f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enpitut/cynts/pulls/72/commits","review_comments_url":"https://api.github.com/repos/enpitut/cynts/pulls/72/comments","review_comment_url":"https://api.github.com/repos/enpitut/cynts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enpitut/cynts/issues/72/comments","statuses_url":"https://api.github.com/repos/enpitut/cynts/statuses/f66d095c91046a1c9667dbbed48533caa990f548","head":{"label":"enpitut:feature/signinView","ref":"feature/signinView","sha":"f66d095c91046a1c9667dbbed48533caa990f548","user":{"login":"enpitut","id":13328709,"avatar_url":"https://avatars.githubusercontent.com/u/13328709?v=3","gravatar_id":"","url":"https://api.github.com/users/enpitut","html_url":"https://github.com/enpitut","followers_url":"https://api.github.com/users/enpitut/followers","following_url":"https://api.github.com/users/enpitut/following{/other_user}","gists_url":"https://api.github.com/users/enpitut/gists{/gist_id}","starred_url":"https://api.github.com/users/enpitut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enpitut/subscriptions","organizations_url":"https://api.github.com/users/enpitut/orgs","repos_url":"https://api.github.com/users/enpitut/repos","events_url":"https://api.github.com/users/enpitut/events{/privacy}","received_events_url":"https://api.github.com/users/enpitut/received_events","type":"Organization","site_admin":false},"repo":{"id":40951173,"name":"cynts","full_name":"enpitut/cynts","owner":{"login":"enpitut","id":13328709,"avatar_url":"https://avatars.githubusercontent.com/u/13328709?v=3","gravatar_id":"","url":"https://api.github.com/users/enpitut","html_url":"https://github.com/enpitut","followers_url":"https://api.github.com/users/enpitut/followers","following_url":"https://api.github.com/users/enpitut/following{/other_user}","gists_url":"https://api.github.com/users/enpitut/gists{/gist_id}","starred_url":"https://api.github.com/users/enpitut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enpitut/subscriptions","organizations_url":"https://api.github.com/users/enpitut/orgs","repos_url":"https://api.github.com/users/enpitut/repos","events_url":"https://api.github.com/users/enpitut/events{/privacy}","received_events_url":"https://api.github.com/users/enpitut/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enpitut/cynts","description":"App of CYNTS","fork":false,"url":"https://api.github.com/repos/enpitut/cynts","forks_url":"https://api.github.com/repos/enpitut/cynts/forks","keys_url":"https://api.github.com/repos/enpitut/cynts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enpitut/cynts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enpitut/cynts/teams","hooks_url":"https://api.github.com/repos/enpitut/cynts/hooks","issue_events_url":"https://api.github.com/repos/enpitut/cynts/issues/events{/number}","events_url":"https://api.github.com/repos/enpitut/cynts/events","assignees_url":"https://api.github.com/repos/enpitut/cynts/assignees{/user}","branches_url":"https://api.github.com/repos/enpitut/cynts/branches{/branch}","tags_url":"https://api.github.com/repos/enpitut/cynts/tags","blobs_url":"https://api.github.com/repos/enpitut/cynts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enpitut/cynts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enpitut/cynts/git/refs{/sha}","trees_url":"https://api.github.com/repos/enpitut/cynts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enpitut/cynts/statuses/{sha}","languages_url":"https://api.github.com/repos/enpitut/cynts/languages","stargazers_url":"https://api.github.com/repos/enpitut/cynts/stargazers","contributors_url":"https://api.github.com/repos/enpitut/cynts/contributors","subscribers_url":"https://api.github.com/repos/enpitut/cynts/subscribers","subscription_url":"https://api.github.com/repos/enpitut/cynts/subscription","commits_url":"https://api.github.com/repos/enpitut/cynts/commits{/sha}","git_commits_url":"https://api.github.com/repos/enpitut/cynts/git/commits{/sha}","comments_url":"https://api.github.com/repos/enpitut/cynts/comments{/number}","issue_comment_url":"https://api.github.com/repos/enpitut/cynts/issues/comments{/number}","contents_url":"https://api.github.com/repos/enpitut/cynts/contents/{+path}","compare_url":"https://api.github.com/repos/enpitut/cynts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enpitut/cynts/merges","archive_url":"https://api.github.com/repos/enpitut/cynts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enpitut/cynts/downloads","issues_url":"https://api.github.com/repos/enpitut/cynts/issues{/number}","pulls_url":"https://api.github.com/repos/enpitut/cynts/pulls{/number}","milestones_url":"https://api.github.com/repos/enpitut/cynts/milestones{/number}","notifications_url":"https://api.github.com/repos/enpitut/cynts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enpitut/cynts/labels{/name}","releases_url":"https://api.github.com/repos/enpitut/cynts/releases{/id}","created_at":"2015-08-18T04:43:52Z","updated_at":"2015-10-02T05:31:22Z","pushed_at":"2015-10-23T14:23:10Z","git_url":"git://github.com/enpitut/cynts.git","ssh_url":"git@github.com:enpitut/cynts.git","clone_url":"https://github.com/enpitut/cynts.git","svn_url":"https://github.com/enpitut/cynts","homepage":null,"size":7736,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":3,"default_branch":"develop"}},"base":{"label":"enpitut:develop","ref":"develop","sha":"a8366be3c4a2572223874c292a454595ed90eacc","user":{"login":"enpitut","id":13328709,"avatar_url":"https://avatars.githubusercontent.com/u/13328709?v=3","gravatar_id":"","url":"https://api.github.com/users/enpitut","html_url":"https://github.com/enpitut","followers_url":"https://api.github.com/users/enpitut/followers","following_url":"https://api.github.com/users/enpitut/following{/other_user}","gists_url":"https://api.github.com/users/enpitut/gists{/gist_id}","starred_url":"https://api.github.com/users/enpitut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enpitut/subscriptions","organizations_url":"https://api.github.com/users/enpitut/orgs","repos_url":"https://api.github.com/users/enpitut/repos","events_url":"https://api.github.com/users/enpitut/events{/privacy}","received_events_url":"https://api.github.com/users/enpitut/received_events","type":"Organization","site_admin":false},"repo":{"id":40951173,"name":"cynts","full_name":"enpitut/cynts","owner":{"login":"enpitut","id":13328709,"avatar_url":"https://avatars.githubusercontent.com/u/13328709?v=3","gravatar_id":"","url":"https://api.github.com/users/enpitut","html_url":"https://github.com/enpitut","followers_url":"https://api.github.com/users/enpitut/followers","following_url":"https://api.github.com/users/enpitut/following{/other_user}","gists_url":"https://api.github.com/users/enpitut/gists{/gist_id}","starred_url":"https://api.github.com/users/enpitut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enpitut/subscriptions","organizations_url":"https://api.github.com/users/enpitut/orgs","repos_url":"https://api.github.com/users/enpitut/repos","events_url":"https://api.github.com/users/enpitut/events{/privacy}","received_events_url":"https://api.github.com/users/enpitut/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enpitut/cynts","description":"App of CYNTS","fork":false,"url":"https://api.github.com/repos/enpitut/cynts","forks_url":"https://api.github.com/repos/enpitut/cynts/forks","keys_url":"https://api.github.com/repos/enpitut/cynts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enpitut/cynts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enpitut/cynts/teams","hooks_url":"https://api.github.com/repos/enpitut/cynts/hooks","issue_events_url":"https://api.github.com/repos/enpitut/cynts/issues/events{/number}","events_url":"https://api.github.com/repos/enpitut/cynts/events","assignees_url":"https://api.github.com/repos/enpitut/cynts/assignees{/user}","branches_url":"https://api.github.com/repos/enpitut/cynts/branches{/branch}","tags_url":"https://api.github.com/repos/enpitut/cynts/tags","blobs_url":"https://api.github.com/repos/enpitut/cynts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enpitut/cynts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enpitut/cynts/git/refs{/sha}","trees_url":"https://api.github.com/repos/enpitut/cynts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enpitut/cynts/statuses/{sha}","languages_url":"https://api.github.com/repos/enpitut/cynts/languages","stargazers_url":"https://api.github.com/repos/enpitut/cynts/stargazers","contributors_url":"https://api.github.com/repos/enpitut/cynts/contributors","subscribers_url":"https://api.github.com/repos/enpitut/cynts/subscribers","subscription_url":"https://api.github.com/repos/enpitut/cynts/subscription","commits_url":"https://api.github.com/repos/enpitut/cynts/commits{/sha}","git_commits_url":"https://api.github.com/repos/enpitut/cynts/git/commits{/sha}","comments_url":"https://api.github.com/repos/enpitut/cynts/comments{/number}","issue_comment_url":"https://api.github.com/repos/enpitut/cynts/issues/comments{/number}","contents_url":"https://api.github.com/repos/enpitut/cynts/contents/{+path}","compare_url":"https://api.github.com/repos/enpitut/cynts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enpitut/cynts/merges","archive_url":"https://api.github.com/repos/enpitut/cynts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enpitut/cynts/downloads","issues_url":"https://api.github.com/repos/enpitut/cynts/issues{/number}","pulls_url":"https://api.github.com/repos/enpitut/cynts/pulls{/number}","milestones_url":"https://api.github.com/repos/enpitut/cynts/milestones{/number}","notifications_url":"https://api.github.com/repos/enpitut/cynts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enpitut/cynts/labels{/name}","releases_url":"https://api.github.com/repos/enpitut/cynts/releases{/id}","created_at":"2015-08-18T04:43:52Z","updated_at":"2015-10-02T05:31:22Z","pushed_at":"2015-10-23T14:23:10Z","git_url":"git://github.com/enpitut/cynts.git","ssh_url":"git@github.com:enpitut/cynts.git","clone_url":"https://github.com/enpitut/cynts.git","svn_url":"https://github.com/enpitut/cynts","homepage":null,"size":7736,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/enpitut/cynts/pulls/72"},"html":{"href":"https://github.com/enpitut/cynts/pull/72"},"issue":{"href":"https://api.github.com/repos/enpitut/cynts/issues/72"},"comments":{"href":"https://api.github.com/repos/enpitut/cynts/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/enpitut/cynts/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/enpitut/cynts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enpitut/cynts/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/enpitut/cynts/statuses/f66d095c91046a1c9667dbbed48533caa990f548"}}}}