{"action":"created","comment":{"url":"https://api.github.com/repos/DoSomething/dosomething/pulls/comments/22744378","id":22744378,"diff_hunk":"@@ -9,11 +9,12 @@\n  * - $items: An array of items to display. Each $item in $items contains:\n  *   - $item['class']: The class to apply to the li (string).\n  *   - $item['content']: Themed item content (string).\n+ * - $roles: Data roles to be applied (string).\n  *\n  * @see paraneue_dosomething_get_gallery()\n  */\n ?>\n-<ul class=\"gallery -<?php print $layout; ?> <?php print $classes; ?>\">\n+<ul class=\"gallery -<?php print $layout; ?> <?php print $classes; ?>\" data-role=\"<?php print $roles; ?>\">","path":"lib/themes/dosomething/paraneue_dosomething/templates/system/patterns/gallery.tpl.php","position":10,"original_position":10,"commit_id":"af95fdb3dbc1e6068ee198aac0b10e373169898f","original_commit_id":"af95fdb3dbc1e6068ee198aac0b10e373169898f","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"body":"gotcha, thanks!","created_at":"2015-01-09T21:29:04Z","updated_at":"2015-01-09T21:29:04Z","html_url":"https://github.com/DoSomething/dosomething/pull/3691#discussion_r22744378","pull_request_url":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691","_links":{"self":{"href":"https://api.github.com/repos/DoSomething/dosomething/pulls/comments/22744378"},"html":{"href":"https://github.com/DoSomething/dosomething/pull/3691#discussion_r22744378"},"pull_request":{"href":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691"}}},"pull_request":{"url":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691","id":26980058,"html_url":"https://github.com/DoSomething/dosomething/pull/3691","diff_url":"https://github.com/DoSomething/dosomething/pull/3691.diff","patch_url":"https://github.com/DoSomething/dosomething/pull/3691.patch","issue_url":"https://api.github.com/repos/DoSomething/dosomething/issues/3691","number":3691,"state":"open","locked":false,"title":"Adds show more functionality to gallery","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"body":"Fixes #3372\r\n\r\n@aaronschachter \r\n- added show more parameter to gallery functions\r\n- added data role to galleries which should show more\r\n- updated taxonomy & user profiles to use this\r\n\r\n@weerd \r\n- added data role to the template\r\n- updated app.js to add revealer based on data role \r\n","created_at":"2015-01-07T19:17:38Z","updated_at":"2015-01-09T21:29:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"002ac02ef26c33748c3ec73454cee2e534bfc91e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691/commits","review_comments_url":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691/comments","review_comment_url":"https://api.github.com/repos/DoSomething/dosomething/pulls/comments/{number}","comments_url":"https://api.github.com/repos/DoSomething/dosomething/issues/3691/comments","statuses_url":"https://api.github.com/repos/DoSomething/dosomething/statuses/af95fdb3dbc1e6068ee198aac0b10e373169898f","head":{"label":"deadlybutter:showhide","ref":"showhide","sha":"af95fdb3dbc1e6068ee198aac0b10e373169898f","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"repo":{"id":26186134,"name":"dosomething","full_name":"deadlybutter/dosomething","owner":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deadlybutter/dosomething","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":true,"url":"https://api.github.com/repos/deadlybutter/dosomething","forks_url":"https://api.github.com/repos/deadlybutter/dosomething/forks","keys_url":"https://api.github.com/repos/deadlybutter/dosomething/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deadlybutter/dosomething/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deadlybutter/dosomething/teams","hooks_url":"https://api.github.com/repos/deadlybutter/dosomething/hooks","issue_events_url":"https://api.github.com/repos/deadlybutter/dosomething/issues/events{/number}","events_url":"https://api.github.com/repos/deadlybutter/dosomething/events","assignees_url":"https://api.github.com/repos/deadlybutter/dosomething/assignees{/user}","branches_url":"https://api.github.com/repos/deadlybutter/dosomething/branches{/branch}","tags_url":"https://api.github.com/repos/deadlybutter/dosomething/tags","blobs_url":"https://api.github.com/repos/deadlybutter/dosomething/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deadlybutter/dosomething/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deadlybutter/dosomething/git/refs{/sha}","trees_url":"https://api.github.com/repos/deadlybutter/dosomething/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deadlybutter/dosomething/statuses/{sha}","languages_url":"https://api.github.com/repos/deadlybutter/dosomething/languages","stargazers_url":"https://api.github.com/repos/deadlybutter/dosomething/stargazers","contributors_url":"https://api.github.com/repos/deadlybutter/dosomething/contributors","subscribers_url":"https://api.github.com/repos/deadlybutter/dosomething/subscribers","subscription_url":"https://api.github.com/repos/deadlybutter/dosomething/subscription","commits_url":"https://api.github.com/repos/deadlybutter/dosomething/commits{/sha}","git_commits_url":"https://api.github.com/repos/deadlybutter/dosomething/git/commits{/sha}","comments_url":"https://api.github.com/repos/deadlybutter/dosomething/comments{/number}","issue_comment_url":"https://api.github.com/repos/deadlybutter/dosomething/issues/comments/{number}","contents_url":"https://api.github.com/repos/deadlybutter/dosomething/contents/{+path}","compare_url":"https://api.github.com/repos/deadlybutter/dosomething/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deadlybutter/dosomething/merges","archive_url":"https://api.github.com/repos/deadlybutter/dosomething/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deadlybutter/dosomething/downloads","issues_url":"https://api.github.com/repos/deadlybutter/dosomething/issues{/number}","pulls_url":"https://api.github.com/repos/deadlybutter/dosomething/pulls{/number}","milestones_url":"https://api.github.com/repos/deadlybutter/dosomething/milestones{/number}","notifications_url":"https://api.github.com/repos/deadlybutter/dosomething/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deadlybutter/dosomething/labels{/name}","releases_url":"https://api.github.com/repos/deadlybutter/dosomething/releases{/id}","created_at":"2014-11-04T19:57:31Z","updated_at":"2014-12-16T19:50:35Z","pushed_at":"2015-01-07T19:11:05Z","git_url":"git://github.com/deadlybutter/dosomething.git","ssh_url":"git@github.com:deadlybutter/dosomething.git","clone_url":"https://github.com/deadlybutter/dosomething.git","svn_url":"https://github.com/deadlybutter/dosomething","homepage":"http://www.dosomething.org/","size":10717,"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":"dev"}},"base":{"label":"DoSomething:dev","ref":"dev","sha":"64128335ecc1673d12c59bd23db17c2fea0f5570","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":13592927,"name":"dosomething","full_name":"DoSomething/dosomething","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/dosomething","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":false,"url":"https://api.github.com/repos/DoSomething/dosomething","forks_url":"https://api.github.com/repos/DoSomething/dosomething/forks","keys_url":"https://api.github.com/repos/DoSomething/dosomething/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/dosomething/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/dosomething/teams","hooks_url":"https://api.github.com/repos/DoSomething/dosomething/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/dosomething/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/dosomething/events","assignees_url":"https://api.github.com/repos/DoSomething/dosomething/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/dosomething/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/dosomething/tags","blobs_url":"https://api.github.com/repos/DoSomething/dosomething/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/dosomething/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/dosomething/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/dosomething/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/dosomething/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/dosomething/languages","stargazers_url":"https://api.github.com/repos/DoSomething/dosomething/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/dosomething/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/dosomething/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/dosomething/subscription","commits_url":"https://api.github.com/repos/DoSomething/dosomething/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/dosomething/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/dosomething/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/dosomething/issues/comments/{number}","contents_url":"https://api.github.com/repos/DoSomething/dosomething/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/dosomething/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/dosomething/merges","archive_url":"https://api.github.com/repos/DoSomething/dosomething/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/dosomething/downloads","issues_url":"https://api.github.com/repos/DoSomething/dosomething/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/dosomething/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/dosomething/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/dosomething/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/dosomething/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/dosomething/releases{/id}","created_at":"2013-10-15T14:50:48Z","updated_at":"2015-01-09T16:51:21Z","pushed_at":"2015-01-09T16:51:21Z","git_url":"git://github.com/DoSomething/dosomething.git","ssh_url":"git@github.com:DoSomething/dosomething.git","clone_url":"https://github.com/DoSomething/dosomething.git","svn_url":"https://github.com/DoSomething/dosomething","homepage":"http://www.dosomething.org/","size":20316,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":214,"forks":13,"open_issues":214,"watchers":19,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691"},"html":{"href":"https://github.com/DoSomething/dosomething/pull/3691"},"issue":{"href":"https://api.github.com/repos/DoSomething/dosomething/issues/3691"},"comments":{"href":"https://api.github.com/repos/DoSomething/dosomething/issues/3691/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/dosomething/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/dosomething/pulls/3691/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/dosomething/statuses/af95fdb3dbc1e6068ee198aac0b10e373169898f"}}}}