{"action":"created","comment":{"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/comments/77943736","id":77943736,"diff_hunk":"@@ -145,9 +146,15 @@ def get_brief_by_id(framework_slug, brief_id):\n         brief=brief,\n         brief_responses=brief_responses,\n         content=brief_content,\n+        show_pdf_link=current_app.config.get('FEATURE_FLAGS_BRIEF_PDF', False)\n     )\n \n \n+@main.route('/<framework_slug>/opportunities/brief_<brief_id>.pdf')","path":"app/main/views/marketplace.py","position":25,"original_position":25,"commit_id":"5b3ab9538a25b72f2d6452e88481ce58bde06803","original_commit_id":"5b3ab9538a25b72f2d6452e88481ce58bde06803","user":{"login":"sarneaud","id":7750936,"avatar_url":"https://avatars.githubusercontent.com/u/7750936?v=3","gravatar_id":"","url":"https://api.github.com/users/sarneaud","html_url":"https://github.com/sarneaud","followers_url":"https://api.github.com/users/sarneaud/followers","following_url":"https://api.github.com/users/sarneaud/following{/other_user}","gists_url":"https://api.github.com/users/sarneaud/gists{/gist_id}","starred_url":"https://api.github.com/users/sarneaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarneaud/subscriptions","organizations_url":"https://api.github.com/users/sarneaud/orgs","repos_url":"https://api.github.com/users/sarneaud/repos","events_url":"https://api.github.com/users/sarneaud/events{/privacy}","received_events_url":"https://api.github.com/users/sarneaud/received_events","type":"User","site_admin":false},"body":"As discussed, we haven't used the word \"brief\" publicly in the frontend yet (AFAIK), so we should check the URL.","created_at":"2016-09-08T04:16:34Z","updated_at":"2016-09-08T04:16:34Z","html_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend/pull/274#discussion_r77943736","pull_request_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274","_links":{"self":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/comments/77943736"},"html":{"href":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend/pull/274#discussion_r77943736"},"pull_request":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274"}}},"pull_request":{"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274","id":84400910,"html_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend/pull/274","diff_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend/pull/274.diff","patch_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend/pull/274.patch","issue_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/274","number":274,"state":"open","locked":false,"title":"add pdf download to brief page","user":{"login":"matt-sm","id":4606363,"avatar_url":"https://avatars.githubusercontent.com/u/4606363?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-sm","html_url":"https://github.com/matt-sm","followers_url":"https://api.github.com/users/matt-sm/followers","following_url":"https://api.github.com/users/matt-sm/following{/other_user}","gists_url":"https://api.github.com/users/matt-sm/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-sm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-sm/subscriptions","organizations_url":"https://api.github.com/users/matt-sm/orgs","repos_url":"https://api.github.com/users/matt-sm/repos","events_url":"https://api.github.com/users/matt-sm/events{/privacy}","received_events_url":"https://api.github.com/users/matt-sm/received_events","type":"User","site_admin":false},"body":"Found https://pythonhosted.org/Flask-WeasyPrint that does not make network call for relative urls.\r\n\r\nFeatured-flagged the link for now.","created_at":"2016-09-08T01:30:11Z","updated_at":"2016-09-08T04:16:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc241be2a6751e6666755f4793495c8ef25b3c52","assignee":{"login":"sarneaud","id":7750936,"avatar_url":"https://avatars.githubusercontent.com/u/7750936?v=3","gravatar_id":"","url":"https://api.github.com/users/sarneaud","html_url":"https://github.com/sarneaud","followers_url":"https://api.github.com/users/sarneaud/followers","following_url":"https://api.github.com/users/sarneaud/following{/other_user}","gists_url":"https://api.github.com/users/sarneaud/gists{/gist_id}","starred_url":"https://api.github.com/users/sarneaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarneaud/subscriptions","organizations_url":"https://api.github.com/users/sarneaud/orgs","repos_url":"https://api.github.com/users/sarneaud/repos","events_url":"https://api.github.com/users/sarneaud/events{/privacy}","received_events_url":"https://api.github.com/users/sarneaud/received_events","type":"User","site_admin":false},"assignees":[{"login":"sarneaud","id":7750936,"avatar_url":"https://avatars.githubusercontent.com/u/7750936?v=3","gravatar_id":"","url":"https://api.github.com/users/sarneaud","html_url":"https://github.com/sarneaud","followers_url":"https://api.github.com/users/sarneaud/followers","following_url":"https://api.github.com/users/sarneaud/following{/other_user}","gists_url":"https://api.github.com/users/sarneaud/gists{/gist_id}","starred_url":"https://api.github.com/users/sarneaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarneaud/subscriptions","organizations_url":"https://api.github.com/users/sarneaud/orgs","repos_url":"https://api.github.com/users/sarneaud/repos","events_url":"https://api.github.com/users/sarneaud/events{/privacy}","received_events_url":"https://api.github.com/users/sarneaud/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274/commits","review_comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274/comments","review_comment_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/274/comments","statuses_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/statuses/5b3ab9538a25b72f2d6452e88481ce58bde06803","head":{"label":"AusDTO:pdf-print","ref":"pdf-print","sha":"5b3ab9538a25b72f2d6452e88481ce58bde06803","user":{"login":"AusDTO","id":11763427,"avatar_url":"https://avatars.githubusercontent.com/u/11763427?v=3","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"repo":{"id":62359285,"name":"dto-digitalmarketplace-buyer-frontend","full_name":"AusDTO/dto-digitalmarketplace-buyer-frontend","owner":{"login":"AusDTO","id":11763427,"avatar_url":"https://avatars.githubusercontent.com/u/11763427?v=3","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend","description":"Frontend buyer application for the digital marketplace","fork":true,"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend","forks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/forks","keys_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/teams","hooks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/hooks","issue_events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/events","assignees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/tags","blobs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/languages","stargazers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/stargazers","contributors_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/contributors","subscribers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/subscribers","subscription_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/subscription","commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/merges","archive_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/downloads","issues_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/labels{/name}","releases_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/deployments","created_at":"2016-07-01T03:24:12Z","updated_at":"2016-08-03T07:23:57Z","pushed_at":"2016-09-08T04:13:03Z","git_url":"git://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend.git","ssh_url":"git@github.com:AusDTO/dto-digitalmarketplace-buyer-frontend.git","clone_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend.git","svn_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend","homepage":"","size":3202,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"AusDTO:master","ref":"master","sha":"c0376b25248a15a875e1b818de12b90821719752","user":{"login":"AusDTO","id":11763427,"avatar_url":"https://avatars.githubusercontent.com/u/11763427?v=3","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"repo":{"id":62359285,"name":"dto-digitalmarketplace-buyer-frontend","full_name":"AusDTO/dto-digitalmarketplace-buyer-frontend","owner":{"login":"AusDTO","id":11763427,"avatar_url":"https://avatars.githubusercontent.com/u/11763427?v=3","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend","description":"Frontend buyer application for the digital marketplace","fork":true,"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend","forks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/forks","keys_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/teams","hooks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/hooks","issue_events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/events","assignees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/tags","blobs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/languages","stargazers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/stargazers","contributors_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/contributors","subscribers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/subscribers","subscription_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/subscription","commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/merges","archive_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/downloads","issues_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/labels{/name}","releases_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/deployments","created_at":"2016-07-01T03:24:12Z","updated_at":"2016-08-03T07:23:57Z","pushed_at":"2016-09-08T04:13:03Z","git_url":"git://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend.git","ssh_url":"git@github.com:AusDTO/dto-digitalmarketplace-buyer-frontend.git","clone_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend.git","svn_url":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend","homepage":"","size":3202,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274"},"html":{"href":"https://github.com/AusDTO/dto-digitalmarketplace-buyer-frontend/pull/274"},"issue":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/274"},"comments":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/issues/274/comments"},"review_comments":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274/comments"},"review_comment":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/pulls/274/commits"},"statuses":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-buyer-frontend/statuses/5b3ab9538a25b72f2d6452e88481ce58bde06803"}}}}
{"actor":{"display_login":"sarneaud"}}