{"action":"created","issue":{"url":"https://api.github.com/repos/pkp/pkp-lib/issues/1220","repository_url":"https://api.github.com/repos/pkp/pkp-lib","labels_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1220/labels{/name}","comments_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1220/comments","events_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1220/events","html_url":"https://github.com/pkp/pkp-lib/issues/1220","id":138296380,"number":1220,"title":"[OJS] article incorrectly shows subscription required notice","user":{"login":"crism","id":1933900,"avatar_url":"https://avatars.githubusercontent.com/u/1933900?v=3","gravatar_id":"","url":"https://api.github.com/users/crism","html_url":"https://github.com/crism","followers_url":"https://api.github.com/users/crism/followers","following_url":"https://api.github.com/users/crism/following{/other_user}","gists_url":"https://api.github.com/users/crism/gists{/gist_id}","starred_url":"https://api.github.com/users/crism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crism/subscriptions","organizations_url":"https://api.github.com/users/crism/orgs","repos_url":"https://api.github.com/users/crism/repos","events_url":"https://api.github.com/users/crism/events{/privacy}","received_events_url":"https://api.github.com/users/crism/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pkp/pkp-lib/labels/Open%20Journal%20Systems","name":"Open Journal Systems","color":"aabbaa"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pkp/pkp-lib/milestones/9","html_url":"https://github.com/pkp/pkp-lib/milestones/OJS%203.0","labels_url":"https://api.github.com/repos/pkp/pkp-lib/milestones/9/labels","id":1008389,"number":9,"title":"OJS 3.0","description":"This is the initial release of OJS 3.0, a major rewrite of OJS 2.x including a front-end overhaul pioneered in OMP.\r\n\r\nTechnically, OJS 3.0 represents a comprehensive modernization of OJS, featuring a Javascript framework with JQuery/JQueryUI, a styling overhaul featuring LessPHP, and better use of PHP5 constructs.\r\n\r\nFor end users, OJS 3.0 provides a much fresher user experience. Many long-standing UI/UX issues in OJS 2.x have been reworked and better future-proofed.","creator":{"login":"asmecher","id":200411,"avatar_url":"https://avatars.githubusercontent.com/u/200411?v=3","gravatar_id":"","url":"https://api.github.com/users/asmecher","html_url":"https://github.com/asmecher","followers_url":"https://api.github.com/users/asmecher/followers","following_url":"https://api.github.com/users/asmecher/following{/other_user}","gists_url":"https://api.github.com/users/asmecher/gists{/gist_id}","starred_url":"https://api.github.com/users/asmecher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmecher/subscriptions","organizations_url":"https://api.github.com/users/asmecher/orgs","repos_url":"https://api.github.com/users/asmecher/repos","events_url":"https://api.github.com/users/asmecher/events{/privacy}","received_events_url":"https://api.github.com/users/asmecher/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":8,"state":"open","created_at":"2015-03-05T22:48:57Z","updated_at":"2016-03-21T17:02:34Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-03T21:03:14Z","updated_at":"2016-03-22T19:01:21Z","closed_at":null,"body":"Against `HEAD`:\r\n\r\nA journal issue’s access status is set to Open access in the dashboard. Nonetheless, when viewing specific articles (with URLs like `.../index.php/test/article/view/1`), a lock icon is shown with the text “Requires Subscription.” (Article galleys are accessible anyway.)"},"comment":{"url":"https://api.github.com/repos/pkp/pkp-lib/issues/comments/199964283","html_url":"https://github.com/pkp/pkp-lib/issues/1220#issuecomment-199964283","issue_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1220","id":199964283,"user":{"login":"crism","id":1933900,"avatar_url":"https://avatars.githubusercontent.com/u/1933900?v=3","gravatar_id":"","url":"https://api.github.com/users/crism","html_url":"https://github.com/crism","followers_url":"https://api.github.com/users/crism/followers","following_url":"https://api.github.com/users/crism/following{/other_user}","gists_url":"https://api.github.com/users/crism/gists{/gist_id}","starred_url":"https://api.github.com/users/crism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crism/subscriptions","organizations_url":"https://api.github.com/users/crism/orgs","repos_url":"https://api.github.com/users/crism/repos","events_url":"https://api.github.com/users/crism/events{/privacy}","received_events_url":"https://api.github.com/users/crism/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T19:01:21Z","updated_at":"2016-03-22T19:01:21Z","body":"The `accessLegend.tpl` file assumes access is restricted; it only considers whether per-article access can be purchased (`$purchaseArticleEnabled`). I think the right thing to do here is consider, in `article.tpl`, whether or not to include `accessLegend.tpl`. Now I just need to find the right variable to query to make that decision…"}}