{"action":"created","issue":{"url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/277","repository_url":"https://api.github.com/repos/compucorp/civihr-employee-portal","labels_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/277/comments","events_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/277/events","html_url":"https://github.com/compucorp/civihr-employee-portal/pull/277","id":214668509,"number":277,"title":"PCHR-1955: Fix logo size and button background in leave email template","user":{"login":"mukeshcompucorp","id":26058635,"avatar_url":"https://avatars1.githubusercontent.com/u/26058635?v=3","gravatar_id":"","url":"https://api.github.com/users/mukeshcompucorp","html_url":"https://github.com/mukeshcompucorp","followers_url":"https://api.github.com/users/mukeshcompucorp/followers","following_url":"https://api.github.com/users/mukeshcompucorp/following{/other_user}","gists_url":"https://api.github.com/users/mukeshcompucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/mukeshcompucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mukeshcompucorp/subscriptions","organizations_url":"https://api.github.com/users/mukeshcompucorp/orgs","repos_url":"https://api.github.com/users/mukeshcompucorp/repos","events_url":"https://api.github.com/users/mukeshcompucorp/events{/privacy}","received_events_url":"https://api.github.com/users/mukeshcompucorp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-16T11:05:07Z","updated_at":"2017-03-17T09:18:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/compucorp/civihr-employee-portal/pulls/277","html_url":"https://github.com/compucorp/civihr-employee-portal/pull/277","diff_url":"https://github.com/compucorp/civihr-employee-portal/pull/277.diff","patch_url":"https://github.com/compucorp/civihr-employee-portal/pull/277.patch"},"body":"## Problem \r\nDifferent Logo size and \"Self Service Portal\" button background color in leave email template.\r\n\r\nWindows Thunderbird:\r\n![windowsthunder](https://cloud.githubusercontent.com/assets/26058635/23993025/0ce9c8c0-0a65-11e7-9dbe-8239f41f08dd.png)\r\n\r\nWindows Outlook:\r\n![windowsoutlook](https://cloud.githubusercontent.com/assets/26058635/23993026/0cea1082-0a65-11e7-896f-c83fdbb002cf.png)\r\n\r\nMac Thunderbird:\r\n<img width=\"974\" alt=\"macthunder\" src=\"https://cloud.githubusercontent.com/assets/26058635/23993027/0cea4f5c-0a65-11e7-9e9d-002c6367dbcf.png\">\r\n\r\n\r\n\r\n## Solution\r\nSet fix width and height in logo and add table instead of `<p>` tag\r\n\r\n## For logo:\r\n`<img width=\"250\" height=\"56\" src=\"[site:url]sites/all/modules/civihr-custom/civihr_employee_portal/images/email-logo.png\"/>\r\n`\r\n\r\n## For \"Self Service Portal\" button:\r\n```\r\n<table cellpadding=\"5\" cellspacing=\"0\">\r\n    <tr>\r\n        <td height=\"15\"></td>\r\n    </tr>\r\n    <tr>\r\n         <td align=\"center\" valign=\"center\" class=\"soc-td\">\r\n               <a href=\"/manager-absence-approval\" class=\"soc-btn gp\">Self Service Portal</a>\r\n         </td>\r\n    </tr>\r\n    <tr>\r\n         <td height=\"2\" class=\"soc-td\"></td>\r\n    </tr>\r\n</table>\r\n```\r\n\r\nWindows Thunderbird:\r\n![windowsthunder](https://cloud.githubusercontent.com/assets/26058635/23993228/c200191c-0a65-11e7-9b0e-661a9971356e.png)\r\n\r\nWindows Outlook:\r\n![windowsoutlook](https://cloud.githubusercontent.com/assets/26058635/23993231/c5b7e062-0a65-11e7-8b85-a30ab05733a0.png)\r\n\r\nMac Thunderbird:\r\n![macthunder](https://cloud.githubusercontent.com/assets/26058635/23993240/cd91525a-0a65-11e7-9434-7b08af0dd117.png)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/comments/287304871","html_url":"https://github.com/compucorp/civihr-employee-portal/pull/277#issuecomment-287304871","issue_url":"https://api.github.com/repos/compucorp/civihr-employee-portal/issues/277","id":287304871,"user":{"login":"AkA84","id":6400898,"avatar_url":"https://avatars3.githubusercontent.com/u/6400898?v=3","gravatar_id":"","url":"https://api.github.com/users/AkA84","html_url":"https://github.com/AkA84","followers_url":"https://api.github.com/users/AkA84/followers","following_url":"https://api.github.com/users/AkA84/following{/other_user}","gists_url":"https://api.github.com/users/AkA84/gists{/gist_id}","starred_url":"https://api.github.com/users/AkA84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkA84/subscriptions","organizations_url":"https://api.github.com/users/AkA84/orgs","repos_url":"https://api.github.com/users/AkA84/repos","events_url":"https://api.github.com/users/AkA84/events{/privacy}","received_events_url":"https://api.github.com/users/AkA84/received_events","type":"User","site_admin":false},"created_at":"2017-03-17T09:18:53Z","updated_at":"2017-03-17T09:18:53Z","body":"What is this empty `<td>` for?\r\n```html\r\n<tr>\r\n  <td height=\"2\" class=\"soc-td\"></td>\r\n</tr>\r\n```"}}
{"actor":{"display_login":"AkA84"}}