{"action":"created","comment":{"url":"https://api.github.com/repos/codegram/decidim/pulls/comments/83587235","pull_request_review_id":4420755,"id":83587235,"diff_hunk":"@@ -0,0 +1,19 @@\n+<main class=\"wrapper\">\n+  <% if hero_processes.any? %>\n+    <section id =\"highlighted-processes\" class=\"row section\">\n+      <h1 class=\"section-heading\"><%= t(\".hero_processes\", scope: \"layouts\") %></h1>\n+        <% hero_processes.each do |hero_process| %>\n+          <%= render partial: \"hero_process\", locals: { hero_process: hero_process } %>\n+        <% end %>\n+    </section>\n+  <% end %>\n+\n+  <section id=\"processes-grid\" class=\"section row collapse\">\n+    <%= render partial: \"order_by_processes\" %>\n+    <div class=\"row small-up-1 medium-up-2 large-up-3 card-grid\">\n+      <% participatory_processes.each do |participatory_process| %>\n+        <%= render partial: \"process\", locals: { participatory_process: participatory_process } %>","path":"decidim-core/app/views/decidim/participatory_processes/index.html.erb","position":15,"original_position":15,"commit_id":"5359658e58d3450c8212af392a8d802f6047ecfb","original_commit_id":"5359658e58d3450c8212af392a8d802f6047ecfb","user":{"login":"oriolgual","id":5254,"avatar_url":"https://avatars.githubusercontent.com/u/5254?v=3","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},"body":"If you rename the partial file to `participatory_process` you can render the collection","created_at":"2016-10-17T07:15:43Z","updated_at":"2016-10-17T07:15:43Z","html_url":"https://github.com/codegram/decidim/pull/108#discussion_r83587235","pull_request_url":"https://api.github.com/repos/codegram/decidim/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/codegram/decidim/pulls/comments/83587235"},"html":{"href":"https://github.com/codegram/decidim/pull/108#discussion_r83587235"},"pull_request":{"href":"https://api.github.com/repos/codegram/decidim/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/codegram/decidim/pulls/108","id":89201839,"html_url":"https://github.com/codegram/decidim/pull/108","diff_url":"https://github.com/codegram/decidim/pull/108.diff","patch_url":"https://github.com/codegram/decidim/pull/108.patch","issue_url":"https://api.github.com/repos/codegram/decidim/issues/108","number":108,"state":"open","locked":false,"title":"Add processes public layout","user":{"login":"mrcasals","id":491891,"avatar_url":"https://avatars.githubusercontent.com/u/491891?v=3","gravatar_id":"","url":"https://api.github.com/users/mrcasals","html_url":"https://github.com/mrcasals","followers_url":"https://api.github.com/users/mrcasals/followers","following_url":"https://api.github.com/users/mrcasals/following{/other_user}","gists_url":"https://api.github.com/users/mrcasals/gists{/gist_id}","starred_url":"https://api.github.com/users/mrcasals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrcasals/subscriptions","organizations_url":"https://api.github.com/users/mrcasals/orgs","repos_url":"https://api.github.com/users/mrcasals/repos","events_url":"https://api.github.com/users/mrcasals/events{/privacy}","received_events_url":"https://api.github.com/users/mrcasals/received_events","type":"User","site_admin":false},"body":"#### :tophat: What? Why?\r\nAdds public layout for processes. Some features appearing in `decidim-design` have not been added as they need backend support and it is not ready\r\n\r\n#### :clipboard: Subtasks\r\n- [x] Add index page\r\n- [x] Add show page\r\n- [x] Add translations\r\n- [x] Add `promoted` flag to processes and related UI\r\n- [x] Check why the show page shows \"Promoted\" instead of \"Highlighted\"\r\n- [x] Add specs\r\n\r\n#### :ghost: GIF\r\n![](https://media.giphy.com/media/26vUB4OeDi3NAQZZ6/giphy.gif)","created_at":"2016-10-13T13:28:00Z","updated_at":"2016-10-17T07:15:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb6f4bcdd6885358d9a3c0b4592629c8549d35fb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/codegram/decidim/pulls/108/commits","review_comments_url":"https://api.github.com/repos/codegram/decidim/pulls/108/comments","review_comment_url":"https://api.github.com/repos/codegram/decidim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codegram/decidim/issues/108/comments","statuses_url":"https://api.github.com/repos/codegram/decidim/statuses/5359658e58d3450c8212af392a8d802f6047ecfb","head":{"label":"codegram:add_processes_public_layout","ref":"add_processes_public_layout","sha":"5359658e58d3450c8212af392a8d802f6047ecfb","user":{"login":"codegram","id":82056,"avatar_url":"https://avatars.githubusercontent.com/u/82056?v=3","gravatar_id":"","url":"https://api.github.com/users/codegram","html_url":"https://github.com/codegram","followers_url":"https://api.github.com/users/codegram/followers","following_url":"https://api.github.com/users/codegram/following{/other_user}","gists_url":"https://api.github.com/users/codegram/gists{/gist_id}","starred_url":"https://api.github.com/users/codegram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegram/subscriptions","organizations_url":"https://api.github.com/users/codegram/orgs","repos_url":"https://api.github.com/users/codegram/repos","events_url":"https://api.github.com/users/codegram/events{/privacy}","received_events_url":"https://api.github.com/users/codegram/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"name":"decidim","full_name":"codegram/decidim","owner":{"login":"codegram","id":82056,"avatar_url":"https://avatars.githubusercontent.com/u/82056?v=3","gravatar_id":"","url":"https://api.github.com/users/codegram","html_url":"https://github.com/codegram","followers_url":"https://api.github.com/users/codegram/followers","following_url":"https://api.github.com/users/codegram/following{/other_user}","gists_url":"https://api.github.com/users/codegram/gists{/gist_id}","starred_url":"https://api.github.com/users/codegram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegram/subscriptions","organizations_url":"https://api.github.com/users/codegram/orgs","repos_url":"https://api.github.com/users/codegram/repos","events_url":"https://api.github.com/users/codegram/events{/privacy}","received_events_url":"https://api.github.com/users/codegram/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codegram/decidim","description":"The participatory democracy framework","fork":false,"url":"https://api.github.com/repos/codegram/decidim","forks_url":"https://api.github.com/repos/codegram/decidim/forks","keys_url":"https://api.github.com/repos/codegram/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codegram/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codegram/decidim/teams","hooks_url":"https://api.github.com/repos/codegram/decidim/hooks","issue_events_url":"https://api.github.com/repos/codegram/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/codegram/decidim/events","assignees_url":"https://api.github.com/repos/codegram/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/codegram/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/codegram/decidim/tags","blobs_url":"https://api.github.com/repos/codegram/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codegram/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codegram/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/codegram/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codegram/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/codegram/decidim/languages","stargazers_url":"https://api.github.com/repos/codegram/decidim/stargazers","contributors_url":"https://api.github.com/repos/codegram/decidim/contributors","subscribers_url":"https://api.github.com/repos/codegram/decidim/subscribers","subscription_url":"https://api.github.com/repos/codegram/decidim/subscription","commits_url":"https://api.github.com/repos/codegram/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/codegram/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/codegram/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/codegram/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/codegram/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/codegram/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codegram/decidim/merges","archive_url":"https://api.github.com/repos/codegram/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codegram/decidim/downloads","issues_url":"https://api.github.com/repos/codegram/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/codegram/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/codegram/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/codegram/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codegram/decidim/labels{/name}","releases_url":"https://api.github.com/repos/codegram/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/codegram/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2016-10-03T09:53:15Z","pushed_at":"2016-10-14T14:25:01Z","git_url":"git://github.com/codegram/decidim.git","ssh_url":"git@github.com:codegram/decidim.git","clone_url":"https://github.com/codegram/decidim.git","svn_url":"https://github.com/codegram/decidim","homepage":"","size":2615,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"codegram:master","ref":"master","sha":"0d6067bb9da4eb62d0d0de96b08209fdc0747483","user":{"login":"codegram","id":82056,"avatar_url":"https://avatars.githubusercontent.com/u/82056?v=3","gravatar_id":"","url":"https://api.github.com/users/codegram","html_url":"https://github.com/codegram","followers_url":"https://api.github.com/users/codegram/followers","following_url":"https://api.github.com/users/codegram/following{/other_user}","gists_url":"https://api.github.com/users/codegram/gists{/gist_id}","starred_url":"https://api.github.com/users/codegram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegram/subscriptions","organizations_url":"https://api.github.com/users/codegram/orgs","repos_url":"https://api.github.com/users/codegram/repos","events_url":"https://api.github.com/users/codegram/events{/privacy}","received_events_url":"https://api.github.com/users/codegram/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"name":"decidim","full_name":"codegram/decidim","owner":{"login":"codegram","id":82056,"avatar_url":"https://avatars.githubusercontent.com/u/82056?v=3","gravatar_id":"","url":"https://api.github.com/users/codegram","html_url":"https://github.com/codegram","followers_url":"https://api.github.com/users/codegram/followers","following_url":"https://api.github.com/users/codegram/following{/other_user}","gists_url":"https://api.github.com/users/codegram/gists{/gist_id}","starred_url":"https://api.github.com/users/codegram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegram/subscriptions","organizations_url":"https://api.github.com/users/codegram/orgs","repos_url":"https://api.github.com/users/codegram/repos","events_url":"https://api.github.com/users/codegram/events{/privacy}","received_events_url":"https://api.github.com/users/codegram/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codegram/decidim","description":"The participatory democracy framework","fork":false,"url":"https://api.github.com/repos/codegram/decidim","forks_url":"https://api.github.com/repos/codegram/decidim/forks","keys_url":"https://api.github.com/repos/codegram/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codegram/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codegram/decidim/teams","hooks_url":"https://api.github.com/repos/codegram/decidim/hooks","issue_events_url":"https://api.github.com/repos/codegram/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/codegram/decidim/events","assignees_url":"https://api.github.com/repos/codegram/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/codegram/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/codegram/decidim/tags","blobs_url":"https://api.github.com/repos/codegram/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codegram/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codegram/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/codegram/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codegram/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/codegram/decidim/languages","stargazers_url":"https://api.github.com/repos/codegram/decidim/stargazers","contributors_url":"https://api.github.com/repos/codegram/decidim/contributors","subscribers_url":"https://api.github.com/repos/codegram/decidim/subscribers","subscription_url":"https://api.github.com/repos/codegram/decidim/subscription","commits_url":"https://api.github.com/repos/codegram/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/codegram/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/codegram/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/codegram/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/codegram/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/codegram/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codegram/decidim/merges","archive_url":"https://api.github.com/repos/codegram/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codegram/decidim/downloads","issues_url":"https://api.github.com/repos/codegram/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/codegram/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/codegram/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/codegram/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codegram/decidim/labels{/name}","releases_url":"https://api.github.com/repos/codegram/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/codegram/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2016-10-03T09:53:15Z","pushed_at":"2016-10-14T14:25:01Z","git_url":"git://github.com/codegram/decidim.git","ssh_url":"git@github.com:codegram/decidim.git","clone_url":"https://github.com/codegram/decidim.git","svn_url":"https://github.com/codegram/decidim","homepage":"","size":2615,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codegram/decidim/pulls/108"},"html":{"href":"https://github.com/codegram/decidim/pull/108"},"issue":{"href":"https://api.github.com/repos/codegram/decidim/issues/108"},"comments":{"href":"https://api.github.com/repos/codegram/decidim/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/codegram/decidim/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/codegram/decidim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codegram/decidim/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/codegram/decidim/statuses/5359658e58d3450c8212af392a8d802f6047ecfb"}}}}
{"actor":{"display_login":"oriolgual"}}