{"action":"created","comment":{"url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/comments/34127287","id":34127287,"diff_hunk":"@@ -1,10 +1,20 @@\n-techlooper.controller('contestsController', function (apiService, $scope, jsonValue, $window) {\n-  $scope.status = function (type, contest) {\n-    switch (type) {\n-      case \"contest-in-progress\":\n-        if (!contest) return false;\n-        return (contest.progress.translate == jsonValue.status.progress.translate);\n+techlooper.controller('contestsController', function (apiService, $scope, jsonValue, $window, $translate, $filter) {\n+  $scope.contestTimeLeft = function(contest) {\n+    switch (contest.progress.translate) {\n+      case jsonValue.status.progress.translate:\n+        return $filter(\"countdown\")(contest.submissionDateTime);\n+\n+      case jsonValue.status.notStarted.translate:\n+        return $filter(\"countdown\")(contest.startDateTime);","path":"src/main/webapp/assets/modules/contests/contests.con.js","position":14,"original_position":14,"commit_id":"b896263af93c3ae3bf5f47a333a4c3b1ec0cc69c","original_commit_id":"b896263af93c3ae3bf5f47a333a4c3b1ec0cc69c","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2015-07-08T08:49:57Z","updated_at":"2015-07-08T08:49:57Z","html_url":"https://github.com/chrisshayan/TechLooper/pull/317#discussion_r34127287","pull_request_url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317","_links":{"self":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/comments/34127287"},"html":{"href":"https://github.com/chrisshayan/TechLooper/pull/317#discussion_r34127287"},"pull_request":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317","id":39454166,"html_url":"https://github.com/chrisshayan/TechLooper/pull/317","diff_url":"https://github.com/chrisshayan/TechLooper/pull/317.diff","patch_url":"https://github.com/chrisshayan/TechLooper/pull/317.patch","issue_url":"https://api.github.com/repos/chrisshayan/TechLooper/issues/317","number":317,"state":"closed","locked":false,"title":"Please pull the latest code","user":{"login":"khoa-nd","id":1620282,"avatar_url":"https://avatars.githubusercontent.com/u/1620282?v=3","gravatar_id":"","url":"https://api.github.com/users/khoa-nd","html_url":"https://github.com/khoa-nd","followers_url":"https://api.github.com/users/khoa-nd/followers","following_url":"https://api.github.com/users/khoa-nd/following{/other_user}","gists_url":"https://api.github.com/users/khoa-nd/gists{/gist_id}","starred_url":"https://api.github.com/users/khoa-nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khoa-nd/subscriptions","organizations_url":"https://api.github.com/users/khoa-nd/orgs","repos_url":"https://api.github.com/users/khoa-nd/repos","events_url":"https://api.github.com/users/khoa-nd/events{/privacy}","received_events_url":"https://api.github.com/users/khoa-nd/received_events","type":"User","site_admin":false},"body":"Fix issues after deployed PRODUCTION on July 7\r\n\r\n1. In step 2 - Timeline of Post A Contest, choose a date. Then select that date and hit “Backspace” or “Delete” button —> I back from step 1 and all data are cleared. —> bug, just delete the date and stay at step 2 with all input data\r\n2. Whole TechLooper cannot be opened on iPad- Safari\r\n3. Contest detail page - Facebook share: Still cannot share the relevant Challenge Name and Challenge Overview\r\n4. Contest list page - The “View Detail” link is still not center aligned in the Action column\r\n5. Contest detail page: Display more message for 3 phases\r\n- Not Started: x more day(s) to start registration\r\nx = start date - current date + 1\r\n- Registration: x more day(s) to start challenge\r\nx = register by - current date + 1\r\n- Closed: Already closed by [submit_date]\r\n6. Ask for user cookie if he does not turn it on yet\r\n7.  Create 10 sample contests in production site\r\n8. Change email from name to \"TechLooper\"","created_at":"2015-07-08T08:49:44Z","updated_at":"2015-07-08T08:49:57Z","closed_at":"2015-07-08T08:49:52Z","merged_at":"2015-07-08T08:49:52Z","merge_commit_sha":"01f44c9f9d46a5781abe1874552b4b7e406d6879","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317/commits","review_comments_url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317/comments","review_comment_url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chrisshayan/TechLooper/issues/317/comments","statuses_url":"https://api.github.com/repos/chrisshayan/TechLooper/statuses/b896263af93c3ae3bf5f47a333a4c3b1ec0cc69c","head":{"label":"khoa-nd:master","ref":"master","sha":"b896263af93c3ae3bf5f47a333a4c3b1ec0cc69c","user":{"login":"khoa-nd","id":1620282,"avatar_url":"https://avatars.githubusercontent.com/u/1620282?v=3","gravatar_id":"","url":"https://api.github.com/users/khoa-nd","html_url":"https://github.com/khoa-nd","followers_url":"https://api.github.com/users/khoa-nd/followers","following_url":"https://api.github.com/users/khoa-nd/following{/other_user}","gists_url":"https://api.github.com/users/khoa-nd/gists{/gist_id}","starred_url":"https://api.github.com/users/khoa-nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khoa-nd/subscriptions","organizations_url":"https://api.github.com/users/khoa-nd/orgs","repos_url":"https://api.github.com/users/khoa-nd/repos","events_url":"https://api.github.com/users/khoa-nd/events{/privacy}","received_events_url":"https://api.github.com/users/khoa-nd/received_events","type":"User","site_admin":false},"repo":{"id":25450824,"name":"TechLooper","full_name":"khoa-nd/TechLooper","owner":{"login":"khoa-nd","id":1620282,"avatar_url":"https://avatars.githubusercontent.com/u/1620282?v=3","gravatar_id":"","url":"https://api.github.com/users/khoa-nd","html_url":"https://github.com/khoa-nd","followers_url":"https://api.github.com/users/khoa-nd/followers","following_url":"https://api.github.com/users/khoa-nd/following{/other_user}","gists_url":"https://api.github.com/users/khoa-nd/gists{/gist_id}","starred_url":"https://api.github.com/users/khoa-nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khoa-nd/subscriptions","organizations_url":"https://api.github.com/users/khoa-nd/orgs","repos_url":"https://api.github.com/users/khoa-nd/repos","events_url":"https://api.github.com/users/khoa-nd/events{/privacy}","received_events_url":"https://api.github.com/users/khoa-nd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/khoa-nd/TechLooper","description":"This is VietnamWorks Open Source project. TechLooper is an aggregator which will detects the market demands and trends for IT jobs.","fork":true,"url":"https://api.github.com/repos/khoa-nd/TechLooper","forks_url":"https://api.github.com/repos/khoa-nd/TechLooper/forks","keys_url":"https://api.github.com/repos/khoa-nd/TechLooper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/khoa-nd/TechLooper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/khoa-nd/TechLooper/teams","hooks_url":"https://api.github.com/repos/khoa-nd/TechLooper/hooks","issue_events_url":"https://api.github.com/repos/khoa-nd/TechLooper/issues/events{/number}","events_url":"https://api.github.com/repos/khoa-nd/TechLooper/events","assignees_url":"https://api.github.com/repos/khoa-nd/TechLooper/assignees{/user}","branches_url":"https://api.github.com/repos/khoa-nd/TechLooper/branches{/branch}","tags_url":"https://api.github.com/repos/khoa-nd/TechLooper/tags","blobs_url":"https://api.github.com/repos/khoa-nd/TechLooper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/khoa-nd/TechLooper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/khoa-nd/TechLooper/git/refs{/sha}","trees_url":"https://api.github.com/repos/khoa-nd/TechLooper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/khoa-nd/TechLooper/statuses/{sha}","languages_url":"https://api.github.com/repos/khoa-nd/TechLooper/languages","stargazers_url":"https://api.github.com/repos/khoa-nd/TechLooper/stargazers","contributors_url":"https://api.github.com/repos/khoa-nd/TechLooper/contributors","subscribers_url":"https://api.github.com/repos/khoa-nd/TechLooper/subscribers","subscription_url":"https://api.github.com/repos/khoa-nd/TechLooper/subscription","commits_url":"https://api.github.com/repos/khoa-nd/TechLooper/commits{/sha}","git_commits_url":"https://api.github.com/repos/khoa-nd/TechLooper/git/commits{/sha}","comments_url":"https://api.github.com/repos/khoa-nd/TechLooper/comments{/number}","issue_comment_url":"https://api.github.com/repos/khoa-nd/TechLooper/issues/comments{/number}","contents_url":"https://api.github.com/repos/khoa-nd/TechLooper/contents/{+path}","compare_url":"https://api.github.com/repos/khoa-nd/TechLooper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/khoa-nd/TechLooper/merges","archive_url":"https://api.github.com/repos/khoa-nd/TechLooper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/khoa-nd/TechLooper/downloads","issues_url":"https://api.github.com/repos/khoa-nd/TechLooper/issues{/number}","pulls_url":"https://api.github.com/repos/khoa-nd/TechLooper/pulls{/number}","milestones_url":"https://api.github.com/repos/khoa-nd/TechLooper/milestones{/number}","notifications_url":"https://api.github.com/repos/khoa-nd/TechLooper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/khoa-nd/TechLooper/labels{/name}","releases_url":"https://api.github.com/repos/khoa-nd/TechLooper/releases{/id}","created_at":"2014-10-20T04:32:02Z","updated_at":"2015-05-08T11:01:03Z","pushed_at":"2015-07-08T08:37:55Z","git_url":"git://github.com/khoa-nd/TechLooper.git","ssh_url":"git@github.com:khoa-nd/TechLooper.git","clone_url":"https://github.com/khoa-nd/TechLooper.git","svn_url":"https://github.com/khoa-nd/TechLooper","homepage":null,"size":39405,"stargazers_count":1,"watchers_count":1,"language":"Java","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":1,"default_branch":"master"}},"base":{"label":"chrisshayan:Release35","ref":"Release35","sha":"13f4b4f877979fa17c62bfbbfcdf64bf5f39a383","user":{"login":"chrisshayan","id":4226119,"avatar_url":"https://avatars.githubusercontent.com/u/4226119?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisshayan","html_url":"https://github.com/chrisshayan","followers_url":"https://api.github.com/users/chrisshayan/followers","following_url":"https://api.github.com/users/chrisshayan/following{/other_user}","gists_url":"https://api.github.com/users/chrisshayan/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisshayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisshayan/subscriptions","organizations_url":"https://api.github.com/users/chrisshayan/orgs","repos_url":"https://api.github.com/users/chrisshayan/repos","events_url":"https://api.github.com/users/chrisshayan/events{/privacy}","received_events_url":"https://api.github.com/users/chrisshayan/received_events","type":"User","site_admin":false},"repo":{"id":21732596,"name":"TechLooper","full_name":"chrisshayan/TechLooper","owner":{"login":"chrisshayan","id":4226119,"avatar_url":"https://avatars.githubusercontent.com/u/4226119?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisshayan","html_url":"https://github.com/chrisshayan","followers_url":"https://api.github.com/users/chrisshayan/followers","following_url":"https://api.github.com/users/chrisshayan/following{/other_user}","gists_url":"https://api.github.com/users/chrisshayan/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisshayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisshayan/subscriptions","organizations_url":"https://api.github.com/users/chrisshayan/orgs","repos_url":"https://api.github.com/users/chrisshayan/repos","events_url":"https://api.github.com/users/chrisshayan/events{/privacy}","received_events_url":"https://api.github.com/users/chrisshayan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisshayan/TechLooper","description":"This is VietnamWorks Open Source project. TechLooper is an aggregator which will detects the market demands and trends for IT jobs.","fork":false,"url":"https://api.github.com/repos/chrisshayan/TechLooper","forks_url":"https://api.github.com/repos/chrisshayan/TechLooper/forks","keys_url":"https://api.github.com/repos/chrisshayan/TechLooper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisshayan/TechLooper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisshayan/TechLooper/teams","hooks_url":"https://api.github.com/repos/chrisshayan/TechLooper/hooks","issue_events_url":"https://api.github.com/repos/chrisshayan/TechLooper/issues/events{/number}","events_url":"https://api.github.com/repos/chrisshayan/TechLooper/events","assignees_url":"https://api.github.com/repos/chrisshayan/TechLooper/assignees{/user}","branches_url":"https://api.github.com/repos/chrisshayan/TechLooper/branches{/branch}","tags_url":"https://api.github.com/repos/chrisshayan/TechLooper/tags","blobs_url":"https://api.github.com/repos/chrisshayan/TechLooper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisshayan/TechLooper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisshayan/TechLooper/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisshayan/TechLooper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisshayan/TechLooper/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisshayan/TechLooper/languages","stargazers_url":"https://api.github.com/repos/chrisshayan/TechLooper/stargazers","contributors_url":"https://api.github.com/repos/chrisshayan/TechLooper/contributors","subscribers_url":"https://api.github.com/repos/chrisshayan/TechLooper/subscribers","subscription_url":"https://api.github.com/repos/chrisshayan/TechLooper/subscription","commits_url":"https://api.github.com/repos/chrisshayan/TechLooper/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisshayan/TechLooper/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisshayan/TechLooper/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisshayan/TechLooper/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisshayan/TechLooper/contents/{+path}","compare_url":"https://api.github.com/repos/chrisshayan/TechLooper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisshayan/TechLooper/merges","archive_url":"https://api.github.com/repos/chrisshayan/TechLooper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisshayan/TechLooper/downloads","issues_url":"https://api.github.com/repos/chrisshayan/TechLooper/issues{/number}","pulls_url":"https://api.github.com/repos/chrisshayan/TechLooper/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisshayan/TechLooper/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisshayan/TechLooper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisshayan/TechLooper/labels{/name}","releases_url":"https://api.github.com/repos/chrisshayan/TechLooper/releases{/id}","created_at":"2014-07-11T10:34:18Z","updated_at":"2015-06-29T10:16:04Z","pushed_at":"2015-07-08T08:49:52Z","git_url":"git://github.com/chrisshayan/TechLooper.git","ssh_url":"git@github.com:chrisshayan/TechLooper.git","clone_url":"https://github.com/chrisshayan/TechLooper.git","svn_url":"https://github.com/chrisshayan/TechLooper","homepage":null,"size":37168,"stargazers_count":14,"watchers_count":14,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":0,"forks":13,"open_issues":0,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317"},"html":{"href":"https://github.com/chrisshayan/TechLooper/pull/317"},"issue":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/issues/317"},"comments":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/chrisshayan/TechLooper/statuses/b896263af93c3ae3bf5f47a333a4c3b1ec0cc69c"}}}}