{"action":"created","comment":{"url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/comments/231562753","pull_request_review_id":172559980,"id":231562753,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTU2Mjc1Mw==","diff_hunk":"@@ -450,3 +450,39 @@ function _infinite_get_icon($node, $variables) {\n \n   return $variables;\n }\n+\n+/**\n+ * Set infinite preprocess variables for User\n+ *\n+ * @param $variables\n+ *\n+ * @throws \\Drupal\\Core\\TypedData\\Exception\\MissingDataException\n+ */\n+function infinite_preprocess_user(&$variables)  {\n+  try {","path":"infinite.theme","position":27,"original_position":27,"commit_id":"e3d5681603ad4d7c19a2f55f4c19a24488cbbf42","original_commit_id":"e3d5681603ad4d7c19a2f55f4c19a24488cbbf42","user":{"login":"MaurizioBrioschi","id":4137411,"node_id":"MDQ6VXNlcjQxMzc0MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4137411?v=4","gravatar_id":"","url":"https://api.github.com/users/MaurizioBrioschi","html_url":"https://github.com/MaurizioBrioschi","followers_url":"https://api.github.com/users/MaurizioBrioschi/followers","following_url":"https://api.github.com/users/MaurizioBrioschi/following{/other_user}","gists_url":"https://api.github.com/users/MaurizioBrioschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MaurizioBrioschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaurizioBrioschi/subscriptions","organizations_url":"https://api.github.com/users/MaurizioBrioschi/orgs","repos_url":"https://api.github.com/users/MaurizioBrioschi/repos","events_url":"https://api.github.com/users/MaurizioBrioschi/events{/privacy}","received_events_url":"https://api.github.com/users/MaurizioBrioschi/received_events","type":"User","site_admin":false},"body":"why not? i don't have a default value","created_at":"2018-11-07T15:55:09Z","updated_at":"2018-11-07T15:55:10Z","html_url":"https://github.com/BurdaMagazinOrg/infinite-theme/pull/194#discussion_r231562753","pull_request_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/comments/231562753"},"html":{"href":"https://github.com/BurdaMagazinOrg/infinite-theme/pull/194#discussion_r231562753"},"pull_request":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194"}},"in_reply_to_id":231496653},"pull_request":{"url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194","id":228965283,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4OTY1Mjgz","html_url":"https://github.com/BurdaMagazinOrg/infinite-theme/pull/194","diff_url":"https://github.com/BurdaMagazinOrg/infinite-theme/pull/194.diff","patch_url":"https://github.com/BurdaMagazinOrg/infinite-theme/pull/194.patch","issue_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/194","number":194,"state":"open","locked":false,"title":"Feature/inrel 5169 remove author header if spotlight content is present","user":{"login":"MaurizioBrioschi","id":4137411,"node_id":"MDQ6VXNlcjQxMzc0MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4137411?v=4","gravatar_id":"","url":"https://api.github.com/users/MaurizioBrioschi","html_url":"https://github.com/MaurizioBrioschi","followers_url":"https://api.github.com/users/MaurizioBrioschi/followers","following_url":"https://api.github.com/users/MaurizioBrioschi/following{/other_user}","gists_url":"https://api.github.com/users/MaurizioBrioschi/gists{/gist_id}","starred_url":"https://api.github.com/users/MaurizioBrioschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaurizioBrioschi/subscriptions","organizations_url":"https://api.github.com/users/MaurizioBrioschi/orgs","repos_url":"https://api.github.com/users/MaurizioBrioschi/repos","events_url":"https://api.github.com/users/MaurizioBrioschi/events{/privacy}","received_events_url":"https://api.github.com/users/MaurizioBrioschi/received_events","type":"User","site_admin":false},"body":"## [INREL-5169](https://jira.burda.com/browse/INREL-5169) \r\nfrom the ticket:\r\nPlease include a summary of the changes provided with this pull request and which issue has been As an SEO Manager I dont want to have a Spotlight Element + a Header on Author profiles. \r\nI want the same behaviour of the page like a term page (e.g. https://www.instyle.de/frisuren/flechtfrisuren) has: if there is no spotlight element a header is shown. however if there is a spotlight element the header is hidden.\r\n\r\n## How to test:\r\nJust add and remove a spotlight paragraph from an author and see if the spotlight paragraph is shown.\r\nBasically the spotlight content has always the priority, if it is present then my be shown and the header of the Author must disappear. ","created_at":"2018-11-07T09:30:10Z","updated_at":"2018-11-07T15:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b1961cf35ac21829489da17ddfc00a668774096","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194/commits","review_comments_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194/comments","review_comment_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/194/comments","statuses_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/statuses/e3d5681603ad4d7c19a2f55f4c19a24488cbbf42","head":{"label":"BurdaMagazinOrg:feature/INREL-5169-remove-author-header-if-spotlight-content-is-present","ref":"feature/INREL-5169-remove-author-header-if-spotlight-content-is-present","sha":"e3d5681603ad4d7c19a2f55f4c19a24488cbbf42","user":{"login":"BurdaMagazinOrg","id":13872637,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODcyNjM3","avatar_url":"https://avatars2.githubusercontent.com/u/13872637?v=4","gravatar_id":"","url":"https://api.github.com/users/BurdaMagazinOrg","html_url":"https://github.com/BurdaMagazinOrg","followers_url":"https://api.github.com/users/BurdaMagazinOrg/followers","following_url":"https://api.github.com/users/BurdaMagazinOrg/following{/other_user}","gists_url":"https://api.github.com/users/BurdaMagazinOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/BurdaMagazinOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurdaMagazinOrg/subscriptions","organizations_url":"https://api.github.com/users/BurdaMagazinOrg/orgs","repos_url":"https://api.github.com/users/BurdaMagazinOrg/repos","events_url":"https://api.github.com/users/BurdaMagazinOrg/events{/privacy}","received_events_url":"https://api.github.com/users/BurdaMagazinOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":48366067,"node_id":"MDEwOlJlcG9zaXRvcnk0ODM2NjA2Nw==","name":"infinite-theme","full_name":"BurdaMagazinOrg/infinite-theme","private":false,"owner":{"login":"BurdaMagazinOrg","id":13872637,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODcyNjM3","avatar_url":"https://avatars2.githubusercontent.com/u/13872637?v=4","gravatar_id":"","url":"https://api.github.com/users/BurdaMagazinOrg","html_url":"https://github.com/BurdaMagazinOrg","followers_url":"https://api.github.com/users/BurdaMagazinOrg/followers","following_url":"https://api.github.com/users/BurdaMagazinOrg/following{/other_user}","gists_url":"https://api.github.com/users/BurdaMagazinOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/BurdaMagazinOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurdaMagazinOrg/subscriptions","organizations_url":"https://api.github.com/users/BurdaMagazinOrg/orgs","repos_url":"https://api.github.com/users/BurdaMagazinOrg/repos","events_url":"https://api.github.com/users/BurdaMagazinOrg/events{/privacy}","received_events_url":"https://api.github.com/users/BurdaMagazinOrg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BurdaMagazinOrg/infinite-theme","description":null,"fork":false,"url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme","forks_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/forks","keys_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/teams","hooks_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/hooks","issue_events_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/events{/number}","events_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/events","assignees_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/assignees{/user}","branches_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/branches{/branch}","tags_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/tags","blobs_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/languages","stargazers_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/stargazers","contributors_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/contributors","subscribers_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/subscribers","subscription_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/subscription","commits_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/contents/{+path}","compare_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/merges","archive_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/downloads","issues_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues{/number}","pulls_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/labels{/name}","releases_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/releases{/id}","deployments_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/deployments","created_at":"2015-12-21T10:33:52Z","updated_at":"2018-11-06T16:51:24Z","pushed_at":"2018-11-07T14:19:29Z","git_url":"git://github.com/BurdaMagazinOrg/infinite-theme.git","ssh_url":"git@github.com:BurdaMagazinOrg/infinite-theme.git","clone_url":"https://github.com/BurdaMagazinOrg/infinite-theme.git","svn_url":"https://github.com/BurdaMagazinOrg/infinite-theme","homepage":null,"size":7160,"stargazers_count":9,"watchers_count":9,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":8,"open_issues":16,"watchers":9,"default_branch":"8.x-3.x"}},"base":{"label":"BurdaMagazinOrg:8.x-3.x","ref":"8.x-3.x","sha":"0ced71c726e5dd9251fe2fe71ef65d3edb651aa8","user":{"login":"BurdaMagazinOrg","id":13872637,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODcyNjM3","avatar_url":"https://avatars2.githubusercontent.com/u/13872637?v=4","gravatar_id":"","url":"https://api.github.com/users/BurdaMagazinOrg","html_url":"https://github.com/BurdaMagazinOrg","followers_url":"https://api.github.com/users/BurdaMagazinOrg/followers","following_url":"https://api.github.com/users/BurdaMagazinOrg/following{/other_user}","gists_url":"https://api.github.com/users/BurdaMagazinOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/BurdaMagazinOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurdaMagazinOrg/subscriptions","organizations_url":"https://api.github.com/users/BurdaMagazinOrg/orgs","repos_url":"https://api.github.com/users/BurdaMagazinOrg/repos","events_url":"https://api.github.com/users/BurdaMagazinOrg/events{/privacy}","received_events_url":"https://api.github.com/users/BurdaMagazinOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":48366067,"node_id":"MDEwOlJlcG9zaXRvcnk0ODM2NjA2Nw==","name":"infinite-theme","full_name":"BurdaMagazinOrg/infinite-theme","private":false,"owner":{"login":"BurdaMagazinOrg","id":13872637,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODcyNjM3","avatar_url":"https://avatars2.githubusercontent.com/u/13872637?v=4","gravatar_id":"","url":"https://api.github.com/users/BurdaMagazinOrg","html_url":"https://github.com/BurdaMagazinOrg","followers_url":"https://api.github.com/users/BurdaMagazinOrg/followers","following_url":"https://api.github.com/users/BurdaMagazinOrg/following{/other_user}","gists_url":"https://api.github.com/users/BurdaMagazinOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/BurdaMagazinOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurdaMagazinOrg/subscriptions","organizations_url":"https://api.github.com/users/BurdaMagazinOrg/orgs","repos_url":"https://api.github.com/users/BurdaMagazinOrg/repos","events_url":"https://api.github.com/users/BurdaMagazinOrg/events{/privacy}","received_events_url":"https://api.github.com/users/BurdaMagazinOrg/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BurdaMagazinOrg/infinite-theme","description":null,"fork":false,"url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme","forks_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/forks","keys_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/teams","hooks_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/hooks","issue_events_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/events{/number}","events_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/events","assignees_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/assignees{/user}","branches_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/branches{/branch}","tags_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/tags","blobs_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/languages","stargazers_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/stargazers","contributors_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/contributors","subscribers_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/subscribers","subscription_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/subscription","commits_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/contents/{+path}","compare_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/merges","archive_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/downloads","issues_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues{/number}","pulls_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/labels{/name}","releases_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/releases{/id}","deployments_url":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/deployments","created_at":"2015-12-21T10:33:52Z","updated_at":"2018-11-06T16:51:24Z","pushed_at":"2018-11-07T14:19:29Z","git_url":"git://github.com/BurdaMagazinOrg/infinite-theme.git","ssh_url":"git@github.com:BurdaMagazinOrg/infinite-theme.git","clone_url":"https://github.com/BurdaMagazinOrg/infinite-theme.git","svn_url":"https://github.com/BurdaMagazinOrg/infinite-theme","homepage":null,"size":7160,"stargazers_count":9,"watchers_count":9,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":8,"open_issues":16,"watchers":9,"default_branch":"8.x-3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194"},"html":{"href":"https://github.com/BurdaMagazinOrg/infinite-theme/pull/194"},"issue":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/194"},"comments":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/BurdaMagazinOrg/infinite-theme/statuses/e3d5681603ad4d7c19a2f55f4c19a24488cbbf42"}},"author_association":"NONE"}}
{"actor":{"display_login":"MaurizioBrioschi"}}