{"action":"opened","number":2845,"pull_request":{"url":"https://api.github.com/repos/quintel/etmodel/pulls/2845","id":202002756,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDAyNzU2","html_url":"https://github.com/quintel/etmodel/pull/2845","diff_url":"https://github.com/quintel/etmodel/pull/2845.diff","patch_url":"https://github.com/quintel/etmodel/pull/2845.patch","issue_url":"https://api.github.com/repos/quintel/etmodel/issues/2845","number":2845,"state":"open","locked":false,"title":"Factsheet updates","user":{"login":"antw","id":4383,"node_id":"MDQ6VXNlcjQzODM=","avatar_url":"https://avatars3.githubusercontent.com/u/4383?v=4","gravatar_id":"","url":"https://api.github.com/users/antw","html_url":"https://github.com/antw","followers_url":"https://api.github.com/users/antw/followers","following_url":"https://api.github.com/users/antw/following{/other_user}","gists_url":"https://api.github.com/users/antw/gists{/gist_id}","starred_url":"https://api.github.com/users/antw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antw/subscriptions","organizations_url":"https://api.github.com/users/antw/orgs","repos_url":"https://api.github.com/users/antw/repos","events_url":"https://api.github.com/users/antw/events{/privacy}","received_events_url":"https://api.github.com/users/antw/received_events","type":"User","site_admin":false},"body":"### Factsheet reverse\r\n\r\nAdds the second page to the factsheet:\r\n\r\n![fact-reverse](https://user-images.githubusercontent.com/4383/42831239-b5f03d72-89e5-11e8-901d-84a735feb03c.png)\r\n\r\n### Disclaimer\r\n\r\nAdds a disclaimer to to reverse side of the factsheet. Users belonging to the \"admin\" or new \"overmorgen\" role will see a \"Hide disclaimer\" button to remove the text. Caveats:\r\n\r\n* **This doesn't persist** but it allows temporary removal of the disclaimer prior to printing. If it must persist, we should decide if it persists only for the logged-in user, or for all visitors. The latter should be done only if *absolutely* necessary since it requires a new database table.\r\n* The disclaimer contains temporary text. See below for details.\r\n\r\n| Normal user | `admin` / `overmorgen` user |\r\n| :---: | :---: |\r\n| ![fact-disclaimer-normal](https://user-images.githubusercontent.com/4383/42831440-42110c00-89e6-11e8-9b66-938d2011867e.png) | ![fact-disclaimer-role](https://user-images.githubusercontent.com/4383/42831441-422fff84-89e6-11e8-9e90-28c1ce666e6b.png) |\r\n\r\n### Quintel logo\r\n\r\nAdded the QI logo to the header.\r\n\r\n![fact-logo](https://user-images.githubusercontent.com/4383/42831508-74bf43c4-89e6-11e8-8e4b-1b9fd679e7ef.png)\r\n\r\n### Link to factsheet\r\n\r\nRemoves the \"Show graph\" and \"Scenario report\" links from the settings menu, and added a new \"Visuals\" sidebar item (I don't love the name; we could change it):\r\n\r\n![fact-visuals](https://user-images.githubusercontent.com/4383/42831940-a1c557f4-89e7-11e8-9e44-a9c8e55050d1.png)\r\n\r\n---\r\n\r\n### Next actions:\r\n\r\nNeeds Dutch translations please:\r\n\r\n* [Factsheet disclaimer text](https://github.com/quintel/etmodel/blob/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae/app/views/factsheets/_reverse.html.haml#L238-L243)\r\n* [\"Visuals\" sidebar item](https://github.com/quintel/etmodel/blob/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae/config/locales/nl_sidebar_items.yml#L39-L41).\r\n* [Slide titles](https://github.com/quintel/etmodel/blob/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae/config/locales/nl_slides.yml#L37-L39).\r\n* Slide descriptions: [scenario report slide](https://github.com/quintel/etmodel/blob/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae/db/migrate/20180717133906_add_data_visuals_slides.rb#L15-L19), [factsheet slide](https://github.com/quintel/etmodel/blob/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae/db/migrate/20180717133906_add_data_visuals_slides.rb#L32-L36), [\"show graph\" slide](https://github.com/quintel/etmodel/blob/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae/db/migrate/20180717133906_add_data_visuals_slides.rb#L49-L53). These could be uploaded to a Gist and added by myself if you don't feel comfortable editing the database migration.\r\n\r\nOnce the translations are done I'll rebase them into the original commits prior to merging.","created_at":"2018-07-17T16:42:45Z","updated_at":"2018-07-17T16:42:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"antw","id":4383,"node_id":"MDQ6VXNlcjQzODM=","avatar_url":"https://avatars3.githubusercontent.com/u/4383?v=4","gravatar_id":"","url":"https://api.github.com/users/antw","html_url":"https://github.com/antw","followers_url":"https://api.github.com/users/antw/followers","following_url":"https://api.github.com/users/antw/following{/other_user}","gists_url":"https://api.github.com/users/antw/gists{/gist_id}","starred_url":"https://api.github.com/users/antw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antw/subscriptions","organizations_url":"https://api.github.com/users/antw/orgs","repos_url":"https://api.github.com/users/antw/repos","events_url":"https://api.github.com/users/antw/events{/privacy}","received_events_url":"https://api.github.com/users/antw/received_events","type":"User","site_admin":false},"assignees":[{"login":"antw","id":4383,"node_id":"MDQ6VXNlcjQzODM=","avatar_url":"https://avatars3.githubusercontent.com/u/4383?v=4","gravatar_id":"","url":"https://api.github.com/users/antw","html_url":"https://github.com/antw","followers_url":"https://api.github.com/users/antw/followers","following_url":"https://api.github.com/users/antw/following{/other_user}","gists_url":"https://api.github.com/users/antw/gists{/gist_id}","starred_url":"https://api.github.com/users/antw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antw/subscriptions","organizations_url":"https://api.github.com/users/antw/orgs","repos_url":"https://api.github.com/users/antw/repos","events_url":"https://api.github.com/users/antw/events{/privacy}","received_events_url":"https://api.github.com/users/antw/received_events","type":"User","site_admin":false},{"login":"ChaelKruip","id":1303760,"node_id":"MDQ6VXNlcjEzMDM3NjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1303760?v=4","gravatar_id":"","url":"https://api.github.com/users/ChaelKruip","html_url":"https://github.com/ChaelKruip","followers_url":"https://api.github.com/users/ChaelKruip/followers","following_url":"https://api.github.com/users/ChaelKruip/following{/other_user}","gists_url":"https://api.github.com/users/ChaelKruip/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaelKruip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaelKruip/subscriptions","organizations_url":"https://api.github.com/users/ChaelKruip/orgs","repos_url":"https://api.github.com/users/ChaelKruip/repos","events_url":"https://api.github.com/users/ChaelKruip/events{/privacy}","received_events_url":"https://api.github.com/users/ChaelKruip/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/quintel/etmodel/pulls/2845/commits","review_comments_url":"https://api.github.com/repos/quintel/etmodel/pulls/2845/comments","review_comment_url":"https://api.github.com/repos/quintel/etmodel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quintel/etmodel/issues/2845/comments","statuses_url":"https://api.github.com/repos/quintel/etmodel/statuses/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae","head":{"label":"quintel:factsheet-updates","ref":"factsheet-updates","sha":"4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae","user":{"login":"quintel","id":2242291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDIyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2242291?v=4","gravatar_id":"","url":"https://api.github.com/users/quintel","html_url":"https://github.com/quintel","followers_url":"https://api.github.com/users/quintel/followers","following_url":"https://api.github.com/users/quintel/following{/other_user}","gists_url":"https://api.github.com/users/quintel/gists{/gist_id}","starred_url":"https://api.github.com/users/quintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintel/subscriptions","organizations_url":"https://api.github.com/users/quintel/orgs","repos_url":"https://api.github.com/users/quintel/repos","events_url":"https://api.github.com/users/quintel/events{/privacy}","received_events_url":"https://api.github.com/users/quintel/received_events","type":"Organization","site_admin":false},"repo":{"id":1695405,"node_id":"MDEwOlJlcG9zaXRvcnkxNjk1NDA1","name":"etmodel","full_name":"quintel/etmodel","owner":{"login":"quintel","id":2242291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDIyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2242291?v=4","gravatar_id":"","url":"https://api.github.com/users/quintel","html_url":"https://github.com/quintel","followers_url":"https://api.github.com/users/quintel/followers","following_url":"https://api.github.com/users/quintel/following{/other_user}","gists_url":"https://api.github.com/users/quintel/gists{/gist_id}","starred_url":"https://api.github.com/users/quintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintel/subscriptions","organizations_url":"https://api.github.com/users/quintel/orgs","repos_url":"https://api.github.com/users/quintel/repos","events_url":"https://api.github.com/users/quintel/events{/privacy}","received_events_url":"https://api.github.com/users/quintel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quintel/etmodel","description":"Professional interface of the Energy Transition model.","fork":false,"url":"https://api.github.com/repos/quintel/etmodel","forks_url":"https://api.github.com/repos/quintel/etmodel/forks","keys_url":"https://api.github.com/repos/quintel/etmodel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quintel/etmodel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quintel/etmodel/teams","hooks_url":"https://api.github.com/repos/quintel/etmodel/hooks","issue_events_url":"https://api.github.com/repos/quintel/etmodel/issues/events{/number}","events_url":"https://api.github.com/repos/quintel/etmodel/events","assignees_url":"https://api.github.com/repos/quintel/etmodel/assignees{/user}","branches_url":"https://api.github.com/repos/quintel/etmodel/branches{/branch}","tags_url":"https://api.github.com/repos/quintel/etmodel/tags","blobs_url":"https://api.github.com/repos/quintel/etmodel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quintel/etmodel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quintel/etmodel/git/refs{/sha}","trees_url":"https://api.github.com/repos/quintel/etmodel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quintel/etmodel/statuses/{sha}","languages_url":"https://api.github.com/repos/quintel/etmodel/languages","stargazers_url":"https://api.github.com/repos/quintel/etmodel/stargazers","contributors_url":"https://api.github.com/repos/quintel/etmodel/contributors","subscribers_url":"https://api.github.com/repos/quintel/etmodel/subscribers","subscription_url":"https://api.github.com/repos/quintel/etmodel/subscription","commits_url":"https://api.github.com/repos/quintel/etmodel/commits{/sha}","git_commits_url":"https://api.github.com/repos/quintel/etmodel/git/commits{/sha}","comments_url":"https://api.github.com/repos/quintel/etmodel/comments{/number}","issue_comment_url":"https://api.github.com/repos/quintel/etmodel/issues/comments{/number}","contents_url":"https://api.github.com/repos/quintel/etmodel/contents/{+path}","compare_url":"https://api.github.com/repos/quintel/etmodel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quintel/etmodel/merges","archive_url":"https://api.github.com/repos/quintel/etmodel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quintel/etmodel/downloads","issues_url":"https://api.github.com/repos/quintel/etmodel/issues{/number}","pulls_url":"https://api.github.com/repos/quintel/etmodel/pulls{/number}","milestones_url":"https://api.github.com/repos/quintel/etmodel/milestones{/number}","notifications_url":"https://api.github.com/repos/quintel/etmodel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quintel/etmodel/labels{/name}","releases_url":"https://api.github.com/repos/quintel/etmodel/releases{/id}","deployments_url":"https://api.github.com/repos/quintel/etmodel/deployments","created_at":"2011-05-03T08:55:13Z","updated_at":"2018-07-17T07:56:42Z","pushed_at":"2018-07-17T16:15:40Z","git_url":"git://github.com/quintel/etmodel.git","ssh_url":"git@github.com:quintel/etmodel.git","clone_url":"https://github.com/quintel/etmodel.git","svn_url":"https://github.com/quintel/etmodel","homepage":"pro.energytransitionmodel.com","size":31344,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":158,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":158,"watchers":12,"default_branch":"master"}},"base":{"label":"quintel:master","ref":"master","sha":"8ef811258cfb8f1ea4597d5e607964df6352f01b","user":{"login":"quintel","id":2242291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDIyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2242291?v=4","gravatar_id":"","url":"https://api.github.com/users/quintel","html_url":"https://github.com/quintel","followers_url":"https://api.github.com/users/quintel/followers","following_url":"https://api.github.com/users/quintel/following{/other_user}","gists_url":"https://api.github.com/users/quintel/gists{/gist_id}","starred_url":"https://api.github.com/users/quintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintel/subscriptions","organizations_url":"https://api.github.com/users/quintel/orgs","repos_url":"https://api.github.com/users/quintel/repos","events_url":"https://api.github.com/users/quintel/events{/privacy}","received_events_url":"https://api.github.com/users/quintel/received_events","type":"Organization","site_admin":false},"repo":{"id":1695405,"node_id":"MDEwOlJlcG9zaXRvcnkxNjk1NDA1","name":"etmodel","full_name":"quintel/etmodel","owner":{"login":"quintel","id":2242291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDIyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2242291?v=4","gravatar_id":"","url":"https://api.github.com/users/quintel","html_url":"https://github.com/quintel","followers_url":"https://api.github.com/users/quintel/followers","following_url":"https://api.github.com/users/quintel/following{/other_user}","gists_url":"https://api.github.com/users/quintel/gists{/gist_id}","starred_url":"https://api.github.com/users/quintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintel/subscriptions","organizations_url":"https://api.github.com/users/quintel/orgs","repos_url":"https://api.github.com/users/quintel/repos","events_url":"https://api.github.com/users/quintel/events{/privacy}","received_events_url":"https://api.github.com/users/quintel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quintel/etmodel","description":"Professional interface of the Energy Transition model.","fork":false,"url":"https://api.github.com/repos/quintel/etmodel","forks_url":"https://api.github.com/repos/quintel/etmodel/forks","keys_url":"https://api.github.com/repos/quintel/etmodel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quintel/etmodel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quintel/etmodel/teams","hooks_url":"https://api.github.com/repos/quintel/etmodel/hooks","issue_events_url":"https://api.github.com/repos/quintel/etmodel/issues/events{/number}","events_url":"https://api.github.com/repos/quintel/etmodel/events","assignees_url":"https://api.github.com/repos/quintel/etmodel/assignees{/user}","branches_url":"https://api.github.com/repos/quintel/etmodel/branches{/branch}","tags_url":"https://api.github.com/repos/quintel/etmodel/tags","blobs_url":"https://api.github.com/repos/quintel/etmodel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quintel/etmodel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quintel/etmodel/git/refs{/sha}","trees_url":"https://api.github.com/repos/quintel/etmodel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quintel/etmodel/statuses/{sha}","languages_url":"https://api.github.com/repos/quintel/etmodel/languages","stargazers_url":"https://api.github.com/repos/quintel/etmodel/stargazers","contributors_url":"https://api.github.com/repos/quintel/etmodel/contributors","subscribers_url":"https://api.github.com/repos/quintel/etmodel/subscribers","subscription_url":"https://api.github.com/repos/quintel/etmodel/subscription","commits_url":"https://api.github.com/repos/quintel/etmodel/commits{/sha}","git_commits_url":"https://api.github.com/repos/quintel/etmodel/git/commits{/sha}","comments_url":"https://api.github.com/repos/quintel/etmodel/comments{/number}","issue_comment_url":"https://api.github.com/repos/quintel/etmodel/issues/comments{/number}","contents_url":"https://api.github.com/repos/quintel/etmodel/contents/{+path}","compare_url":"https://api.github.com/repos/quintel/etmodel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quintel/etmodel/merges","archive_url":"https://api.github.com/repos/quintel/etmodel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quintel/etmodel/downloads","issues_url":"https://api.github.com/repos/quintel/etmodel/issues{/number}","pulls_url":"https://api.github.com/repos/quintel/etmodel/pulls{/number}","milestones_url":"https://api.github.com/repos/quintel/etmodel/milestones{/number}","notifications_url":"https://api.github.com/repos/quintel/etmodel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quintel/etmodel/labels{/name}","releases_url":"https://api.github.com/repos/quintel/etmodel/releases{/id}","deployments_url":"https://api.github.com/repos/quintel/etmodel/deployments","created_at":"2011-05-03T08:55:13Z","updated_at":"2018-07-17T07:56:42Z","pushed_at":"2018-07-17T16:15:40Z","git_url":"git://github.com/quintel/etmodel.git","ssh_url":"git@github.com:quintel/etmodel.git","clone_url":"https://github.com/quintel/etmodel.git","svn_url":"https://github.com/quintel/etmodel","homepage":"pro.energytransitionmodel.com","size":31344,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":158,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":158,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quintel/etmodel/pulls/2845"},"html":{"href":"https://github.com/quintel/etmodel/pull/2845"},"issue":{"href":"https://api.github.com/repos/quintel/etmodel/issues/2845"},"comments":{"href":"https://api.github.com/repos/quintel/etmodel/issues/2845/comments"},"review_comments":{"href":"https://api.github.com/repos/quintel/etmodel/pulls/2845/comments"},"review_comment":{"href":"https://api.github.com/repos/quintel/etmodel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quintel/etmodel/pulls/2845/commits"},"statuses":{"href":"https://api.github.com/repos/quintel/etmodel/statuses/4c5268aa1b04ebc78d3dd05d30fed02998c2f9ae"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":477,"deletions":20,"changed_files":22}}
{"actor":{"display_login":"antw"}}