{"action":"created","issue":{"url":"https://api.github.com/repos/opentrials/opentrials/issues/720","repository_url":"https://api.github.com/repos/opentrials/opentrials","labels_url":"https://api.github.com/repos/opentrials/opentrials/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/opentrials/opentrials/issues/720/comments","events_url":"https://api.github.com/repos/opentrials/opentrials/issues/720/events","html_url":"https://github.com/opentrials/opentrials/issues/720","id":219416952,"number":720,"title":"Top contribute data link: pass trial_id if on trial page","user":{"login":"benmeg","id":8491252,"avatar_url":"https://avatars0.githubusercontent.com/u/8491252?v=3","gravatar_id":"","url":"https://api.github.com/users/benmeg","html_url":"https://github.com/benmeg","followers_url":"https://api.github.com/users/benmeg/followers","following_url":"https://api.github.com/users/benmeg/following{/other_user}","gists_url":"https://api.github.com/users/benmeg/gists{/gist_id}","starred_url":"https://api.github.com/users/benmeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmeg/subscriptions","organizations_url":"https://api.github.com/users/benmeg/orgs","repos_url":"https://api.github.com/users/benmeg/repos","events_url":"https://api.github.com/users/benmeg/events{/privacy}","received_events_url":"https://api.github.com/users/benmeg/received_events","type":"User","site_admin":false},"labels":[{"id":406872852,"url":"https://api.github.com/repos/opentrials/opentrials/labels/1.%20In%20Analysis","name":"1. In Analysis","color":"e6e6e6","default":false},{"id":315016080,"url":"https://api.github.com/repos/opentrials/opentrials/labels/enhancement","name":"enhancement","color":"d93f0b","default":true},{"id":352258598,"url":"https://api.github.com/repos/opentrials/opentrials/labels/Explorer","name":"Explorer","color":"1D2021","default":false}],"state":"closed","locked":false,"assignee":{"login":"georgiana-b","id":8862002,"avatar_url":"https://avatars2.githubusercontent.com/u/8862002?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiana-b","html_url":"https://github.com/georgiana-b","followers_url":"https://api.github.com/users/georgiana-b/followers","following_url":"https://api.github.com/users/georgiana-b/following{/other_user}","gists_url":"https://api.github.com/users/georgiana-b/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiana-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiana-b/subscriptions","organizations_url":"https://api.github.com/users/georgiana-b/orgs","repos_url":"https://api.github.com/users/georgiana-b/repos","events_url":"https://api.github.com/users/georgiana-b/events{/privacy}","received_events_url":"https://api.github.com/users/georgiana-b/received_events","type":"User","site_admin":false},"assignees":[{"login":"georgiana-b","id":8862002,"avatar_url":"https://avatars2.githubusercontent.com/u/8862002?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiana-b","html_url":"https://github.com/georgiana-b","followers_url":"https://api.github.com/users/georgiana-b/followers","following_url":"https://api.github.com/users/georgiana-b/following{/other_user}","gists_url":"https://api.github.com/users/georgiana-b/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiana-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiana-b/subscriptions","organizations_url":"https://api.github.com/users/georgiana-b/orgs","repos_url":"https://api.github.com/users/georgiana-b/repos","events_url":"https://api.github.com/users/georgiana-b/events{/privacy}","received_events_url":"https://api.github.com/users/georgiana-b/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-04-04T23:35:26Z","updated_at":"2017-04-20T15:15:05Z","closed_at":"2017-04-20T15:15:05Z","body":"Currently the top 'Contribute Data' link:\r\n\r\n![screenshot_30](https://cloud.githubusercontent.com/assets/8491252/24682639/a13b0048-1992-11e7-9aab-9acede21816d.png)\r\n\r\nsimply links to: https://explorer.opentrials.net/contribute-data even if clicked on from a specific trial page.\r\n\r\nDuring user testing a user clicked this link rather than the other two, resulting in a successfully submitted contribution without a corresponding trial id.\r\n\r\nI suggest that if a user is on a specific trial page and clicks the top 'Contribute Data' link, we pass the `trial_id` in the querystring as is done with both the right-hand side 'Contribute Data' and 'Add new document' links.\r\n\r\nThis will help administration re: research/approval of contributions."},"comment":{"url":"https://api.github.com/repos/opentrials/opentrials/issues/comments/295774070","html_url":"https://github.com/opentrials/opentrials/issues/720#issuecomment-295774070","issue_url":"https://api.github.com/repos/opentrials/opentrials/issues/720","id":295774070,"user":{"login":"georgiana-b","id":8862002,"avatar_url":"https://avatars2.githubusercontent.com/u/8862002?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiana-b","html_url":"https://github.com/georgiana-b","followers_url":"https://api.github.com/users/georgiana-b/followers","following_url":"https://api.github.com/users/georgiana-b/following{/other_user}","gists_url":"https://api.github.com/users/georgiana-b/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiana-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiana-b/subscriptions","organizations_url":"https://api.github.com/users/georgiana-b/orgs","repos_url":"https://api.github.com/users/georgiana-b/repos","events_url":"https://api.github.com/users/georgiana-b/events{/privacy}","received_events_url":"https://api.github.com/users/georgiana-b/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T15:15:05Z","updated_at":"2017-04-20T15:15:05Z","body":"I've solved #721 which addresses the same problem in a less controversial way so I'll close this. Feel free to reopen."}}
{"actor":{"display_login":"georgiana-b"}}