{"action":"created","comment":{"url":"https://api.github.com/repos/ageg/webapp/pulls/comments/30822444","id":30822444,"diff_hunk":"@@ -0,0 +1,107 @@\n+﻿<form role=\"form\" action=\"/add_location\" method=\"post\">\n+  <div class=\"form-group\">\n+    <label for=\"emprunt_for\">Nom du groupe (facultatif):</label>\n+    <input type=\"text\" class=\"form-control\" id=\"emprunt_for\" name=\"emprunt_for\">\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"raison\">Raison de l'emprunt:</label>\n+    <input type=\"text\" class=\"form-control\" id=\"raison\" name=\"raison\">\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"date_emprunt\">Date de l'emprunt:</label>\n+    <input type=\"date\" class=\"form-control\" id=\"date_emprunt\" name=\"date_emprunt\">\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"date_retour\">Date de retour:</label>\n+    <input type=\"date\" class=\"form-control\" id=\"date_retour\" name=\"date_retour\">\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"item\">Objets loués:</label>\n+    <div id=\"objet_loue\" style=\"padding-bottom:5px\"></div>\n+    <div class=\"row\">\n+      <div class=\"col-md-10\">\n+            <select class=\"form-control\" id=\"item\">\n+              <% for(var i=0; i < data.length; i++) {%>\n+              <option id=\"item<%-i%>\"><%- data[i].name %></option>\n+              <% } %>\n+      </select>\n+      </div>\n+      <div class=\"col-md-2\">\n+            <button type=\"button\" id=\"button_item\" class=\"btn btn-default\" onClick=\"add_item()\">Ajouter objet</button>","path":"views/add_location.ejs","position":30,"original_position":30,"commit_id":"54125c1e23e3e680baaca09373b17d97531d8249","original_commit_id":"54125c1e23e3e680baaca09373b17d97531d8249","user":{"login":"gcourtemanche","id":7889030,"avatar_url":"https://avatars.githubusercontent.com/u/7889030?v=3","gravatar_id":"","url":"https://api.github.com/users/gcourtemanche","html_url":"https://github.com/gcourtemanche","followers_url":"https://api.github.com/users/gcourtemanche/followers","following_url":"https://api.github.com/users/gcourtemanche/following{/other_user}","gists_url":"https://api.github.com/users/gcourtemanche/gists{/gist_id}","starred_url":"https://api.github.com/users/gcourtemanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcourtemanche/subscriptions","organizations_url":"https://api.github.com/users/gcourtemanche/orgs","repos_url":"https://api.github.com/users/gcourtemanche/repos","events_url":"https://api.github.com/users/gcourtemanche/events{/privacy}","received_events_url":"https://api.github.com/users/gcourtemanche/received_events","type":"User","site_admin":false},"body":"Button doesn't work","created_at":"2015-05-21T16:59:18Z","updated_at":"2015-05-21T16:59:18Z","html_url":"https://github.com/ageg/webapp/pull/4#discussion_r30822444","pull_request_url":"https://api.github.com/repos/ageg/webapp/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ageg/webapp/pulls/comments/30822444"},"html":{"href":"https://github.com/ageg/webapp/pull/4#discussion_r30822444"},"pull_request":{"href":"https://api.github.com/repos/ageg/webapp/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ageg/webapp/pulls/4","id":35894257,"html_url":"https://github.com/ageg/webapp/pull/4","diff_url":"https://github.com/ageg/webapp/pull/4.diff","patch_url":"https://github.com/ageg/webapp/pull/4.patch","issue_url":"https://api.github.com/repos/ageg/webapp/issues/4","number":4,"state":"closed","locked":false,"title":"Added a view to be the entry point of the renting system. The view re…","user":{"login":"KertanLeGnome","id":11375703,"avatar_url":"https://avatars.githubusercontent.com/u/11375703?v=3","gravatar_id":"","url":"https://api.github.com/users/KertanLeGnome","html_url":"https://github.com/KertanLeGnome","followers_url":"https://api.github.com/users/KertanLeGnome/followers","following_url":"https://api.github.com/users/KertanLeGnome/following{/other_user}","gists_url":"https://api.github.com/users/KertanLeGnome/gists{/gist_id}","starred_url":"https://api.github.com/users/KertanLeGnome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KertanLeGnome/subscriptions","organizations_url":"https://api.github.com/users/KertanLeGnome/orgs","repos_url":"https://api.github.com/users/KertanLeGnome/repos","events_url":"https://api.github.com/users/KertanLeGnome/events{/privacy}","received_events_url":"https://api.github.com/users/KertanLeGnome/received_events","type":"User","site_admin":false},"body":"Added a view to be the entry point of the renting system. The view receives a list of item allowed to be rent and send back a location, with reasons, start and end date allong with the list of item to rent.","created_at":"2015-05-21T02:14:22Z","updated_at":"2015-05-21T16:59:19Z","closed_at":"2015-05-21T02:52:36Z","merged_at":"2015-05-21T02:52:36Z","merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ageg/webapp/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ageg/webapp/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ageg/webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ageg/webapp/issues/4/comments","statuses_url":"https://api.github.com/repos/ageg/webapp/statuses/54125c1e23e3e680baaca09373b17d97531d8249","head":{"label":"ageg:location","ref":"location","sha":"54125c1e23e3e680baaca09373b17d97531d8249","user":{"login":"ageg","id":9063625,"avatar_url":"https://avatars.githubusercontent.com/u/9063625?v=3","gravatar_id":"","url":"https://api.github.com/users/ageg","html_url":"https://github.com/ageg","followers_url":"https://api.github.com/users/ageg/followers","following_url":"https://api.github.com/users/ageg/following{/other_user}","gists_url":"https://api.github.com/users/ageg/gists{/gist_id}","starred_url":"https://api.github.com/users/ageg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ageg/subscriptions","organizations_url":"https://api.github.com/users/ageg/orgs","repos_url":"https://api.github.com/users/ageg/repos","events_url":"https://api.github.com/users/ageg/events{/privacy}","received_events_url":"https://api.github.com/users/ageg/received_events","type":"Organization","site_admin":false},"repo":{"id":35734988,"name":"webapp","full_name":"ageg/webapp","owner":{"login":"ageg","id":9063625,"avatar_url":"https://avatars.githubusercontent.com/u/9063625?v=3","gravatar_id":"","url":"https://api.github.com/users/ageg","html_url":"https://github.com/ageg","followers_url":"https://api.github.com/users/ageg/followers","following_url":"https://api.github.com/users/ageg/following{/other_user}","gists_url":"https://api.github.com/users/ageg/gists{/gist_id}","starred_url":"https://api.github.com/users/ageg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ageg/subscriptions","organizations_url":"https://api.github.com/users/ageg/orgs","repos_url":"https://api.github.com/users/ageg/repos","events_url":"https://api.github.com/users/ageg/events{/privacy}","received_events_url":"https://api.github.com/users/ageg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ageg/webapp","description":"ageg.ca dynamic website","fork":false,"url":"https://api.github.com/repos/ageg/webapp","forks_url":"https://api.github.com/repos/ageg/webapp/forks","keys_url":"https://api.github.com/repos/ageg/webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ageg/webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ageg/webapp/teams","hooks_url":"https://api.github.com/repos/ageg/webapp/hooks","issue_events_url":"https://api.github.com/repos/ageg/webapp/issues/events{/number}","events_url":"https://api.github.com/repos/ageg/webapp/events","assignees_url":"https://api.github.com/repos/ageg/webapp/assignees{/user}","branches_url":"https://api.github.com/repos/ageg/webapp/branches{/branch}","tags_url":"https://api.github.com/repos/ageg/webapp/tags","blobs_url":"https://api.github.com/repos/ageg/webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ageg/webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ageg/webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ageg/webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ageg/webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/ageg/webapp/languages","stargazers_url":"https://api.github.com/repos/ageg/webapp/stargazers","contributors_url":"https://api.github.com/repos/ageg/webapp/contributors","subscribers_url":"https://api.github.com/repos/ageg/webapp/subscribers","subscription_url":"https://api.github.com/repos/ageg/webapp/subscription","commits_url":"https://api.github.com/repos/ageg/webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ageg/webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ageg/webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ageg/webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ageg/webapp/contents/{+path}","compare_url":"https://api.github.com/repos/ageg/webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ageg/webapp/merges","archive_url":"https://api.github.com/repos/ageg/webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ageg/webapp/downloads","issues_url":"https://api.github.com/repos/ageg/webapp/issues{/number}","pulls_url":"https://api.github.com/repos/ageg/webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/ageg/webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/ageg/webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ageg/webapp/labels{/name}","releases_url":"https://api.github.com/repos/ageg/webapp/releases{/id}","created_at":"2015-05-16T18:21:18Z","updated_at":"2015-05-16T21:28:29Z","pushed_at":"2015-05-21T03:09:03Z","git_url":"git://github.com/ageg/webapp.git","ssh_url":"git@github.com:ageg/webapp.git","clone_url":"https://github.com/ageg/webapp.git","svn_url":"https://github.com/ageg/webapp","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ageg:master","ref":"master","sha":"43f02038e5fc070f0694e80866d8a880916d9f5f","user":{"login":"ageg","id":9063625,"avatar_url":"https://avatars.githubusercontent.com/u/9063625?v=3","gravatar_id":"","url":"https://api.github.com/users/ageg","html_url":"https://github.com/ageg","followers_url":"https://api.github.com/users/ageg/followers","following_url":"https://api.github.com/users/ageg/following{/other_user}","gists_url":"https://api.github.com/users/ageg/gists{/gist_id}","starred_url":"https://api.github.com/users/ageg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ageg/subscriptions","organizations_url":"https://api.github.com/users/ageg/orgs","repos_url":"https://api.github.com/users/ageg/repos","events_url":"https://api.github.com/users/ageg/events{/privacy}","received_events_url":"https://api.github.com/users/ageg/received_events","type":"Organization","site_admin":false},"repo":{"id":35734988,"name":"webapp","full_name":"ageg/webapp","owner":{"login":"ageg","id":9063625,"avatar_url":"https://avatars.githubusercontent.com/u/9063625?v=3","gravatar_id":"","url":"https://api.github.com/users/ageg","html_url":"https://github.com/ageg","followers_url":"https://api.github.com/users/ageg/followers","following_url":"https://api.github.com/users/ageg/following{/other_user}","gists_url":"https://api.github.com/users/ageg/gists{/gist_id}","starred_url":"https://api.github.com/users/ageg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ageg/subscriptions","organizations_url":"https://api.github.com/users/ageg/orgs","repos_url":"https://api.github.com/users/ageg/repos","events_url":"https://api.github.com/users/ageg/events{/privacy}","received_events_url":"https://api.github.com/users/ageg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ageg/webapp","description":"ageg.ca dynamic website","fork":false,"url":"https://api.github.com/repos/ageg/webapp","forks_url":"https://api.github.com/repos/ageg/webapp/forks","keys_url":"https://api.github.com/repos/ageg/webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ageg/webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ageg/webapp/teams","hooks_url":"https://api.github.com/repos/ageg/webapp/hooks","issue_events_url":"https://api.github.com/repos/ageg/webapp/issues/events{/number}","events_url":"https://api.github.com/repos/ageg/webapp/events","assignees_url":"https://api.github.com/repos/ageg/webapp/assignees{/user}","branches_url":"https://api.github.com/repos/ageg/webapp/branches{/branch}","tags_url":"https://api.github.com/repos/ageg/webapp/tags","blobs_url":"https://api.github.com/repos/ageg/webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ageg/webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ageg/webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ageg/webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ageg/webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/ageg/webapp/languages","stargazers_url":"https://api.github.com/repos/ageg/webapp/stargazers","contributors_url":"https://api.github.com/repos/ageg/webapp/contributors","subscribers_url":"https://api.github.com/repos/ageg/webapp/subscribers","subscription_url":"https://api.github.com/repos/ageg/webapp/subscription","commits_url":"https://api.github.com/repos/ageg/webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ageg/webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ageg/webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ageg/webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ageg/webapp/contents/{+path}","compare_url":"https://api.github.com/repos/ageg/webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ageg/webapp/merges","archive_url":"https://api.github.com/repos/ageg/webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ageg/webapp/downloads","issues_url":"https://api.github.com/repos/ageg/webapp/issues{/number}","pulls_url":"https://api.github.com/repos/ageg/webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/ageg/webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/ageg/webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ageg/webapp/labels{/name}","releases_url":"https://api.github.com/repos/ageg/webapp/releases{/id}","created_at":"2015-05-16T18:21:18Z","updated_at":"2015-05-16T21:28:29Z","pushed_at":"2015-05-21T03:09:03Z","git_url":"git://github.com/ageg/webapp.git","ssh_url":"git@github.com:ageg/webapp.git","clone_url":"https://github.com/ageg/webapp.git","svn_url":"https://github.com/ageg/webapp","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ageg/webapp/pulls/4"},"html":{"href":"https://github.com/ageg/webapp/pull/4"},"issue":{"href":"https://api.github.com/repos/ageg/webapp/issues/4"},"comments":{"href":"https://api.github.com/repos/ageg/webapp/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ageg/webapp/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ageg/webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ageg/webapp/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ageg/webapp/statuses/54125c1e23e3e680baaca09373b17d97531d8249"}}}}