{"action":"created","comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/32821994","id":32821994,"diff_hunk":"@@ -8,6 +8,18 @@\n             <small>\n                 <span class=\"help-tooltip glyphicon glyphicon-question-sign\" data-toggle=\"tooltip\" data-placement=\"right\" title='{% trans \"A facility is a physical location where learners learn.\" %}'></span>\n             </small>\n+            {% if missing_meta %}\n+            <small>\n+                <span class = \"help‐tooltip glyphicon\n+                               glyphicon‐exclamation‐sign\" style","path":"kalite/control_panel/templates/control_panel/partials/_facility_table.html","position":7,"original_position":7,"commit_id":"d8c5f6ba604fe2193699c5e794372e2f241497f9","original_commit_id":"d8c5f6ba604fe2193699c5e794372e2f241497f9","user":{"login":"rtibbles","id":1680573,"avatar_url":"https://avatars.githubusercontent.com/u/1680573?v=3","gravatar_id":"","url":"https://api.github.com/users/rtibbles","html_url":"https://github.com/rtibbles","followers_url":"https://api.github.com/users/rtibbles/followers","following_url":"https://api.github.com/users/rtibbles/following{/other_user}","gists_url":"https://api.github.com/users/rtibbles/gists{/gist_id}","starred_url":"https://api.github.com/users/rtibbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtibbles/subscriptions","organizations_url":"https://api.github.com/users/rtibbles/orgs","repos_url":"https://api.github.com/users/rtibbles/repos","events_url":"https://api.github.com/users/rtibbles/events{/privacy}","received_events_url":"https://api.github.com/users/rtibbles/received_events","type":"User","site_admin":false},"body":"Let's avoid inline styles. Can probably use a bootstrap 'warning' class or similar to get the orange colour.","created_at":"2015-06-19T11:48:48Z","updated_at":"2015-06-19T11:48:48Z","html_url":"https://github.com/learningequality/ka-lite/pull/3908#discussion_r32821994","pull_request_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908","_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/32821994"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/3908#discussion_r32821994"},"pull_request":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908"}}},"pull_request":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908","id":38097206,"html_url":"https://github.com/learningequality/ka-lite/pull/3908","diff_url":"https://github.com/learningequality/ka-lite/pull/3908.diff","patch_url":"https://github.com/learningequality/ka-lite/pull/3908.patch","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/3908","number":3908,"state":"open","locked":false,"title":"Check if facility is missing metadata. If so, promp user (via icon/to…","user":{"login":"askerry","id":7255416,"avatar_url":"https://avatars.githubusercontent.com/u/7255416?v=3","gravatar_id":"","url":"https://api.github.com/users/askerry","html_url":"https://github.com/askerry","followers_url":"https://api.github.com/users/askerry/followers","following_url":"https://api.github.com/users/askerry/following{/other_user}","gists_url":"https://api.github.com/users/askerry/gists{/gist_id}","starred_url":"https://api.github.com/users/askerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askerry/subscriptions","organizations_url":"https://api.github.com/users/askerry/orgs","repos_url":"https://api.github.com/users/askerry/repos","events_url":"https://api.github.com/users/askerry/events{/privacy}","received_events_url":"https://api.github.com/users/askerry/received_events","type":"User","site_admin":false},"body":"…oltip + highlighting) to update facility information\r\n\r\nAttempts to address issue [#1808](https://github.com/learningequality/ka-lite/issues/1808).\r\n\r\nThis PR checks each facility for complete metadata when presenting facilities on the control panel. If metadata is missing, an icon w/ tooltip notifies user that there are facilities with incomplete information. Each facility missing metadata is highlighted (using warning class).\r\n\r\nBTW: This is my first commit to ka-lite (and, well, to anything other than my own little projects) so feedback on the code and/or process very welcome!\r\n\r\nWhen all data is available:\r\n![no-missing-metadata](https://cloud.githubusercontent.com/assets/7255416/8252142/ba4b9652-1650-11e5-808a-2c0b9e993507.png)\r\n\r\nWhen missing data:\r\n![missing-metadata](https://cloud.githubusercontent.com/assets/7255416/8252143/ba4c12ee-1650-11e5-957a-558569e6607d.png)\r\n\r\nTooltip hover:\r\n![tooltip](https://cloud.githubusercontent.com/assets/7255416/8252144/ba4c3d96-1650-11e5-9024-a04c04cf35c4.png)\r\n\r\n","created_at":"2015-06-19T11:01:54Z","updated_at":"2015-06-19T11:48:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b7af1bbb004970e125aa88f2de89b1fae332222","assignee":{"login":"rtibbles","id":1680573,"avatar_url":"https://avatars.githubusercontent.com/u/1680573?v=3","gravatar_id":"","url":"https://api.github.com/users/rtibbles","html_url":"https://github.com/rtibbles","followers_url":"https://api.github.com/users/rtibbles/followers","following_url":"https://api.github.com/users/rtibbles/following{/other_user}","gists_url":"https://api.github.com/users/rtibbles/gists{/gist_id}","starred_url":"https://api.github.com/users/rtibbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtibbles/subscriptions","organizations_url":"https://api.github.com/users/rtibbles/orgs","repos_url":"https://api.github.com/users/rtibbles/repos","events_url":"https://api.github.com/users/rtibbles/events{/privacy}","received_events_url":"https://api.github.com/users/rtibbles/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908/commits","review_comments_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908/comments","review_comment_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/3908/comments","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/d8c5f6ba604fe2193699c5e794372e2f241497f9","head":{"label":"askerry:metadata-flag","ref":"metadata-flag","sha":"d8c5f6ba604fe2193699c5e794372e2f241497f9","user":{"login":"askerry","id":7255416,"avatar_url":"https://avatars.githubusercontent.com/u/7255416?v=3","gravatar_id":"","url":"https://api.github.com/users/askerry","html_url":"https://github.com/askerry","followers_url":"https://api.github.com/users/askerry/followers","following_url":"https://api.github.com/users/askerry/following{/other_user}","gists_url":"https://api.github.com/users/askerry/gists{/gist_id}","starred_url":"https://api.github.com/users/askerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askerry/subscriptions","organizations_url":"https://api.github.com/users/askerry/orgs","repos_url":"https://api.github.com/users/askerry/repos","events_url":"https://api.github.com/users/askerry/events{/privacy}","received_events_url":"https://api.github.com/users/askerry/received_events","type":"User","site_admin":false},"repo":{"id":37698430,"name":"ka-lite","full_name":"askerry/ka-lite","owner":{"login":"askerry","id":7255416,"avatar_url":"https://avatars.githubusercontent.com/u/7255416?v=3","gravatar_id":"","url":"https://api.github.com/users/askerry","html_url":"https://github.com/askerry","followers_url":"https://api.github.com/users/askerry/followers","following_url":"https://api.github.com/users/askerry/following{/other_user}","gists_url":"https://api.github.com/users/askerry/gists{/gist_id}","starred_url":"https://api.github.com/users/askerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askerry/subscriptions","organizations_url":"https://api.github.com/users/askerry/orgs","repos_url":"https://api.github.com/users/askerry/repos","events_url":"https://api.github.com/users/askerry/events{/privacy}","received_events_url":"https://api.github.com/users/askerry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/askerry/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":true,"url":"https://api.github.com/repos/askerry/ka-lite","forks_url":"https://api.github.com/repos/askerry/ka-lite/forks","keys_url":"https://api.github.com/repos/askerry/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/askerry/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/askerry/ka-lite/teams","hooks_url":"https://api.github.com/repos/askerry/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/askerry/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/askerry/ka-lite/events","assignees_url":"https://api.github.com/repos/askerry/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/askerry/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/askerry/ka-lite/tags","blobs_url":"https://api.github.com/repos/askerry/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/askerry/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/askerry/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/askerry/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/askerry/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/askerry/ka-lite/languages","stargazers_url":"https://api.github.com/repos/askerry/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/askerry/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/askerry/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/askerry/ka-lite/subscription","commits_url":"https://api.github.com/repos/askerry/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/askerry/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/askerry/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/askerry/ka-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/askerry/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/askerry/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/askerry/ka-lite/merges","archive_url":"https://api.github.com/repos/askerry/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/askerry/ka-lite/downloads","issues_url":"https://api.github.com/repos/askerry/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/askerry/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/askerry/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/askerry/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/askerry/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/askerry/ka-lite/releases{/id}","created_at":"2015-06-19T03:00:29Z","updated_at":"2015-06-19T03:00:43Z","pushed_at":"2015-06-19T10:46:58Z","git_url":"git://github.com/askerry/ka-lite.git","ssh_url":"git@github.com:askerry/ka-lite.git","clone_url":"https://github.com/askerry/ka-lite.git","svn_url":"https://github.com/askerry/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":227272,"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":"learningequality:develop","ref":"develop","sha":"958e26a26b78f879abc844d9805d7b30f0fc34eb","user":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"repo":{"id":5741125,"name":"ka-lite","full_name":"learningequality/ka-lite","owner":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learningequality/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":false,"url":"https://api.github.com/repos/learningequality/ka-lite","forks_url":"https://api.github.com/repos/learningequality/ka-lite/forks","keys_url":"https://api.github.com/repos/learningequality/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learningequality/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learningequality/ka-lite/teams","hooks_url":"https://api.github.com/repos/learningequality/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/learningequality/ka-lite/events","assignees_url":"https://api.github.com/repos/learningequality/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/learningequality/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/learningequality/ka-lite/tags","blobs_url":"https://api.github.com/repos/learningequality/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learningequality/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learningequality/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/learningequality/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/learningequality/ka-lite/languages","stargazers_url":"https://api.github.com/repos/learningequality/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/learningequality/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/learningequality/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/learningequality/ka-lite/subscription","commits_url":"https://api.github.com/repos/learningequality/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/learningequality/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/learningequality/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/learningequality/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learningequality/ka-lite/merges","archive_url":"https://api.github.com/repos/learningequality/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learningequality/ka-lite/downloads","issues_url":"https://api.github.com/repos/learningequality/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/learningequality/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/learningequality/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/learningequality/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learningequality/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/learningequality/ka-lite/releases{/id}","created_at":"2012-09-09T20:01:40Z","updated_at":"2015-06-08T22:27:23Z","pushed_at":"2015-06-19T11:01:55Z","git_url":"git://github.com/learningequality/ka-lite.git","ssh_url":"git@github.com:learningequality/ka-lite.git","clone_url":"https://github.com/learningequality/ka-lite.git","svn_url":"https://github.com/learningequality/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":227272,"stargazers_count":217,"watchers_count":217,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":244,"mirror_url":null,"open_issues_count":219,"forks":244,"open_issues":219,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/3908"},"issue":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/3908"},"comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/3908/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908/comments"},"review_comment":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/3908/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/ka-lite/statuses/d8c5f6ba604fe2193699c5e794372e2f241497f9"}}}}