{"action":"created","issue":{"url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/issues/5","labels_url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/issues/5/comments","events_url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/issues/5/events","html_url":"https://github.com/Maslosoft/IlmatarWidgets/issues/5","id":100485553,"number":5,"title":"Create MHtml::snippet","user":{"login":"pmaselkowski","id":520283,"avatar_url":"https://avatars.githubusercontent.com/u/520283?v=3","gravatar_id":"","url":"https://api.github.com/users/pmaselkowski","html_url":"https://github.com/pmaselkowski","followers_url":"https://api.github.com/users/pmaselkowski/followers","following_url":"https://api.github.com/users/pmaselkowski/following{/other_user}","gists_url":"https://api.github.com/users/pmaselkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/pmaselkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmaselkowski/subscriptions","organizations_url":"https://api.github.com/users/pmaselkowski/orgs","repos_url":"https://api.github.com/users/pmaselkowski/repos","events_url":"https://api.github.com/users/pmaselkowski/events{/privacy}","received_events_url":"https://api.github.com/users/pmaselkowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/labels/improvement","name":"improvement","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"pmaselkowski","id":520283,"avatar_url":"https://avatars.githubusercontent.com/u/520283?v=3","gravatar_id":"","url":"https://api.github.com/users/pmaselkowski","html_url":"https://github.com/pmaselkowski","followers_url":"https://api.github.com/users/pmaselkowski/followers","following_url":"https://api.github.com/users/pmaselkowski/following{/other_user}","gists_url":"https://api.github.com/users/pmaselkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/pmaselkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmaselkowski/subscriptions","organizations_url":"https://api.github.com/users/pmaselkowski/orgs","repos_url":"https://api.github.com/users/pmaselkowski/repos","events_url":"https://api.github.com/users/pmaselkowski/events{/privacy}","received_events_url":"https://api.github.com/users/pmaselkowski/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-12T07:36:40Z","updated_at":"2015-11-10T14:46:07Z","closed_at":"2015-11-10T14:46:07Z","body":"This should pull text from db by code.\r\nie:\r\n<s>\r\n```php\r\n...\r\nMHtml::snippet ('some-code');\r\n...\r\n```\r\n</s>\r\n```php\r\n...\r\necho new Snippet ('some-code');\r\n...\r\n```\r\nShould search for 'some-code' and return model value. If not found, just return empty string.\r\nThis should be i18n.\r\nModel draft:\r\n```php\r\nclass Snippets\r\n    code:string\r\n    label:string\r\n```\r\n\r\nFrontend for this should be in [admin module](/Maslosoft/IlmatarModuleUa)"},"comment":{"url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/issues/comments/155438907","html_url":"https://github.com/Maslosoft/IlmatarWidgets/issues/5#issuecomment-155438907","issue_url":"https://api.github.com/repos/Maslosoft/IlmatarWidgets/issues/5","id":155438907,"user":{"login":"pmaselkowski","id":520283,"avatar_url":"https://avatars.githubusercontent.com/u/520283?v=3","gravatar_id":"","url":"https://api.github.com/users/pmaselkowski","html_url":"https://github.com/pmaselkowski","followers_url":"https://api.github.com/users/pmaselkowski/followers","following_url":"https://api.github.com/users/pmaselkowski/following{/other_user}","gists_url":"https://api.github.com/users/pmaselkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/pmaselkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmaselkowski/subscriptions","organizations_url":"https://api.github.com/users/pmaselkowski/orgs","repos_url":"https://api.github.com/users/pmaselkowski/repos","events_url":"https://api.github.com/users/pmaselkowski/events{/privacy}","received_events_url":"https://api.github.com/users/pmaselkowski/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T14:46:07Z","updated_at":"2015-11-10T14:46:07Z","body":"Moved to [admin module](/Maslosoft/IlmatarModuleUa)"}}