{"action":"created","comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/56800872","id":56800872,"diff_hunk":"@@ -1008,6 +1008,7 @@\n         </a>\n         <a\n           data-redirect=\"{{ preview_link }}\"\n+          data-url_deactive=\"{{ preview_link_deactivate }}\"","path":"src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig","position":4,"original_position":4,"commit_id":"187d5127ffe2f7d5bae34c712cc928893a847755","original_commit_id":"187d5127ffe2f7d5bae34c712cc928893a847755","user":{"login":"mickaelandrieu","id":1247388,"avatar_url":"https://avatars.githubusercontent.com/u/1247388?v=3","gravatar_id":"","url":"https://api.github.com/users/mickaelandrieu","html_url":"https://github.com/mickaelandrieu","followers_url":"https://api.github.com/users/mickaelandrieu/followers","following_url":"https://api.github.com/users/mickaelandrieu/following{/other_user}","gists_url":"https://api.github.com/users/mickaelandrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelandrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelandrieu/subscriptions","organizations_url":"https://api.github.com/users/mickaelandrieu/orgs","repos_url":"https://api.github.com/users/mickaelandrieu/repos","events_url":"https://api.github.com/users/mickaelandrieu/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelandrieu/received_events","type":"User","site_admin":false},"body":"I'd like to see `data-url-deactivate` instead, what do you think ?","created_at":"2016-03-21T10:12:01Z","updated_at":"2016-03-21T10:12:01Z","html_url":"https://github.com/PrestaShop/PrestaShop/pull/5220#discussion_r56800872","pull_request_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/56800872"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/5220#discussion_r56800872"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220"}}},"pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220","id":63540571,"html_url":"https://github.com/PrestaShop/PrestaShop/pull/5220","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/5220.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/5220.patch","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/5220","number":5220,"state":"open","locked":false,"title":"[-] BO : update link preview in js when product change publish","user":{"login":"cocoweb94","id":17760219,"avatar_url":"https://avatars.githubusercontent.com/u/17760219?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoweb94","html_url":"https://github.com/cocoweb94","followers_url":"https://api.github.com/users/cocoweb94/followers","following_url":"https://api.github.com/users/cocoweb94/following{/other_user}","gists_url":"https://api.github.com/users/cocoweb94/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoweb94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoweb94/subscriptions","organizations_url":"https://api.github.com/users/cocoweb94/orgs","repos_url":"https://api.github.com/users/cocoweb94/repos","events_url":"https://api.github.com/users/cocoweb94/events{/privacy}","received_events_url":"https://api.github.com/users/cocoweb94/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for contributing to the PrestaShop project!\r\nThis text is a template text for your GitHub pull request description. Click the \"Preview\" button to see how it displays.\r\n\r\nPlease provide a general summary of your changes in the title field above, following this naming convention:\r\n\"[<type>] <category> : <short description>\".\r\n\r\n<type> can be:\r\n* [-] for a bug fix.\r\n* [*] for an improvement.\r\n* [+] for a new feature.\r\n\r\n<category> can be:\r\n* FO : Related to the Front Office. Default theme (images, CSS, JavaScript, etc.), 'front' controllers, etc.\r\n* BO : Related to the Back Office. BO theme, 'admin' controllers, images, CSS, JavaScript, etc.\r\n* CORE : Related to the core of the software itself Classes, controllers, etc.\r\n* MO : Related to modules. Please specify the module's name in the content of commit message.\r\n\r\nSample title: \"[-] FO : Fix cart warning for IE9.\"\r\n\r\nIMPORTANT: Your commits' names MUST also follow this convention. For more details, please read http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message\r\n\r\nGuidelines:\r\n* PrestaShop 1.7 development happens on the 'develop' branch\r\n* PrestaShop 1.6 development happens on the '1.6.1.x' branch -- and only accept bugfixes, not improvements/new features.\r\n* Don't target the 'master' branch!\r\n* Make sure your local branch is up to date before commiting your changes!\r\n* Your code MUST respect the PSR-2 Coding Style: http://doc.prestashop.com/display/PS16/Coding+Standards !\r\n* Use 'git rebase' (in the command line) to squash/fixup unnecessary commits into only one commit, or to remove \"Merge branch XXX:\" commits.\r\n-->\r\n\r\n\r\n## Description\r\n\r\n<!--\r\nPlease enter a few sentences describing the overall goals of the pull request's commit(s). \r\nYou should be as descriptive as possible: the more details you give, the quicker your PR can be reviewed!\r\n\r\nExplain the motivation for making this change. What existing problem does the pull request solve? Why is it the best way to solve it? Give us as much details as possible: you want to convince the PS Core team that your PR must be merged :)\r\nDescribe any possible limitations, side effects, etc.\r\n\r\nReference any other pull requests that might be related (for instance, if you are rebasing a PR from another branch).\r\n-->\r\n\r\nchange link preview when product change condition publish\r\n\r\n## Steps to Test this Fix\r\n\r\n<!--\r\nDescribe the exact steps you've done to test that the code works. Remove the unecessary steps below :)\r\n-->\r\n\r\n1. change condition publish \r\n2. click on button preview \r\n3. if product is offline , link will have the token , admin dir and  id employee\r\n\r\n\r\n## Forge Ticket (optional)\r\n\r\n<!--\r\nIf you are fixing a Forge ticket, please give its full URL here. If not, delete this section.\r\n\r\nFor instance:\r\n\"Fixes ticket http://forge.prestashop.com/browse/PSCSX-XXXX\"\r\n -->\r\n\r\n#BOOM-316\r\n\r\n","created_at":"2016-03-21T10:02:41Z","updated_at":"2016-03-21T10:12:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2985c891d3170498fd6b744b71d4ebf050b5a2df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220/commits","review_comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220/comments","review_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/5220/comments","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/187d5127ffe2f7d5bae34c712cc928893a847755","head":{"label":"cocoweb94:changePreviewurlPublish","ref":"changePreviewurlPublish","sha":"187d5127ffe2f7d5bae34c712cc928893a847755","user":{"login":"cocoweb94","id":17760219,"avatar_url":"https://avatars.githubusercontent.com/u/17760219?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoweb94","html_url":"https://github.com/cocoweb94","followers_url":"https://api.github.com/users/cocoweb94/followers","following_url":"https://api.github.com/users/cocoweb94/following{/other_user}","gists_url":"https://api.github.com/users/cocoweb94/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoweb94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoweb94/subscriptions","organizations_url":"https://api.github.com/users/cocoweb94/orgs","repos_url":"https://api.github.com/users/cocoweb94/repos","events_url":"https://api.github.com/users/cocoweb94/events{/privacy}","received_events_url":"https://api.github.com/users/cocoweb94/received_events","type":"User","site_admin":false},"repo":{"id":53928286,"name":"PrestaShop","full_name":"cocoweb94/PrestaShop","owner":{"login":"cocoweb94","id":17760219,"avatar_url":"https://avatars.githubusercontent.com/u/17760219?v=3","gravatar_id":"","url":"https://api.github.com/users/cocoweb94","html_url":"https://github.com/cocoweb94","followers_url":"https://api.github.com/users/cocoweb94/followers","following_url":"https://api.github.com/users/cocoweb94/following{/other_user}","gists_url":"https://api.github.com/users/cocoweb94/gists{/gist_id}","starred_url":"https://api.github.com/users/cocoweb94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocoweb94/subscriptions","organizations_url":"https://api.github.com/users/cocoweb94/orgs","repos_url":"https://api.github.com/users/cocoweb94/repos","events_url":"https://api.github.com/users/cocoweb94/events{/privacy}","received_events_url":"https://api.github.com/users/cocoweb94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cocoweb94/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open Source e-commerce solution.","fork":true,"url":"https://api.github.com/repos/cocoweb94/PrestaShop","forks_url":"https://api.github.com/repos/cocoweb94/PrestaShop/forks","keys_url":"https://api.github.com/repos/cocoweb94/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocoweb94/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocoweb94/PrestaShop/teams","hooks_url":"https://api.github.com/repos/cocoweb94/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/cocoweb94/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/cocoweb94/PrestaShop/events","assignees_url":"https://api.github.com/repos/cocoweb94/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/cocoweb94/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/cocoweb94/PrestaShop/tags","blobs_url":"https://api.github.com/repos/cocoweb94/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocoweb94/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocoweb94/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocoweb94/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocoweb94/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/cocoweb94/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/cocoweb94/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/cocoweb94/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/cocoweb94/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/cocoweb94/PrestaShop/subscription","commits_url":"https://api.github.com/repos/cocoweb94/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocoweb94/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocoweb94/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocoweb94/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocoweb94/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/cocoweb94/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocoweb94/PrestaShop/merges","archive_url":"https://api.github.com/repos/cocoweb94/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocoweb94/PrestaShop/downloads","issues_url":"https://api.github.com/repos/cocoweb94/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/cocoweb94/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/cocoweb94/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/cocoweb94/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocoweb94/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/cocoweb94/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/cocoweb94/PrestaShop/deployments","created_at":"2016-03-15T08:43:30Z","updated_at":"2016-03-15T08:43:40Z","pushed_at":"2016-03-21T10:04:28Z","git_url":"git://github.com/cocoweb94/PrestaShop.git","ssh_url":"git@github.com:cocoweb94/PrestaShop.git","clone_url":"https://github.com/cocoweb94/PrestaShop.git","svn_url":"https://github.com/cocoweb94/PrestaShop","homepage":"http://www.prestashop.com/","size":243505,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PrestaShop:develop","ref":"develop","sha":"2c5bb3fe24302d30a35d46a5dc2888f45823429b","user":{"login":"PrestaShop","id":2815696,"avatar_url":"https://avatars.githubusercontent.com/u/2815696?v=3","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"repo":{"id":6763587,"name":"PrestaShop","full_name":"PrestaShop/PrestaShop","owner":{"login":"PrestaShop","id":2815696,"avatar_url":"https://avatars.githubusercontent.com/u/2815696?v=3","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrestaShop/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open Source e-commerce solution.","fork":false,"url":"https://api.github.com/repos/PrestaShop/PrestaShop","forks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/forks","keys_url":"https://api.github.com/repos/PrestaShop/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrestaShop/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrestaShop/PrestaShop/teams","hooks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/events","assignees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/PrestaShop/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/tags","blobs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/PrestaShop/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscription","commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/PrestaShop/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrestaShop/PrestaShop/merges","archive_url":"https://api.github.com/repos/PrestaShop/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrestaShop/PrestaShop/downloads","issues_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/PrestaShop/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/PrestaShop/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/PrestaShop/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/deployments","created_at":"2012-11-19T16:41:31Z","updated_at":"2016-03-20T19:03:48Z","pushed_at":"2016-03-21T10:05:31Z","git_url":"git://github.com/PrestaShop/PrestaShop.git","ssh_url":"git@github.com:PrestaShop/PrestaShop.git","clone_url":"https://github.com/PrestaShop/PrestaShop.git","svn_url":"https://github.com/PrestaShop/PrestaShop","homepage":"http://www.prestashop.com/","size":271122,"stargazers_count":1710,"watchers_count":1710,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1841,"mirror_url":null,"open_issues_count":365,"forks":1841,"open_issues":365,"watchers":1710,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/5220"},"issue":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/5220"},"comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/5220/comments"},"review_comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220/comments"},"review_comment":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/5220/commits"},"statuses":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/187d5127ffe2f7d5bae34c712cc928893a847755"}}}}