{"action":"created","issue":{"url":"https://api.github.com/repos/klenin/cats-main/issues/91","repository_url":"https://api.github.com/repos/klenin/cats-main","labels_url":"https://api.github.com/repos/klenin/cats-main/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/klenin/cats-main/issues/91/comments","events_url":"https://api.github.com/repos/klenin/cats-main/issues/91/events","html_url":"https://github.com/klenin/cats-main/issues/91","id":81699734,"number":91,"title":"Code viewer: unused button or a bug?","user":{"login":"BlackDoomer","id":11665634,"avatar_url":"https://avatars.githubusercontent.com/u/11665634?v=3","gravatar_id":"","url":"https://api.github.com/users/BlackDoomer","html_url":"https://github.com/BlackDoomer","followers_url":"https://api.github.com/users/BlackDoomer/followers","following_url":"https://api.github.com/users/BlackDoomer/following{/other_user}","gists_url":"https://api.github.com/users/BlackDoomer/gists{/gist_id}","starred_url":"https://api.github.com/users/BlackDoomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlackDoomer/subscriptions","organizations_url":"https://api.github.com/users/BlackDoomer/orgs","repos_url":"https://api.github.com/users/BlackDoomer/repos","events_url":"https://api.github.com/users/BlackDoomer/events{/privacy}","received_events_url":"https://api.github.com/users/BlackDoomer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-05-28T01:15:18Z","updated_at":"2016-08-26T06:41:04Z","closed_at":null,"body":"There is a button in the solution code viewer, placed nearly from the top right corner, with \"?\" char as a caption. This button looks so strange - when I press it, CATS pushes me a little window with the single \"@ABOUT@\" string in.\r\nIs this button a something like unused feature of implemented code viewer control? Or this is a localization bug?"},"comment":{"url":"https://api.github.com/repos/klenin/cats-main/issues/comments/242643069","html_url":"https://github.com/klenin/cats-main/issues/91#issuecomment-242643069","issue_url":"https://api.github.com/repos/klenin/cats-main/issues/91","id":242643069,"user":{"login":"cher-nov","id":2927132,"avatar_url":"https://avatars.githubusercontent.com/u/2927132?v=3","gravatar_id":"","url":"https://api.github.com/users/cher-nov","html_url":"https://github.com/cher-nov","followers_url":"https://api.github.com/users/cher-nov/followers","following_url":"https://api.github.com/users/cher-nov/following{/other_user}","gists_url":"https://api.github.com/users/cher-nov/gists{/gist_id}","starred_url":"https://api.github.com/users/cher-nov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cher-nov/subscriptions","organizations_url":"https://api.github.com/users/cher-nov/orgs","repos_url":"https://api.github.com/users/cher-nov/repos","events_url":"https://api.github.com/users/cher-nov/events{/privacy}","received_events_url":"https://api.github.com/users/cher-nov/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T06:41:04Z","updated_at":"2016-08-26T06:41:04Z","body":"AFAIK, this happened because SyntaxHiglighter was improperly installed or something like that.\r\nWatch this: [shCore.js#L88](https://github.com/alexgorbatchev/syntaxhighlighter/blob/b7154ce7a83aa091d53d8f9e662fcf955f0c31d9/scripts/shCore.js#L88)\r\n\r\nIt also seems that we can fix this by adding something like that, to the [syntax_highlight.tti](https://github.com/klenin/cats-main/blob/master/tt/includes/syntax_highlight.tti):\r\n```javascript\r\nSyntaxHighlighter.config.strings.aboutDialog = \"<!--#include virtual=\"/about.html\"-->\";\r\n```\r\nOf course, `about.html` must also be placed into CATS repo.\r\nVersion of this file from SyntaxHighlighter version used can be obtained here: [about.html](https://github.com/alexgorbatchev/syntaxhighlighter/blob/b7154ce7a83aa091d53d8f9e662fcf955f0c31d9/build/includes/about.html).\r\n\r\nDo we need such a patch?"}}
{"actor":{"display_login":"cher-nov"}}