{"action":"created","issue":{"url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/issues/368","repository_url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey","labels_url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/issues/368/comments","events_url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/issues/368/events","html_url":"https://github.com/goodjoblife/WorkTimeSurvey/pull/368","id":196254555,"number":368,"title":"使用者權限、估計時薪欄位、表格排序 style","user":{"login":"wutingy","id":8353239,"avatar_url":"https://avatars.githubusercontent.com/u/8353239?v=3","gravatar_id":"","url":"https://api.github.com/users/wutingy","html_url":"https://github.com/wutingy","followers_url":"https://api.github.com/users/wutingy/followers","following_url":"https://api.github.com/users/wutingy/following{/other_user}","gists_url":"https://api.github.com/users/wutingy/gists{/gist_id}","starred_url":"https://api.github.com/users/wutingy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wutingy/subscriptions","organizations_url":"https://api.github.com/users/wutingy/orgs","repos_url":"https://api.github.com/users/wutingy/repos","events_url":"https://api.github.com/users/wutingy/events{/privacy}","received_events_url":"https://api.github.com/users/wutingy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mark86092","id":1908007,"avatar_url":"https://avatars.githubusercontent.com/u/1908007?v=3","gravatar_id":"","url":"https://api.github.com/users/mark86092","html_url":"https://github.com/mark86092","followers_url":"https://api.github.com/users/mark86092/followers","following_url":"https://api.github.com/users/mark86092/following{/other_user}","gists_url":"https://api.github.com/users/mark86092/gists{/gist_id}","starred_url":"https://api.github.com/users/mark86092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark86092/subscriptions","organizations_url":"https://api.github.com/users/mark86092/orgs","repos_url":"https://api.github.com/users/mark86092/repos","events_url":"https://api.github.com/users/mark86092/events{/privacy}","received_events_url":"https://api.github.com/users/mark86092/received_events","type":"User","site_admin":false},"assignees":[{"login":"mark86092","id":1908007,"avatar_url":"https://avatars.githubusercontent.com/u/1908007?v=3","gravatar_id":"","url":"https://api.github.com/users/mark86092","html_url":"https://github.com/mark86092","followers_url":"https://api.github.com/users/mark86092/followers","following_url":"https://api.github.com/users/mark86092/following{/other_user}","gists_url":"https://api.github.com/users/mark86092/gists{/gist_id}","starred_url":"https://api.github.com/users/mark86092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark86092/subscriptions","organizations_url":"https://api.github.com/users/mark86092/orgs","repos_url":"https://api.github.com/users/mark86092/repos","events_url":"https://api.github.com/users/mark86092/events{/privacy}","received_events_url":"https://api.github.com/users/mark86092/received_events","type":"User","site_admin":false},{"login":"barry800414","id":3805975,"avatar_url":"https://avatars.githubusercontent.com/u/3805975?v=3","gravatar_id":"","url":"https://api.github.com/users/barry800414","html_url":"https://github.com/barry800414","followers_url":"https://api.github.com/users/barry800414/followers","following_url":"https://api.github.com/users/barry800414/following{/other_user}","gists_url":"https://api.github.com/users/barry800414/gists{/gist_id}","starred_url":"https://api.github.com/users/barry800414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barry800414/subscriptions","organizations_url":"https://api.github.com/users/barry800414/orgs","repos_url":"https://api.github.com/users/barry800414/repos","events_url":"https://api.github.com/users/barry800414/events{/privacy}","received_events_url":"https://api.github.com/users/barry800414/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/milestones/6","html_url":"https://github.com/goodjoblife/WorkTimeSurvey/milestone/6","labels_url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/milestones/6/labels","id":2147597,"number":6,"title":"查詢資訊權限","description":"","creator":{"login":"barry800414","id":3805975,"avatar_url":"https://avatars.githubusercontent.com/u/3805975?v=3","gravatar_id":"","url":"https://api.github.com/users/barry800414","html_url":"https://github.com/barry800414","followers_url":"https://api.github.com/users/barry800414/followers","following_url":"https://api.github.com/users/barry800414/following{/other_user}","gists_url":"https://api.github.com/users/barry800414/gists{/gist_id}","starred_url":"https://api.github.com/users/barry800414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barry800414/subscriptions","organizations_url":"https://api.github.com/users/barry800414/orgs","repos_url":"https://api.github.com/users/barry800414/repos","events_url":"https://api.github.com/users/barry800414/events{/privacy}","received_events_url":"https://api.github.com/users/barry800414/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-11-21T06:25:34Z","updated_at":"2016-12-18T11:09:52Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-12-18T02:38:52Z","updated_at":"2016-12-21T01:52:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/pulls/368","html_url":"https://github.com/goodjoblife/WorkTimeSurvey/pull/368","diff_url":"https://github.com/goodjoblife/WorkTimeSurvey/pull/368.diff","patch_url":"https://github.com/goodjoblife/WorkTimeSurvey/pull/368.patch"},"body":"- 首頁填寫表單，radio buttons toggle checked value\r\n- 新增尚未登入、已經登入但沒有權限區塊（目前在 `user.js` 裡修改 `user_enabled = false` 即可看到）\r\n- header 加上登入按鈕 \r\n- 表格裡的資料時間塞不下，改為 hover 才顯示\r\n- 估計時薪、排序 style\r\n\r\n\r\n## TODO\r\n- 判斷使用者有無權限\r\n- 當使用者沒有權限時，直接連結搜尋網址要導回 `/lastest`的頁面\r\n- `search-and-group/by-job-title/` 這邊資料要重串，會以公司做 group，底下資料用職稱排序\r\n- 資料時間請塞在 ` data-time=\"\"` 裡面\r\n- 新增欄位：估計時薪\r\n- 表格排序功能：三個 template 皆使用 `div(class=\"search-result__sort\")` 裡面的 select 做排序\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/issues/comments/268412340","html_url":"https://github.com/goodjoblife/WorkTimeSurvey/pull/368#issuecomment-268412340","issue_url":"https://api.github.com/repos/goodjoblife/WorkTimeSurvey/issues/368","id":268412340,"user":{"login":"barry800414","id":3805975,"avatar_url":"https://avatars.githubusercontent.com/u/3805975?v=3","gravatar_id":"","url":"https://api.github.com/users/barry800414","html_url":"https://github.com/barry800414","followers_url":"https://api.github.com/users/barry800414/followers","following_url":"https://api.github.com/users/barry800414/following{/other_user}","gists_url":"https://api.github.com/users/barry800414/gists{/gist_id}","starred_url":"https://api.github.com/users/barry800414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barry800414/subscriptions","organizations_url":"https://api.github.com/users/barry800414/orgs","repos_url":"https://api.github.com/users/barry800414/repos","events_url":"https://api.github.com/users/barry800414/events{/privacy}","received_events_url":"https://api.github.com/users/barry800414/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T01:52:52Z","updated_at":"2016-12-21T01:52:52Z","body":"@wutingy  有關於一進去最新工時的地方，排序方式是不是要多一個\"時間\"呢?\r\n![image](https://cloud.githubusercontent.com/assets/3805975/21374541/69439d08-c762-11e6-97da-5b311bbc69a3.png)\r\n\r\n這邊取消後可能需要把下面的選項收起來?\r\n![image](https://cloud.githubusercontent.com/assets/3805975/21374575/a6b268ea-c762-11e6-9377-b10bf6c42d8b.png)\r\n\r\n關於出現資料時間的部份，可能需要討論一下:\r\n有兩種時間資訊: \r\n1. 留下資料的真正時間\r\n2. 留下資料的時間/離職年月\r\n最新工時的部份是用1. 去排序沒錯，不過本來是有想說要把2顯示，這樣才有辦法留下過去的工作資訊\r\n![default](https://cloud.githubusercontent.com/assets/3805975/21374614/e4263c56-c762-11e6-8d22-a75aeadc2670.png)\r\n\r\n\r\n"}}
{"actor":{"display_login":"barry800414"}}