{"action":"created","issue":{"url":"https://api.github.com/repos/thekordy/ticketit/issues/244","repository_url":"https://api.github.com/repos/thekordy/ticketit","labels_url":"https://api.github.com/repos/thekordy/ticketit/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/thekordy/ticketit/issues/244/comments","events_url":"https://api.github.com/repos/thekordy/ticketit/issues/244/events","html_url":"https://github.com/thekordy/ticketit/issues/244","id":173031670,"number":244,"title":"Questions for customization","user":{"login":"WestFR","id":21226632,"avatar_url":"https://avatars.githubusercontent.com/u/21226632?v=3","gravatar_id":"","url":"https://api.github.com/users/WestFR","html_url":"https://github.com/WestFR","followers_url":"https://api.github.com/users/WestFR/followers","following_url":"https://api.github.com/users/WestFR/following{/other_user}","gists_url":"https://api.github.com/users/WestFR/gists{/gist_id}","starred_url":"https://api.github.com/users/WestFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestFR/subscriptions","organizations_url":"https://api.github.com/users/WestFR/orgs","repos_url":"https://api.github.com/users/WestFR/repos","events_url":"https://api.github.com/users/WestFR/events{/privacy}","received_events_url":"https://api.github.com/users/WestFR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-24T19:00:21Z","updated_at":"2016-08-30T09:35:48Z","closed_at":null,"body":"Hello, i'm French developer !\r\n\r\nI have more questions for customize TicketIt.\r\n\r\nPrimary, how to translate or reach texts in English ? \r\nBecause i need French language ! \r\n\r\nSecondary, how to differentiate one users and one users admin in TicketIt ?\r\nI used Auth::user() but I need to differentitate this two users for redirect in home page.\r\n\r\n![sans titre](https://cloud.githubusercontent.com/assets/21226632/17943805/3c7597cc-6a3d-11e6-9778-b1d110491826.jpg)\r\n\r\nFinally, how to delete cleanly pages and access to path \"password/reset,...\" ?\r\nAnd, how to make accessible the page \" register \" only in admin user ?\r\n\r\nThank you for the help ! \r\nAnd I apologize for my French !\r\n"},"comment":{"url":"https://api.github.com/repos/thekordy/ticketit/issues/comments/243386058","html_url":"https://github.com/thekordy/ticketit/issues/244#issuecomment-243386058","issue_url":"https://api.github.com/repos/thekordy/ticketit/issues/244","id":243386058,"user":{"login":"thekordy","id":11343048,"avatar_url":"https://avatars.githubusercontent.com/u/11343048?v=3","gravatar_id":"","url":"https://api.github.com/users/thekordy","html_url":"https://github.com/thekordy","followers_url":"https://api.github.com/users/thekordy/followers","following_url":"https://api.github.com/users/thekordy/following{/other_user}","gists_url":"https://api.github.com/users/thekordy/gists{/gist_id}","starred_url":"https://api.github.com/users/thekordy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thekordy/subscriptions","organizations_url":"https://api.github.com/users/thekordy/orgs","repos_url":"https://api.github.com/users/thekordy/repos","events_url":"https://api.github.com/users/thekordy/events{/privacy}","received_events_url":"https://api.github.com/users/thekordy/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T09:35:47Z","updated_at":"2016-08-30T09:35:47Z","body":"@WestFR you don't need this line:\r\n```php\r\n// config/app.php\r\nJenssegers\\Date\\DateServiceProvider::class,\r\n```\r\nthis is already done by [ticketit](https://github.com/thekordy/ticketit/blob/0.2/src/TicketitServiceProvider.php#L238)\r\n\r\nShow us how do you implement date in your view, or make sure you show date like this:\r\n```blade\r\n{!! \\Carbon\\Carbon::createFromFormat(\"Y-m-d H:i:s\", $ticket->updated_at)->diffForHumans() !!}\r\n```\r\n\r\nAlso you can try something like this in a test route or the tinker to make sure the date package is set correctly:\r\n```php\r\necho Date::parse('-1 day')->diffForHumans();\r\n```"}}
{"actor":{"display_login":"thekordy"}}