{"action":"created","comment":{"url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/comments/52570354","id":52570354,"diff_hunk":"@@ -92,3 +93,14 @@ def presence_start_end(user_id):\n         for weekday, day in enumerate(weekdays)\n     ]\n     return result\n+\n+\n+@app.route('/<string:temp_name>', methods=['GET'])\n+def render_all(temp_name):","path":"src/presence_analyzer/views.py","position":26,"original_position":26,"commit_id":"6e64717202f88bc84606c2d57aab3cec8fd6ce32","original_commit_id":"b82e45158775c9bbd50be117a84ee798a0ced5db","user":{"login":"ADubielSTX","id":17044825,"avatar_url":"https://avatars.githubusercontent.com/u/17044825?v=3","gravatar_id":"","url":"https://api.github.com/users/ADubielSTX","html_url":"https://github.com/ADubielSTX","followers_url":"https://api.github.com/users/ADubielSTX/followers","following_url":"https://api.github.com/users/ADubielSTX/following{/other_user}","gists_url":"https://api.github.com/users/ADubielSTX/gists{/gist_id}","starred_url":"https://api.github.com/users/ADubielSTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADubielSTX/subscriptions","organizations_url":"https://api.github.com/users/ADubielSTX/orgs","repos_url":"https://api.github.com/users/ADubielSTX/repos","events_url":"https://api.github.com/users/ADubielSTX/events{/privacy}","received_events_url":"https://api.github.com/users/ADubielSTX/received_events","type":"User","site_admin":false},"body":"Your eyes works very well!\r\nI fixed it.","created_at":"2016-02-11T07:41:24Z","updated_at":"2016-02-11T07:41:24Z","html_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel/pull/5#discussion_r52570354","pull_request_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/comments/52570354"},"html":{"href":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel/pull/5#discussion_r52570354"},"pull_request":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5","id":58995429,"html_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel/pull/5","diff_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel/pull/5.diff","patch_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel/pull/5.patch","issue_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues/5","number":5,"state":"open","locked":false,"title":"[6492] implementation jinja2 templates","user":{"login":"ADubielSTX","id":17044825,"avatar_url":"https://avatars.githubusercontent.com/u/17044825?v=3","gravatar_id":"","url":"https://api.github.com/users/ADubielSTX","html_url":"https://github.com/ADubielSTX","followers_url":"https://api.github.com/users/ADubielSTX/followers","following_url":"https://api.github.com/users/ADubielSTX/following{/other_user}","gists_url":"https://api.github.com/users/ADubielSTX/gists{/gist_id}","starred_url":"https://api.github.com/users/ADubielSTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADubielSTX/subscriptions","organizations_url":"https://api.github.com/users/ADubielSTX/orgs","repos_url":"https://api.github.com/users/ADubielSTX/repos","events_url":"https://api.github.com/users/ADubielSTX/events{/privacy}","received_events_url":"https://api.github.com/users/ADubielSTX/received_events","type":"User","site_admin":false},"body":"**Story / Bug id**: https://bugzilla.stxnext.pl/show_bug.cgi?id=6492\r\n**Project / App**: Onboarding - Presence Analyzer\r\n**Reference person**: @ADubielSTX\r\n**Description**: Replacing single HTML files for each view to jinja2 templates.\r\n\r\n\r\n**Migrations**:\r\n\r\n\r\n**Rollback**:\r\n\r\n\r\n**New imports / dependencies**: \r\n\r\n**Unit Tests**:\r\n\r\n\r\n**What tests do I need to run to validate this change**: unittests and check in web browser that views displays fine.\r\n\r\n\r\n## Scripts to be run:\r\n\r\n\r\n## New or Changed JS and / or HTML Files:\r\nDeleted old static HTML:\r\nsrc/presence_analyzer/static/mean_time_weekday.html\r\nsrc/presence_analyzer/static/presence_start_end.html\r\nsrc/presence_analyzer/static/presence_weekday.html\r\n\r\nAdd new template HTML, CSS and JS:\r\nsrc/presence_analyzer/templates/layout.html\r\nsrc/presence_analyzer/templates/mean_time_weekday.html\r\nsrc/presence_analyzer/templates/presence_start_end.html\r\nsrc/presence_analyzer/templates/presence_weekday.html\r\nsrc/presence_analyzer/static/css/styles.css\r\nsrc/presence_analyzer/static/js/mean_time_weekday.js\r\nsrc/presence_analyzer/static/js/parse_interval.js\r\nsrc/presence_analyzer/static/js/presence_start_end.js\r\nsrc/presence_analyzer/static/js/presence_weekday.js\r\n","created_at":"2016-02-11T06:23:08Z","updated_at":"2016-02-11T07:41:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc2b83dba4415a192d648ffbed2c2c534e69fd73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5/commits","review_comments_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5/comments","review_comment_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues/5/comments","statuses_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/statuses/6e64717202f88bc84606c2d57aab3cec8fd6ce32","head":{"label":"ADubielSTX:master","ref":"master","sha":"6e64717202f88bc84606c2d57aab3cec8fd6ce32","user":{"login":"ADubielSTX","id":17044825,"avatar_url":"https://avatars.githubusercontent.com/u/17044825?v=3","gravatar_id":"","url":"https://api.github.com/users/ADubielSTX","html_url":"https://github.com/ADubielSTX","followers_url":"https://api.github.com/users/ADubielSTX/followers","following_url":"https://api.github.com/users/ADubielSTX/following{/other_user}","gists_url":"https://api.github.com/users/ADubielSTX/gists{/gist_id}","starred_url":"https://api.github.com/users/ADubielSTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADubielSTX/subscriptions","organizations_url":"https://api.github.com/users/ADubielSTX/orgs","repos_url":"https://api.github.com/users/ADubielSTX/repos","events_url":"https://api.github.com/users/ADubielSTX/events{/privacy}","received_events_url":"https://api.github.com/users/ADubielSTX/received_events","type":"User","site_admin":false},"repo":{"id":51003666,"name":"presence-analyzer-adubiel","full_name":"ADubielSTX/presence-analyzer-adubiel","owner":{"login":"ADubielSTX","id":17044825,"avatar_url":"https://avatars.githubusercontent.com/u/17044825?v=3","gravatar_id":"","url":"https://api.github.com/users/ADubielSTX","html_url":"https://github.com/ADubielSTX","followers_url":"https://api.github.com/users/ADubielSTX/followers","following_url":"https://api.github.com/users/ADubielSTX/following{/other_user}","gists_url":"https://api.github.com/users/ADubielSTX/gists{/gist_id}","starred_url":"https://api.github.com/users/ADubielSTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADubielSTX/subscriptions","organizations_url":"https://api.github.com/users/ADubielSTX/orgs","repos_url":"https://api.github.com/users/ADubielSTX/repos","events_url":"https://api.github.com/users/ADubielSTX/events{/privacy}","received_events_url":"https://api.github.com/users/ADubielSTX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ADubielSTX/presence-analyzer-adubiel","description":"ścieżka wdrożeniowa andrzeja dubiel","fork":true,"url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel","forks_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/forks","keys_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/teams","hooks_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/hooks","issue_events_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/issues/events{/number}","events_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/events","assignees_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/assignees{/user}","branches_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/branches{/branch}","tags_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/tags","blobs_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/statuses/{sha}","languages_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/languages","stargazers_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/stargazers","contributors_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/contributors","subscribers_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/subscribers","subscription_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/subscription","commits_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/contents/{+path}","compare_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/merges","archive_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/downloads","issues_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/issues{/number}","pulls_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/pulls{/number}","milestones_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/milestones{/number}","notifications_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/labels{/name}","releases_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/releases{/id}","deployments_url":"https://api.github.com/repos/ADubielSTX/presence-analyzer-adubiel/deployments","created_at":"2016-02-03T14:07:48Z","updated_at":"2016-02-09T08:15:45Z","pushed_at":"2016-02-11T07:38:29Z","git_url":"git://github.com/ADubielSTX/presence-analyzer-adubiel.git","ssh_url":"git@github.com:ADubielSTX/presence-analyzer-adubiel.git","clone_url":"https://github.com/ADubielSTX/presence-analyzer-adubiel.git","svn_url":"https://github.com/ADubielSTX/presence-analyzer-adubiel","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stxnext-kindergarten:master","ref":"master","sha":"dd58733336379b6fd9a4ca234908404fa64c9480","user":{"login":"stxnext-kindergarten","id":5575308,"avatar_url":"https://avatars.githubusercontent.com/u/5575308?v=3","gravatar_id":"","url":"https://api.github.com/users/stxnext-kindergarten","html_url":"https://github.com/stxnext-kindergarten","followers_url":"https://api.github.com/users/stxnext-kindergarten/followers","following_url":"https://api.github.com/users/stxnext-kindergarten/following{/other_user}","gists_url":"https://api.github.com/users/stxnext-kindergarten/gists{/gist_id}","starred_url":"https://api.github.com/users/stxnext-kindergarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stxnext-kindergarten/subscriptions","organizations_url":"https://api.github.com/users/stxnext-kindergarten/orgs","repos_url":"https://api.github.com/users/stxnext-kindergarten/repos","events_url":"https://api.github.com/users/stxnext-kindergarten/events{/privacy}","received_events_url":"https://api.github.com/users/stxnext-kindergarten/received_events","type":"Organization","site_admin":false},"repo":{"id":50988569,"name":"presence-analyzer-adubiel","full_name":"stxnext-kindergarten/presence-analyzer-adubiel","owner":{"login":"stxnext-kindergarten","id":5575308,"avatar_url":"https://avatars.githubusercontent.com/u/5575308?v=3","gravatar_id":"","url":"https://api.github.com/users/stxnext-kindergarten","html_url":"https://github.com/stxnext-kindergarten","followers_url":"https://api.github.com/users/stxnext-kindergarten/followers","following_url":"https://api.github.com/users/stxnext-kindergarten/following{/other_user}","gists_url":"https://api.github.com/users/stxnext-kindergarten/gists{/gist_id}","starred_url":"https://api.github.com/users/stxnext-kindergarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stxnext-kindergarten/subscriptions","organizations_url":"https://api.github.com/users/stxnext-kindergarten/orgs","repos_url":"https://api.github.com/users/stxnext-kindergarten/repos","events_url":"https://api.github.com/users/stxnext-kindergarten/events{/privacy}","received_events_url":"https://api.github.com/users/stxnext-kindergarten/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel","description":"ścieżka wdrożeniowa andrzeja dubiel","fork":false,"url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel","forks_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/forks","keys_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/teams","hooks_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/hooks","issue_events_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues/events{/number}","events_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/events","assignees_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/assignees{/user}","branches_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/branches{/branch}","tags_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/tags","blobs_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/git/refs{/sha}","trees_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/statuses/{sha}","languages_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/languages","stargazers_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/stargazers","contributors_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/contributors","subscribers_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/subscribers","subscription_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/subscription","commits_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/commits{/sha}","git_commits_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/git/commits{/sha}","comments_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/comments{/number}","issue_comment_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues/comments{/number}","contents_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/contents/{+path}","compare_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/merges","archive_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/downloads","issues_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues{/number}","pulls_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls{/number}","milestones_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/milestones{/number}","notifications_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/labels{/name}","releases_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/releases{/id}","deployments_url":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/deployments","created_at":"2016-02-03T09:23:23Z","updated_at":"2016-02-05T11:00:15Z","pushed_at":"2016-02-11T07:38:30Z","git_url":"git://github.com/stxnext-kindergarten/presence-analyzer-adubiel.git","ssh_url":"git@github.com:stxnext-kindergarten/presence-analyzer-adubiel.git","clone_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel.git","svn_url":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel","homepage":null,"size":194,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5"},"html":{"href":"https://github.com/stxnext-kindergarten/presence-analyzer-adubiel/pull/5"},"issue":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues/5"},"comments":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/stxnext-kindergarten/presence-analyzer-adubiel/statuses/6e64717202f88bc84606c2d57aab3cec8fd6ce32"}}}}