{"action":"created","comment":{"url":"https://api.github.com/repos/simplethings/EntityAudit/pulls/comments/42369386","id":42369386,"diff_hunk":"@@ -1,5 +1,21 @@\n {% extends \"SimpleThingsEntityAuditBundle::layout.html.twig\" %}\n \n+{% macro showValue(value) %}\n+    {% if value.timestamp is defined %}\n+        {{ value|date('m/d/Y') }}\n+    {% elseif value is iterable %}\n+        <ul>\n+        {% for element in value %}\n+            <li>{{ element }}</li>\n+        {% endfor %}\n+        </ul>\n+    {% else %}\n+        {{ value }}\n+    {% endif %}\n+{% endmacro %}\n+\n+{% import _self as helper %}","path":"src/SimpleThings/EntityAudit/Resources/views/Audit/compare.html.twig","position":17,"original_position":17,"commit_id":"bd426bf50dd1160f3a86dfa838123d4c3e2570d9","original_commit_id":"bd426bf50dd1160f3a86dfa838123d4c3e2570d9","user":{"login":"Rvanlaak","id":2707563,"avatar_url":"https://avatars.githubusercontent.com/u/2707563?v=3","gravatar_id":"","url":"https://api.github.com/users/Rvanlaak","html_url":"https://github.com/Rvanlaak","followers_url":"https://api.github.com/users/Rvanlaak/followers","following_url":"https://api.github.com/users/Rvanlaak/following{/other_user}","gists_url":"https://api.github.com/users/Rvanlaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rvanlaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rvanlaak/subscriptions","organizations_url":"https://api.github.com/users/Rvanlaak/orgs","repos_url":"https://api.github.com/users/Rvanlaak/repos","events_url":"https://api.github.com/users/Rvanlaak/events{/privacy}","received_events_url":"https://api.github.com/users/Rvanlaak/received_events","type":"User","site_admin":false},"body":"This will be deprecated in Twig 2.0","created_at":"2015-10-19T13:22:31Z","updated_at":"2015-10-19T13:22:31Z","html_url":"https://github.com/simplethings/EntityAudit/pull/78#discussion_r42369386","pull_request_url":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/simplethings/EntityAudit/pulls/comments/42369386"},"html":{"href":"https://github.com/simplethings/EntityAudit/pull/78#discussion_r42369386"},"pull_request":{"href":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78","id":21838155,"html_url":"https://github.com/simplethings/EntityAudit/pull/78","diff_url":"https://github.com/simplethings/EntityAudit/pull/78.diff","patch_url":"https://github.com/simplethings/EntityAudit/pull/78.patch","issue_url":"https://api.github.com/repos/simplethings/EntityAudit/issues/78","number":78,"state":"open","locked":false,"title":"Views improment for the controllers. ","user":{"login":"JavierJimenez","id":1233868,"avatar_url":"https://avatars.githubusercontent.com/u/1233868?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierJimenez","html_url":"https://github.com/JavierJimenez","followers_url":"https://api.github.com/users/JavierJimenez/followers","following_url":"https://api.github.com/users/JavierJimenez/following{/other_user}","gists_url":"https://api.github.com/users/JavierJimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierJimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierJimenez/subscriptions","organizations_url":"https://api.github.com/users/JavierJimenez/orgs","repos_url":"https://api.github.com/users/JavierJimenez/repos","events_url":"https://api.github.com/users/JavierJimenez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierJimenez/received_events","type":"User","site_admin":false},"body":"Now the templates know how to deal with iterable values.","created_at":"2014-09-26T09:46:00Z","updated_at":"2015-10-19T13:22:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01c1e51824246369c42396fd941c573397ac0e2c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78/commits","review_comments_url":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78/comments","review_comment_url":"https://api.github.com/repos/simplethings/EntityAudit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simplethings/EntityAudit/issues/78/comments","statuses_url":"https://api.github.com/repos/simplethings/EntityAudit/statuses/bd426bf50dd1160f3a86dfa838123d4c3e2570d9","head":{"label":"JavierJimenez:master","ref":"master","sha":"bd426bf50dd1160f3a86dfa838123d4c3e2570d9","user":{"login":"JavierJimenez","id":1233868,"avatar_url":"https://avatars.githubusercontent.com/u/1233868?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierJimenez","html_url":"https://github.com/JavierJimenez","followers_url":"https://api.github.com/users/JavierJimenez/followers","following_url":"https://api.github.com/users/JavierJimenez/following{/other_user}","gists_url":"https://api.github.com/users/JavierJimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierJimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierJimenez/subscriptions","organizations_url":"https://api.github.com/users/JavierJimenez/orgs","repos_url":"https://api.github.com/users/JavierJimenez/repos","events_url":"https://api.github.com/users/JavierJimenez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierJimenez/received_events","type":"User","site_admin":false},"repo":{"id":24494097,"name":"EntityAudit","full_name":"JavierJimenez/EntityAudit","owner":{"login":"JavierJimenez","id":1233868,"avatar_url":"https://avatars.githubusercontent.com/u/1233868?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierJimenez","html_url":"https://github.com/JavierJimenez","followers_url":"https://api.github.com/users/JavierJimenez/followers","following_url":"https://api.github.com/users/JavierJimenez/following{/other_user}","gists_url":"https://api.github.com/users/JavierJimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierJimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierJimenez/subscriptions","organizations_url":"https://api.github.com/users/JavierJimenez/orgs","repos_url":"https://api.github.com/users/JavierJimenez/repos","events_url":"https://api.github.com/users/JavierJimenez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierJimenez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JavierJimenez/EntityAudit","description":"Doctrine2 Extension to Audit Entities through versioning tables.","fork":true,"url":"https://api.github.com/repos/JavierJimenez/EntityAudit","forks_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/forks","keys_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/teams","hooks_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/hooks","issue_events_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/issues/events{/number}","events_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/events","assignees_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/assignees{/user}","branches_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/branches{/branch}","tags_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/tags","blobs_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/statuses/{sha}","languages_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/languages","stargazers_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/stargazers","contributors_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/contributors","subscribers_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/subscribers","subscription_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/subscription","commits_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/contents/{+path}","compare_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/merges","archive_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/downloads","issues_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/issues{/number}","pulls_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/pulls{/number}","milestones_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/milestones{/number}","notifications_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/labels{/name}","releases_url":"https://api.github.com/repos/JavierJimenez/EntityAudit/releases{/id}","created_at":"2014-09-26T09:33:06Z","updated_at":"2014-09-26T09:44:00Z","pushed_at":"2014-09-26T09:44:00Z","git_url":"git://github.com/JavierJimenez/EntityAudit.git","ssh_url":"git@github.com:JavierJimenez/EntityAudit.git","clone_url":"https://github.com/JavierJimenez/EntityAudit.git","svn_url":"https://github.com/JavierJimenez/EntityAudit","homepage":"http://www.simplethings.de","size":221,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"simplethings:master","ref":"master","sha":"8383acc9b5d0a26385c62fadd4aaae44c42cb0ce","user":{"login":"simplethings","id":731482,"avatar_url":"https://avatars.githubusercontent.com/u/731482?v=3","gravatar_id":"","url":"https://api.github.com/users/simplethings","html_url":"https://github.com/simplethings","followers_url":"https://api.github.com/users/simplethings/followers","following_url":"https://api.github.com/users/simplethings/following{/other_user}","gists_url":"https://api.github.com/users/simplethings/gists{/gist_id}","starred_url":"https://api.github.com/users/simplethings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplethings/subscriptions","organizations_url":"https://api.github.com/users/simplethings/orgs","repos_url":"https://api.github.com/users/simplethings/repos","events_url":"https://api.github.com/users/simplethings/events{/privacy}","received_events_url":"https://api.github.com/users/simplethings/received_events","type":"Organization","site_admin":false},"repo":{"id":1619962,"name":"EntityAudit","full_name":"simplethings/EntityAudit","owner":{"login":"simplethings","id":731482,"avatar_url":"https://avatars.githubusercontent.com/u/731482?v=3","gravatar_id":"","url":"https://api.github.com/users/simplethings","html_url":"https://github.com/simplethings","followers_url":"https://api.github.com/users/simplethings/followers","following_url":"https://api.github.com/users/simplethings/following{/other_user}","gists_url":"https://api.github.com/users/simplethings/gists{/gist_id}","starred_url":"https://api.github.com/users/simplethings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplethings/subscriptions","organizations_url":"https://api.github.com/users/simplethings/orgs","repos_url":"https://api.github.com/users/simplethings/repos","events_url":"https://api.github.com/users/simplethings/events{/privacy}","received_events_url":"https://api.github.com/users/simplethings/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simplethings/EntityAudit","description":"Doctrine2 Extension to Audit Entities through versioning tables.","fork":false,"url":"https://api.github.com/repos/simplethings/EntityAudit","forks_url":"https://api.github.com/repos/simplethings/EntityAudit/forks","keys_url":"https://api.github.com/repos/simplethings/EntityAudit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simplethings/EntityAudit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simplethings/EntityAudit/teams","hooks_url":"https://api.github.com/repos/simplethings/EntityAudit/hooks","issue_events_url":"https://api.github.com/repos/simplethings/EntityAudit/issues/events{/number}","events_url":"https://api.github.com/repos/simplethings/EntityAudit/events","assignees_url":"https://api.github.com/repos/simplethings/EntityAudit/assignees{/user}","branches_url":"https://api.github.com/repos/simplethings/EntityAudit/branches{/branch}","tags_url":"https://api.github.com/repos/simplethings/EntityAudit/tags","blobs_url":"https://api.github.com/repos/simplethings/EntityAudit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simplethings/EntityAudit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simplethings/EntityAudit/git/refs{/sha}","trees_url":"https://api.github.com/repos/simplethings/EntityAudit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simplethings/EntityAudit/statuses/{sha}","languages_url":"https://api.github.com/repos/simplethings/EntityAudit/languages","stargazers_url":"https://api.github.com/repos/simplethings/EntityAudit/stargazers","contributors_url":"https://api.github.com/repos/simplethings/EntityAudit/contributors","subscribers_url":"https://api.github.com/repos/simplethings/EntityAudit/subscribers","subscription_url":"https://api.github.com/repos/simplethings/EntityAudit/subscription","commits_url":"https://api.github.com/repos/simplethings/EntityAudit/commits{/sha}","git_commits_url":"https://api.github.com/repos/simplethings/EntityAudit/git/commits{/sha}","comments_url":"https://api.github.com/repos/simplethings/EntityAudit/comments{/number}","issue_comment_url":"https://api.github.com/repos/simplethings/EntityAudit/issues/comments{/number}","contents_url":"https://api.github.com/repos/simplethings/EntityAudit/contents/{+path}","compare_url":"https://api.github.com/repos/simplethings/EntityAudit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simplethings/EntityAudit/merges","archive_url":"https://api.github.com/repos/simplethings/EntityAudit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simplethings/EntityAudit/downloads","issues_url":"https://api.github.com/repos/simplethings/EntityAudit/issues{/number}","pulls_url":"https://api.github.com/repos/simplethings/EntityAudit/pulls{/number}","milestones_url":"https://api.github.com/repos/simplethings/EntityAudit/milestones{/number}","notifications_url":"https://api.github.com/repos/simplethings/EntityAudit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simplethings/EntityAudit/labels{/name}","releases_url":"https://api.github.com/repos/simplethings/EntityAudit/releases{/id}","created_at":"2011-04-15T17:09:53Z","updated_at":"2015-10-16T14:50:48Z","pushed_at":"2015-10-16T16:07:02Z","git_url":"git://github.com/simplethings/EntityAudit.git","ssh_url":"git@github.com:simplethings/EntityAudit.git","clone_url":"https://github.com/simplethings/EntityAudit.git","svn_url":"https://github.com/simplethings/EntityAudit","homepage":"http://www.simplethings.de","size":1039,"stargazers_count":343,"watchers_count":343,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":41,"forks":125,"open_issues":41,"watchers":343,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78"},"html":{"href":"https://github.com/simplethings/EntityAudit/pull/78"},"issue":{"href":"https://api.github.com/repos/simplethings/EntityAudit/issues/78"},"comments":{"href":"https://api.github.com/repos/simplethings/EntityAudit/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/simplethings/EntityAudit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simplethings/EntityAudit/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/simplethings/EntityAudit/statuses/bd426bf50dd1160f3a86dfa838123d4c3e2570d9"}}}}