{"action":"created","comment":{"url":"https://api.github.com/repos/ec-europa/platform-dev/pulls/comments/57298179","id":57298179,"diff_hunk":"@@ -0,0 +1,98 @@\n+<?php\n+/**\n+ * @file\n+ * Agenda.\n+ */\n+?>\n+<?php if (!empty($filter_form)): ?>\n+<div class=\"newsroomAgenda-filterForm\">\n+  <h3><?php echo t('filter by');?></h3>\n+  <?php echo drupal_render($filter_form); ?>\n+</div>\n+<?php endif; ?>\n+<div class=\"<?php echo !$is_block ? 'newsroomAgenda-container' : NULL; ?>\">\n+  <div class=\"currentDate\">\n+    <?php if (count($items) > 0) : ?>\n+      <?php foreach ($items as $agenda_item): ?>\n+        <div class=\"date-row\">\n+          <div class=\"date-date\">\n+            <span class=\"day\"><?php echo $agenda_item->getDate()->format('d'); ?></span>\n+            <span class=\"month\"><?php echo drupal_strtoupper($agenda_item->getDate()->format('M')); ?></span>\n+            <span class=\"year\"><?php echo $agenda_item->getDate()->format('Y'); ?></span>\n+          </div>\n+          <div class=\"date-events\">\n+            <?php if (count($agenda_item->getItems()) > 0) : ?>\n+              <?php foreach ($agenda_item->getItems() as $item): ?>\n+                <div class=\"views-row clearfix\">      \n+                  <span class=\"newsroom_type\"><?php echo $item->name; ?>: </span>\n+                  <div class=\"newsroom_title\">\n+                    <?php $prefix = $item->new ? '<span class=\"itemFlag flagHot newItem\">New</span> ' : NULL; ?>\n+                    <?php echo l($prefix . $item->title, 'node/' . $item->nid, array('html' => TRUE)); ?>\n+                  </div>\n+                  <div class=\"newsroom_item_metadata\">\n+                    <?php echo t('From @start_date', array('@start_date' => $item->start_date_obj->format('d/m/Y'))); ?>\n+                    <?php if (!empty($item->end_date_obj)): ?>\n+                       <?php echo t('to @end_date', array('@end_date' => $item->end_date_obj->format('d/m/Y'))); ?>\n+                    <?php endif; ?>\n+                  </div>\n+                </div>\n+              <?php endforeach; ?>\n+            <?php else: ?>\n+              <div class=\"nothing-found\"><?php echo t('No events'); ?></div>\n+            <?php endif; ?>\n+          </div>\n+        </div>\n+      <?php endforeach; ?>\n+    <?php endif; ?>\n+  </div>\n+  <?php if (count($next_event_items) > 0) : ?>\n+  <div class=\"furtherDates\">\n+      <h3 class=\"newsroom_title\"><?php echo t('Further events'); ?></h3>\n+      <?php foreach ($next_event_items as $agenda_item): ?>","path":"profiles/common/modules/features/nexteuropa_newsroom/theme/newsroom-agenda.tpl.php","position":51,"original_position":51,"commit_id":"3ec0c0faaf02dc0e15453ec75bc32753112c7739","original_commit_id":"3ec0c0faaf02dc0e15453ec75bc32753112c7739","user":{"login":"LOBsTerr","id":537500,"avatar_url":"https://avatars.githubusercontent.com/u/537500?v=3","gravatar_id":"","url":"https://api.github.com/users/LOBsTerr","html_url":"https://github.com/LOBsTerr","followers_url":"https://api.github.com/users/LOBsTerr/followers","following_url":"https://api.github.com/users/LOBsTerr/following{/other_user}","gists_url":"https://api.github.com/users/LOBsTerr/gists{/gist_id}","starred_url":"https://api.github.com/users/LOBsTerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LOBsTerr/subscriptions","organizations_url":"https://api.github.com/users/LOBsTerr/orgs","repos_url":"https://api.github.com/users/LOBsTerr/repos","events_url":"https://api.github.com/users/LOBsTerr/events{/privacy}","received_events_url":"https://api.github.com/users/LOBsTerr/received_events","type":"User","site_admin":false},"body":"I have cleaned up the templates","created_at":"2016-03-24T10:28:39Z","updated_at":"2016-03-24T10:28:39Z","html_url":"https://github.com/ec-europa/platform-dev/pull/358#discussion_r57298179","pull_request_url":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358","_links":{"self":{"href":"https://api.github.com/repos/ec-europa/platform-dev/pulls/comments/57298179"},"html":{"href":"https://github.com/ec-europa/platform-dev/pull/358#discussion_r57298179"},"pull_request":{"href":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358"}}},"pull_request":{"url":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358","id":59671833,"html_url":"https://github.com/ec-europa/platform-dev/pull/358","diff_url":"https://github.com/ec-europa/platform-dev/pull/358.diff","patch_url":"https://github.com/ec-europa/platform-dev/pull/358.patch","issue_url":"https://api.github.com/repos/ec-europa/platform-dev/issues/358","number":358,"state":"open","locked":false,"title":"Nexteuropa newsroom 2.0","user":{"login":"LOBsTerr","id":537500,"avatar_url":"https://avatars.githubusercontent.com/u/537500?v=3","gravatar_id":"","url":"https://api.github.com/users/LOBsTerr","html_url":"https://github.com/LOBsTerr","followers_url":"https://api.github.com/users/LOBsTerr/followers","following_url":"https://api.github.com/users/LOBsTerr/following{/other_user}","gists_url":"https://api.github.com/users/LOBsTerr/gists{/gist_id}","starred_url":"https://api.github.com/users/LOBsTerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LOBsTerr/subscriptions","organizations_url":"https://api.github.com/users/LOBsTerr/orgs","repos_url":"https://api.github.com/users/LOBsTerr/repos","events_url":"https://api.github.com/users/LOBsTerr/events{/privacy}","received_events_url":"https://api.github.com/users/LOBsTerr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-17T16:41:48Z","updated_at":"2016-03-24T10:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62cf9642f9ee804a41e9f292b33484131898e8bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358/commits","review_comments_url":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358/comments","review_comment_url":"https://api.github.com/repos/ec-europa/platform-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ec-europa/platform-dev/issues/358/comments","statuses_url":"https://api.github.com/repos/ec-europa/platform-dev/statuses/3ec0c0faaf02dc0e15453ec75bc32753112c7739","head":{"label":"LOBsTerr:nexteuropa_newsroom-2.0","ref":"nexteuropa_newsroom-2.0","sha":"3ec0c0faaf02dc0e15453ec75bc32753112c7739","user":{"login":"LOBsTerr","id":537500,"avatar_url":"https://avatars.githubusercontent.com/u/537500?v=3","gravatar_id":"","url":"https://api.github.com/users/LOBsTerr","html_url":"https://github.com/LOBsTerr","followers_url":"https://api.github.com/users/LOBsTerr/followers","following_url":"https://api.github.com/users/LOBsTerr/following{/other_user}","gists_url":"https://api.github.com/users/LOBsTerr/gists{/gist_id}","starred_url":"https://api.github.com/users/LOBsTerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LOBsTerr/subscriptions","organizations_url":"https://api.github.com/users/LOBsTerr/orgs","repos_url":"https://api.github.com/users/LOBsTerr/repos","events_url":"https://api.github.com/users/LOBsTerr/events{/privacy}","received_events_url":"https://api.github.com/users/LOBsTerr/received_events","type":"User","site_admin":false},"repo":{"id":42644513,"name":"platform-dev","full_name":"LOBsTerr/platform-dev","owner":{"login":"LOBsTerr","id":537500,"avatar_url":"https://avatars.githubusercontent.com/u/537500?v=3","gravatar_id":"","url":"https://api.github.com/users/LOBsTerr","html_url":"https://github.com/LOBsTerr","followers_url":"https://api.github.com/users/LOBsTerr/followers","following_url":"https://api.github.com/users/LOBsTerr/following{/other_user}","gists_url":"https://api.github.com/users/LOBsTerr/gists{/gist_id}","starred_url":"https://api.github.com/users/LOBsTerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LOBsTerr/subscriptions","organizations_url":"https://api.github.com/users/LOBsTerr/orgs","repos_url":"https://api.github.com/users/LOBsTerr/repos","events_url":"https://api.github.com/users/LOBsTerr/events{/privacy}","received_events_url":"https://api.github.com/users/LOBsTerr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LOBsTerr/platform-dev","description":"NextEuropa platform","fork":true,"url":"https://api.github.com/repos/LOBsTerr/platform-dev","forks_url":"https://api.github.com/repos/LOBsTerr/platform-dev/forks","keys_url":"https://api.github.com/repos/LOBsTerr/platform-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LOBsTerr/platform-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LOBsTerr/platform-dev/teams","hooks_url":"https://api.github.com/repos/LOBsTerr/platform-dev/hooks","issue_events_url":"https://api.github.com/repos/LOBsTerr/platform-dev/issues/events{/number}","events_url":"https://api.github.com/repos/LOBsTerr/platform-dev/events","assignees_url":"https://api.github.com/repos/LOBsTerr/platform-dev/assignees{/user}","branches_url":"https://api.github.com/repos/LOBsTerr/platform-dev/branches{/branch}","tags_url":"https://api.github.com/repos/LOBsTerr/platform-dev/tags","blobs_url":"https://api.github.com/repos/LOBsTerr/platform-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LOBsTerr/platform-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LOBsTerr/platform-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/LOBsTerr/platform-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LOBsTerr/platform-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/LOBsTerr/platform-dev/languages","stargazers_url":"https://api.github.com/repos/LOBsTerr/platform-dev/stargazers","contributors_url":"https://api.github.com/repos/LOBsTerr/platform-dev/contributors","subscribers_url":"https://api.github.com/repos/LOBsTerr/platform-dev/subscribers","subscription_url":"https://api.github.com/repos/LOBsTerr/platform-dev/subscription","commits_url":"https://api.github.com/repos/LOBsTerr/platform-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/LOBsTerr/platform-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/LOBsTerr/platform-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/LOBsTerr/platform-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/LOBsTerr/platform-dev/contents/{+path}","compare_url":"https://api.github.com/repos/LOBsTerr/platform-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LOBsTerr/platform-dev/merges","archive_url":"https://api.github.com/repos/LOBsTerr/platform-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LOBsTerr/platform-dev/downloads","issues_url":"https://api.github.com/repos/LOBsTerr/platform-dev/issues{/number}","pulls_url":"https://api.github.com/repos/LOBsTerr/platform-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/LOBsTerr/platform-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/LOBsTerr/platform-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LOBsTerr/platform-dev/labels{/name}","releases_url":"https://api.github.com/repos/LOBsTerr/platform-dev/releases{/id}","deployments_url":"https://api.github.com/repos/LOBsTerr/platform-dev/deployments","created_at":"2015-09-17T08:27:49Z","updated_at":"2016-02-01T11:02:57Z","pushed_at":"2016-03-21T17:44:14Z","git_url":"git://github.com/LOBsTerr/platform-dev.git","ssh_url":"git@github.com:LOBsTerr/platform-dev.git","clone_url":"https://github.com/LOBsTerr/platform-dev.git","svn_url":"https://github.com/LOBsTerr/platform-dev","homepage":null,"size":45711,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"ec-europa:develop","ref":"develop","sha":"74ebef9e5bebd7d8e9253ad27d32b4c19e7e06df","user":{"login":"ec-europa","id":10885565,"avatar_url":"https://avatars.githubusercontent.com/u/10885565?v=3","gravatar_id":"","url":"https://api.github.com/users/ec-europa","html_url":"https://github.com/ec-europa","followers_url":"https://api.github.com/users/ec-europa/followers","following_url":"https://api.github.com/users/ec-europa/following{/other_user}","gists_url":"https://api.github.com/users/ec-europa/gists{/gist_id}","starred_url":"https://api.github.com/users/ec-europa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ec-europa/subscriptions","organizations_url":"https://api.github.com/users/ec-europa/orgs","repos_url":"https://api.github.com/users/ec-europa/repos","events_url":"https://api.github.com/users/ec-europa/events{/privacy}","received_events_url":"https://api.github.com/users/ec-europa/received_events","type":"Organization","site_admin":false},"repo":{"id":41666809,"name":"platform-dev","full_name":"ec-europa/platform-dev","owner":{"login":"ec-europa","id":10885565,"avatar_url":"https://avatars.githubusercontent.com/u/10885565?v=3","gravatar_id":"","url":"https://api.github.com/users/ec-europa","html_url":"https://github.com/ec-europa","followers_url":"https://api.github.com/users/ec-europa/followers","following_url":"https://api.github.com/users/ec-europa/following{/other_user}","gists_url":"https://api.github.com/users/ec-europa/gists{/gist_id}","starred_url":"https://api.github.com/users/ec-europa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ec-europa/subscriptions","organizations_url":"https://api.github.com/users/ec-europa/orgs","repos_url":"https://api.github.com/users/ec-europa/repos","events_url":"https://api.github.com/users/ec-europa/events{/privacy}","received_events_url":"https://api.github.com/users/ec-europa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ec-europa/platform-dev","description":"NextEuropa platform","fork":false,"url":"https://api.github.com/repos/ec-europa/platform-dev","forks_url":"https://api.github.com/repos/ec-europa/platform-dev/forks","keys_url":"https://api.github.com/repos/ec-europa/platform-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ec-europa/platform-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ec-europa/platform-dev/teams","hooks_url":"https://api.github.com/repos/ec-europa/platform-dev/hooks","issue_events_url":"https://api.github.com/repos/ec-europa/platform-dev/issues/events{/number}","events_url":"https://api.github.com/repos/ec-europa/platform-dev/events","assignees_url":"https://api.github.com/repos/ec-europa/platform-dev/assignees{/user}","branches_url":"https://api.github.com/repos/ec-europa/platform-dev/branches{/branch}","tags_url":"https://api.github.com/repos/ec-europa/platform-dev/tags","blobs_url":"https://api.github.com/repos/ec-europa/platform-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ec-europa/platform-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ec-europa/platform-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/ec-europa/platform-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ec-europa/platform-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/ec-europa/platform-dev/languages","stargazers_url":"https://api.github.com/repos/ec-europa/platform-dev/stargazers","contributors_url":"https://api.github.com/repos/ec-europa/platform-dev/contributors","subscribers_url":"https://api.github.com/repos/ec-europa/platform-dev/subscribers","subscription_url":"https://api.github.com/repos/ec-europa/platform-dev/subscription","commits_url":"https://api.github.com/repos/ec-europa/platform-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/ec-europa/platform-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/ec-europa/platform-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/ec-europa/platform-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/ec-europa/platform-dev/contents/{+path}","compare_url":"https://api.github.com/repos/ec-europa/platform-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ec-europa/platform-dev/merges","archive_url":"https://api.github.com/repos/ec-europa/platform-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ec-europa/platform-dev/downloads","issues_url":"https://api.github.com/repos/ec-europa/platform-dev/issues{/number}","pulls_url":"https://api.github.com/repos/ec-europa/platform-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/ec-europa/platform-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/ec-europa/platform-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ec-europa/platform-dev/labels{/name}","releases_url":"https://api.github.com/repos/ec-europa/platform-dev/releases{/id}","deployments_url":"https://api.github.com/repos/ec-europa/platform-dev/deployments","created_at":"2015-08-31T09:16:12Z","updated_at":"2016-03-01T11:23:15Z","pushed_at":"2016-03-24T09:54:23Z","git_url":"git://github.com/ec-europa/platform-dev.git","ssh_url":"git@github.com:ec-europa/platform-dev.git","clone_url":"https://github.com/ec-europa/platform-dev.git","svn_url":"https://github.com/ec-europa/platform-dev","homepage":null,"size":46425,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":27,"forks":6,"open_issues":27,"watchers":12,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358"},"html":{"href":"https://github.com/ec-europa/platform-dev/pull/358"},"issue":{"href":"https://api.github.com/repos/ec-europa/platform-dev/issues/358"},"comments":{"href":"https://api.github.com/repos/ec-europa/platform-dev/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/ec-europa/platform-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ec-europa/platform-dev/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/ec-europa/platform-dev/statuses/3ec0c0faaf02dc0e15453ec75bc32753112c7739"}}}}