{"action":"created","comment":{"url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/comments/210999688","pull_request_review_id":147339415,"id":210999688,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDk5OTY4OA==","diff_hunk":"@@ -0,0 +1,57 @@\n+<html xmlns=\"http://www.w3.org/1999/xhtml\"\n+      xmlns:metal=\"http://xml.zope.org/namespaces/metal\"\n+      xmlns:tal=\"http://xml.zope.org/namespaces/tal\"\n+      xmlns:i18n=\"http://xml.zope.org/namespaces/i18n\"\n+      i18n:domain=\"governo.mdh.portal\">\n+  <body tal:define=\"is_empty view/is_empty\">\n+    <p tal:condition=\"python: is_empty and view.is_compose_mode()\" i18n:translate=\"\">","path":"src/brasil/gov/tiles/tiles/templates/carouselvideos.pt","position":7,"original_position":7,"commit_id":"d8dbcd60787a96f09d646f3b2222fe64464b7ebd","original_commit_id":"d8dbcd60787a96f09d646f3b2222fe64464b7ebd","user":{"login":"claytonc","id":1719539,"node_id":"MDQ6VXNlcjE3MTk1Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/1719539?v=4","gravatar_id":"","url":"https://api.github.com/users/claytonc","html_url":"https://github.com/claytonc","followers_url":"https://api.github.com/users/claytonc/followers","following_url":"https://api.github.com/users/claytonc/following{/other_user}","gists_url":"https://api.github.com/users/claytonc/gists{/gist_id}","starred_url":"https://api.github.com/users/claytonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claytonc/subscriptions","organizations_url":"https://api.github.com/users/claytonc/orgs","repos_url":"https://api.github.com/users/claytonc/repos","events_url":"https://api.github.com/users/claytonc/events{/privacy}","received_events_url":"https://api.github.com/users/claytonc/received_events","type":"User","site_admin":false},"body":"Tem que alterar o método is_empty, não esta validando quando o tile esta vazio.\r\nDa uma olhada aqui https://github.com/plonegovbr/brasil.gov.tiles/blob/claytonc-carousel-tile/src/brasil/gov/tiles/tiles/groupcarousel.py#L73","created_at":"2018-08-17T18:42:04Z","updated_at":"2018-08-17T18:42:04Z","html_url":"https://github.com/plonegovbr/brasil.gov.tiles/pull/228#discussion_r210999688","pull_request_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/comments/210999688"},"html":{"href":"https://github.com/plonegovbr/brasil.gov.tiles/pull/228#discussion_r210999688"},"pull_request":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228"}}},"pull_request":{"url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228","id":208828384,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4ODI4Mzg0","html_url":"https://github.com/plonegovbr/brasil.gov.tiles/pull/228","diff_url":"https://github.com/plonegovbr/brasil.gov.tiles/pull/228.diff","patch_url":"https://github.com/plonegovbr/brasil.gov.tiles/pull/228.patch","issue_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/228","number":228,"state":"open","locked":false,"title":"Add carouselvideos tile","user":{"login":"rodfersou","id":131209,"node_id":"MDQ6VXNlcjEzMTIwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/131209?v=4","gravatar_id":"","url":"https://api.github.com/users/rodfersou","html_url":"https://github.com/rodfersou","followers_url":"https://api.github.com/users/rodfersou/followers","following_url":"https://api.github.com/users/rodfersou/following{/other_user}","gists_url":"https://api.github.com/users/rodfersou/gists{/gist_id}","starred_url":"https://api.github.com/users/rodfersou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodfersou/subscriptions","organizations_url":"https://api.github.com/users/rodfersou/orgs","repos_url":"https://api.github.com/users/rodfersou/repos","events_url":"https://api.github.com/users/rodfersou/events{/privacy}","received_events_url":"https://api.github.com/users/rodfersou/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-16T11:30:49Z","updated_at":"2018-08-17T18:42:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d023ba482f77656afcd688aed0c49f12c4c027e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1016486749,"node_id":"MDU6TGFiZWwxMDE2NDg2NzQ5","url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/labels/2.x","name":"2.x","color":"fbca04","default":false},{"id":183756880,"node_id":"MDU6TGFiZWwxODM3NTY4ODA=","url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/labels/ready","name":"ready","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228/commits","review_comments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228/comments","review_comment_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/228/comments","statuses_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/statuses/d8dbcd60787a96f09d646f3b2222fe64464b7ebd","head":{"label":"plonegovbr:add-carouselvideos-tile","ref":"add-carouselvideos-tile","sha":"d8dbcd60787a96f09d646f3b2222fe64464b7ebd","user":{"login":"plonegovbr","id":1334477,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzQ0Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1334477?v=4","gravatar_id":"","url":"https://api.github.com/users/plonegovbr","html_url":"https://github.com/plonegovbr","followers_url":"https://api.github.com/users/plonegovbr/followers","following_url":"https://api.github.com/users/plonegovbr/following{/other_user}","gists_url":"https://api.github.com/users/plonegovbr/gists{/gist_id}","starred_url":"https://api.github.com/users/plonegovbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plonegovbr/subscriptions","organizations_url":"https://api.github.com/users/plonegovbr/orgs","repos_url":"https://api.github.com/users/plonegovbr/repos","events_url":"https://api.github.com/users/plonegovbr/events{/privacy}","received_events_url":"https://api.github.com/users/plonegovbr/received_events","type":"Organization","site_admin":false},"repo":{"id":9462835,"node_id":"MDEwOlJlcG9zaXRvcnk5NDYyODM1","name":"brasil.gov.tiles","full_name":"plonegovbr/brasil.gov.tiles","owner":{"login":"plonegovbr","id":1334477,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzQ0Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1334477?v=4","gravatar_id":"","url":"https://api.github.com/users/plonegovbr","html_url":"https://github.com/plonegovbr","followers_url":"https://api.github.com/users/plonegovbr/followers","following_url":"https://api.github.com/users/plonegovbr/following{/other_user}","gists_url":"https://api.github.com/users/plonegovbr/gists{/gist_id}","starred_url":"https://api.github.com/users/plonegovbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plonegovbr/subscriptions","organizations_url":"https://api.github.com/users/plonegovbr/orgs","repos_url":"https://api.github.com/users/plonegovbr/repos","events_url":"https://api.github.com/users/plonegovbr/events{/privacy}","received_events_url":"https://api.github.com/users/plonegovbr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plonegovbr/brasil.gov.tiles","description":"Blocos de Conteúdo (Tiles) para sites do Governo Brasileiro","fork":false,"url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles","forks_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/forks","keys_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/teams","hooks_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/hooks","issue_events_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/events{/number}","events_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/events","assignees_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/assignees{/user}","branches_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/branches{/branch}","tags_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/tags","blobs_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/statuses/{sha}","languages_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/languages","stargazers_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/stargazers","contributors_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/contributors","subscribers_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/subscribers","subscription_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/subscription","commits_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/contents/{+path}","compare_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/merges","archive_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/downloads","issues_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues{/number}","pulls_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls{/number}","milestones_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/milestones{/number}","notifications_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/labels{/name}","releases_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/releases{/id}","deployments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/deployments","created_at":"2013-04-16T02:41:05Z","updated_at":"2018-08-14T17:27:00Z","pushed_at":"2018-08-17T03:58:08Z","git_url":"git://github.com/plonegovbr/brasil.gov.tiles.git","ssh_url":"git@github.com:plonegovbr/brasil.gov.tiles.git","clone_url":"https://github.com/plonegovbr/brasil.gov.tiles.git","svn_url":"https://github.com/plonegovbr/brasil.gov.tiles","homepage":null,"size":2612,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":32,"license":null,"forks":8,"open_issues":32,"watchers":2,"default_branch":"master"}},"base":{"label":"plonegovbr:master","ref":"master","sha":"faafcfcf6385191486589a029c51b4c33bba91cb","user":{"login":"plonegovbr","id":1334477,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzQ0Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1334477?v=4","gravatar_id":"","url":"https://api.github.com/users/plonegovbr","html_url":"https://github.com/plonegovbr","followers_url":"https://api.github.com/users/plonegovbr/followers","following_url":"https://api.github.com/users/plonegovbr/following{/other_user}","gists_url":"https://api.github.com/users/plonegovbr/gists{/gist_id}","starred_url":"https://api.github.com/users/plonegovbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plonegovbr/subscriptions","organizations_url":"https://api.github.com/users/plonegovbr/orgs","repos_url":"https://api.github.com/users/plonegovbr/repos","events_url":"https://api.github.com/users/plonegovbr/events{/privacy}","received_events_url":"https://api.github.com/users/plonegovbr/received_events","type":"Organization","site_admin":false},"repo":{"id":9462835,"node_id":"MDEwOlJlcG9zaXRvcnk5NDYyODM1","name":"brasil.gov.tiles","full_name":"plonegovbr/brasil.gov.tiles","owner":{"login":"plonegovbr","id":1334477,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzQ0Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1334477?v=4","gravatar_id":"","url":"https://api.github.com/users/plonegovbr","html_url":"https://github.com/plonegovbr","followers_url":"https://api.github.com/users/plonegovbr/followers","following_url":"https://api.github.com/users/plonegovbr/following{/other_user}","gists_url":"https://api.github.com/users/plonegovbr/gists{/gist_id}","starred_url":"https://api.github.com/users/plonegovbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plonegovbr/subscriptions","organizations_url":"https://api.github.com/users/plonegovbr/orgs","repos_url":"https://api.github.com/users/plonegovbr/repos","events_url":"https://api.github.com/users/plonegovbr/events{/privacy}","received_events_url":"https://api.github.com/users/plonegovbr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plonegovbr/brasil.gov.tiles","description":"Blocos de Conteúdo (Tiles) para sites do Governo Brasileiro","fork":false,"url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles","forks_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/forks","keys_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/teams","hooks_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/hooks","issue_events_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/events{/number}","events_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/events","assignees_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/assignees{/user}","branches_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/branches{/branch}","tags_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/tags","blobs_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/statuses/{sha}","languages_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/languages","stargazers_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/stargazers","contributors_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/contributors","subscribers_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/subscribers","subscription_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/subscription","commits_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/contents/{+path}","compare_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/merges","archive_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/downloads","issues_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues{/number}","pulls_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls{/number}","milestones_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/milestones{/number}","notifications_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/labels{/name}","releases_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/releases{/id}","deployments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/deployments","created_at":"2013-04-16T02:41:05Z","updated_at":"2018-08-14T17:27:00Z","pushed_at":"2018-08-17T03:58:08Z","git_url":"git://github.com/plonegovbr/brasil.gov.tiles.git","ssh_url":"git@github.com:plonegovbr/brasil.gov.tiles.git","clone_url":"https://github.com/plonegovbr/brasil.gov.tiles.git","svn_url":"https://github.com/plonegovbr/brasil.gov.tiles","homepage":null,"size":2612,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":32,"license":null,"forks":8,"open_issues":32,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228"},"html":{"href":"https://github.com/plonegovbr/brasil.gov.tiles/pull/228"},"issue":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/228"},"comments":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/plonegovbr/brasil.gov.tiles/statuses/d8dbcd60787a96f09d646f3b2222fe64464b7ebd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"claytonc"}}