{"action":"closed","issue":{"url":"https://api.github.com/repos/hpi-swt2/wimi-portal/issues/12","labels_url":"https://api.github.com/repos/hpi-swt2/wimi-portal/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/hpi-swt2/wimi-portal/issues/12/comments","events_url":"https://api.github.com/repos/hpi-swt2/wimi-portal/issues/12/events","html_url":"https://github.com/hpi-swt2/wimi-portal/issues/12","id":115482717,"number":12,"title":"Profil - Resturlaub einsehen // 5P","user":{"login":"mandyklingbeil","id":7271491,"avatar_url":"https://avatars.githubusercontent.com/u/7271491?v=3","gravatar_id":"","url":"https://api.github.com/users/mandyklingbeil","html_url":"https://github.com/mandyklingbeil","followers_url":"https://api.github.com/users/mandyklingbeil/followers","following_url":"https://api.github.com/users/mandyklingbeil/following{/other_user}","gists_url":"https://api.github.com/users/mandyklingbeil/gists{/gist_id}","starred_url":"https://api.github.com/users/mandyklingbeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandyklingbeil/subscriptions","organizations_url":"https://api.github.com/users/mandyklingbeil/orgs","repos_url":"https://api.github.com/users/mandyklingbeil/repos","events_url":"https://api.github.com/users/mandyklingbeil/events{/privacy}","received_events_url":"https://api.github.com/users/mandyklingbeil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hpi-swt2/wimi-portal/labels/not-finished","name":"not-finished","color":"fef2c0"},{"url":"https://api.github.com/repos/hpi-swt2/wimi-portal/labels/Priorit%C3%A4t%202","name":"Priorität 2","color":"fbca04"},{"url":"https://api.github.com/repos/hpi-swt2/wimi-portal/labels/Team%203","name":"Team 3","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"Ferandal","id":11942573,"avatar_url":"https://avatars.githubusercontent.com/u/11942573?v=3","gravatar_id":"","url":"https://api.github.com/users/Ferandal","html_url":"https://github.com/Ferandal","followers_url":"https://api.github.com/users/Ferandal/followers","following_url":"https://api.github.com/users/Ferandal/following{/other_user}","gists_url":"https://api.github.com/users/Ferandal/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferandal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferandal/subscriptions","organizations_url":"https://api.github.com/users/Ferandal/orgs","repos_url":"https://api.github.com/users/Ferandal/repos","events_url":"https://api.github.com/users/Ferandal/events{/privacy}","received_events_url":"https://api.github.com/users/Ferandal/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hpi-swt2/wimi-portal/milestones/2","html_url":"https://github.com/hpi-swt2/wimi-portal/milestones/Sprint%201","labels_url":"https://api.github.com/repos/hpi-swt2/wimi-portal/milestones/2/labels","id":1320240,"number":2,"title":"Sprint 1","description":"","creator":{"login":"derari","id":82387,"avatar_url":"https://avatars.githubusercontent.com/u/82387?v=3","gravatar_id":"","url":"https://api.github.com/users/derari","html_url":"https://github.com/derari","followers_url":"https://api.github.com/users/derari/followers","following_url":"https://api.github.com/users/derari/following{/other_user}","gists_url":"https://api.github.com/users/derari/gists{/gist_id}","starred_url":"https://api.github.com/users/derari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derari/subscriptions","organizations_url":"https://api.github.com/users/derari/orgs","repos_url":"https://api.github.com/users/derari/repos","events_url":"https://api.github.com/users/derari/events{/privacy}","received_events_url":"https://api.github.com/users/derari/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":5,"state":"open","created_at":"2015-09-23T12:21:05Z","updated_at":"2015-11-25T12:16:06Z","due_on":"2015-11-26T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-11-06T10:55:08Z","updated_at":"2015-11-25T12:16:06Z","closed_at":"2015-11-25T12:16:06Z","body":"Als Nutzer möchte ich sehen, wie viele Urlaubstage ich für das aktuelle und für das folgende Jahr übrig habe. Die Urlaubstage pro Jahr sind für einen Nutzer im System festgelegt. Nur ich kann sehen, wie viel Resturlaub ich habe.\r\n\r\nIm Profil steht unter Urlaub: \r\nVerfügbare Urlaubstage für [aktuelles Jahr]:\r\nVerfügbare Urlaubstage für [Folgejahr]:\r\n\r\nWenn ein Jahr vorbei ist, dann werden die Resturlaubstage auf das Folgejahr addiert.\r\n**Tasks**\r\n- [x] Resturlaubspalte in users hinzufügen 15min\r\n- [x] Resturlaubspalte nächstes Jahr in users hinzufügen 15min\r\n- [ ] Automatisches Abziehen der Länge von Urlaubsanträgen 30min\r\n\r\n**Acceptance**\r\n- [ ] Mein korrekt berechneter Resturlaub für das jeweilige Jahr ist im Profil einsehbar\r\n- [ ] Bei einem neuen Urlaubsantrag (#13) wird der Resturlaub für das entsprechende Jahr im Profil angepasst\r\n\r\n![bildschirmfoto 2015-11-12 um 11 57 53](https://cloud.githubusercontent.com/assets/7271491/11116843/70ece8be-8935-11e5-839e-19e6c54bcbf1.png)\r\n"}}