{"action":"created","comment":{"url":"https://api.github.com/repos/ripple/ripple-client/pulls/comments/27318760","id":27318760,"diff_hunk":"@@ -41,20 +41,21 @@ nav.navbar(role=\"navigation\", ng-controller=\"NavbarCtrl\")\n           //-       span.balance {{balance.total | rpamount:{rel_precision: 2} }}&nbsp;\n           //-       span.balance(rp-currency=\"balance.total\", rp-currency-short)\n           li\n-            span(class=\"serverStatus {{connected ? 'online' : 'offline'}} {{serverLoad}}\")\n-              span(ng-if=\"serverStatus == 'disconnected'\"\n-                  rp-popover, rp-popover-placement=\"bottom\", rp-popover-trigger=\"hover\", rp-popover-delay\n+            span(class=\"serverStatus {{connected ? 'online' : 'offline'}} {{serverLoad}}\"\n+                ng-switch='serverStatus')\n+              span(ng-switch-when='disconnected'\n+                  rp-popover, rp-popover-placement='bottom', rp-popover-trigger='hover', rp-popover-delay\n                   l10n-rp-popover-content=\"Disconnected from the Ripple network\")\n-              span(ng-if=\"serverStatus == 'highLoad'\"\n-                  rp-popover, rp-popover-placement=\"bottom\", rp-popover-trigger=\"hover\", rp-popover-delay\n-                  l10n-rp-popover-content=\"Network fees are currently higher than your maximum. Fee: {{ currentFee }} XRP. <a href='#/advanced'>Change fees</a>\")\n-              span(ng-if=\"serverStatus == 'mediumLoad'\"\n-                  rp-popover, rp-popover-placement=\"bottom\", rp-popover-trigger=\"hover\", rp-popover-delay\n-                  l10n-rp-popover-content=\"'Network fees are currently higher than normal. Fee: {{ currentFee }} XRP'\")\n-              span(ng-if=\"serverStatus == 'lowLoad'\"\n-                  rp-popover, rp-popover-placement=\"bottom\", rp-popover-trigger=\"hover\", rp-popover-delay\n-                  l10n-rp-popover-content=\"Connected to the Ripple network. Fee: {{ currentFee }} XRP\")\n-              span(ng-if=\"serverStatus == 'connected'\"\n+              span(ng-switch-when='highLoad'\n+                  rp-popover, rp-popover-placement='bottom', rp-popover-trigger='hover', rp-popover-delay\n+                  l10n-rp-popover-content=\"Network fees are currently higher than your maximum. Fee: {{ fee | rpamount }} XRP. <a href='#/advanced'>Change fees</a>\")\n+              span(ng-switch-when='mediumLoad'\n+                  rp-popover, rp-popover-placement='bottom', rp-popover-trigger='hover', rp-popover-delay\n+                  l10n-rp-popover-content=\"'Network fees are currently higher than normal. Fee: {{ fee | rpamount }} XRP'\")","path":"src/jade/client/navbar.jade","position":27,"original_position":27,"commit_id":"7049af12767485b0d206c7c661b3c7a914008471","original_commit_id":"7049af12767485b0d206c7c661b3c7a914008471","user":{"login":"rht","id":395821,"avatar_url":"https://avatars.githubusercontent.com/u/395821?v=3","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"body":"When I did that the jade engine threw syntax error.","created_at":"2015-03-27T18:22:14Z","updated_at":"2015-03-27T18:22:14Z","html_url":"https://github.com/ripple/ripple-client/pull/2387#discussion_r27318760","pull_request_url":"https://api.github.com/repos/ripple/ripple-client/pulls/2387","_links":{"self":{"href":"https://api.github.com/repos/ripple/ripple-client/pulls/comments/27318760"},"html":{"href":"https://github.com/ripple/ripple-client/pull/2387#discussion_r27318760"},"pull_request":{"href":"https://api.github.com/repos/ripple/ripple-client/pulls/2387"}}},"pull_request":{"url":"https://api.github.com/repos/ripple/ripple-client/pulls/2387","id":32129201,"html_url":"https://github.com/ripple/ripple-client/pull/2387","diff_url":"https://github.com/ripple/ripple-client/pull/2387.diff","patch_url":"https://github.com/ripple/ripple-client/pull/2387.patch","issue_url":"https://api.github.com/repos/ripple/ripple-client/issues/2387","number":2387,"state":"open","locked":false,"title":"[FIX] serverStatus: update fee on net connected/disconnected (RT-3323)","user":{"login":"rht","id":395821,"avatar_url":"https://avatars.githubusercontent.com/u/395821?v=3","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"body":"This should be independent of auth connection status","created_at":"2015-03-27T17:43:49Z","updated_at":"2015-03-27T18:22:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e49fd05772d12cb9e3faee9472ae5b063b6e5df3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ripple/ripple-client/pulls/2387/commits","review_comments_url":"https://api.github.com/repos/ripple/ripple-client/pulls/2387/comments","review_comment_url":"https://api.github.com/repos/ripple/ripple-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ripple/ripple-client/issues/2387/comments","statuses_url":"https://api.github.com/repos/ripple/ripple-client/statuses/7049af12767485b0d206c7c661b3c7a914008471","head":{"label":"rht:release","ref":"release","sha":"7049af12767485b0d206c7c661b3c7a914008471","user":{"login":"rht","id":395821,"avatar_url":"https://avatars.githubusercontent.com/u/395821?v=3","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"repo":{"id":25897783,"name":"ripple-client","full_name":"rht/ripple-client","owner":{"login":"rht","id":395821,"avatar_url":"https://avatars.githubusercontent.com/u/395821?v=3","gravatar_id":"","url":"https://api.github.com/users/rht","html_url":"https://github.com/rht","followers_url":"https://api.github.com/users/rht/followers","following_url":"https://api.github.com/users/rht/following{/other_user}","gists_url":"https://api.github.com/users/rht/gists{/gist_id}","starred_url":"https://api.github.com/users/rht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rht/subscriptions","organizations_url":"https://api.github.com/users/rht/orgs","repos_url":"https://api.github.com/users/rht/repos","events_url":"https://api.github.com/users/rht/events{/privacy}","received_events_url":"https://api.github.com/users/rht/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rht/ripple-client","description":"A UI for the Ripple payment network built using web technologies","fork":true,"url":"https://api.github.com/repos/rht/ripple-client","forks_url":"https://api.github.com/repos/rht/ripple-client/forks","keys_url":"https://api.github.com/repos/rht/ripple-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rht/ripple-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rht/ripple-client/teams","hooks_url":"https://api.github.com/repos/rht/ripple-client/hooks","issue_events_url":"https://api.github.com/repos/rht/ripple-client/issues/events{/number}","events_url":"https://api.github.com/repos/rht/ripple-client/events","assignees_url":"https://api.github.com/repos/rht/ripple-client/assignees{/user}","branches_url":"https://api.github.com/repos/rht/ripple-client/branches{/branch}","tags_url":"https://api.github.com/repos/rht/ripple-client/tags","blobs_url":"https://api.github.com/repos/rht/ripple-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rht/ripple-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rht/ripple-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/rht/ripple-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rht/ripple-client/statuses/{sha}","languages_url":"https://api.github.com/repos/rht/ripple-client/languages","stargazers_url":"https://api.github.com/repos/rht/ripple-client/stargazers","contributors_url":"https://api.github.com/repos/rht/ripple-client/contributors","subscribers_url":"https://api.github.com/repos/rht/ripple-client/subscribers","subscription_url":"https://api.github.com/repos/rht/ripple-client/subscription","commits_url":"https://api.github.com/repos/rht/ripple-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/rht/ripple-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/rht/ripple-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/rht/ripple-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/rht/ripple-client/contents/{+path}","compare_url":"https://api.github.com/repos/rht/ripple-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rht/ripple-client/merges","archive_url":"https://api.github.com/repos/rht/ripple-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rht/ripple-client/downloads","issues_url":"https://api.github.com/repos/rht/ripple-client/issues{/number}","pulls_url":"https://api.github.com/repos/rht/ripple-client/pulls{/number}","milestones_url":"https://api.github.com/repos/rht/ripple-client/milestones{/number}","notifications_url":"https://api.github.com/repos/rht/ripple-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rht/ripple-client/labels{/name}","releases_url":"https://api.github.com/repos/rht/ripple-client/releases{/id}","created_at":"2014-10-29T01:07:50Z","updated_at":"2015-02-28T16:03:52Z","pushed_at":"2015-03-27T18:08:07Z","git_url":"git://github.com/rht/ripple-client.git","ssh_url":"git@github.com:rht/ripple-client.git","clone_url":"https://github.com/rht/ripple-client.git","svn_url":"https://github.com/rht/ripple-client","homepage":"","size":24581,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"ripple:release","ref":"release","sha":"28fb00cfacebbe5680ddf381d2adafc65cbb51a4","user":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"repo":{"id":6248414,"name":"ripple-client","full_name":"ripple/ripple-client","owner":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ripple/ripple-client","description":"A UI for the Ripple payment network built using web technologies","fork":false,"url":"https://api.github.com/repos/ripple/ripple-client","forks_url":"https://api.github.com/repos/ripple/ripple-client/forks","keys_url":"https://api.github.com/repos/ripple/ripple-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ripple/ripple-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ripple/ripple-client/teams","hooks_url":"https://api.github.com/repos/ripple/ripple-client/hooks","issue_events_url":"https://api.github.com/repos/ripple/ripple-client/issues/events{/number}","events_url":"https://api.github.com/repos/ripple/ripple-client/events","assignees_url":"https://api.github.com/repos/ripple/ripple-client/assignees{/user}","branches_url":"https://api.github.com/repos/ripple/ripple-client/branches{/branch}","tags_url":"https://api.github.com/repos/ripple/ripple-client/tags","blobs_url":"https://api.github.com/repos/ripple/ripple-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ripple/ripple-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ripple/ripple-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ripple/ripple-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ripple/ripple-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ripple/ripple-client/languages","stargazers_url":"https://api.github.com/repos/ripple/ripple-client/stargazers","contributors_url":"https://api.github.com/repos/ripple/ripple-client/contributors","subscribers_url":"https://api.github.com/repos/ripple/ripple-client/subscribers","subscription_url":"https://api.github.com/repos/ripple/ripple-client/subscription","commits_url":"https://api.github.com/repos/ripple/ripple-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ripple/ripple-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ripple/ripple-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ripple/ripple-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ripple/ripple-client/contents/{+path}","compare_url":"https://api.github.com/repos/ripple/ripple-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ripple/ripple-client/merges","archive_url":"https://api.github.com/repos/ripple/ripple-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ripple/ripple-client/downloads","issues_url":"https://api.github.com/repos/ripple/ripple-client/issues{/number}","pulls_url":"https://api.github.com/repos/ripple/ripple-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ripple/ripple-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ripple/ripple-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ripple/ripple-client/labels{/name}","releases_url":"https://api.github.com/repos/ripple/ripple-client/releases{/id}","created_at":"2012-10-16T17:35:52Z","updated_at":"2015-03-27T17:58:26Z","pushed_at":"2015-03-27T18:08:08Z","git_url":"git://github.com/ripple/ripple-client.git","ssh_url":"git@github.com:ripple/ripple-client.git","clone_url":"https://github.com/ripple/ripple-client.git","svn_url":"https://github.com/ripple/ripple-client","homepage":"","size":40552,"stargazers_count":1279,"watchers_count":1279,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":473,"mirror_url":null,"open_issues_count":27,"forks":473,"open_issues":27,"watchers":1279,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ripple/ripple-client/pulls/2387"},"html":{"href":"https://github.com/ripple/ripple-client/pull/2387"},"issue":{"href":"https://api.github.com/repos/ripple/ripple-client/issues/2387"},"comments":{"href":"https://api.github.com/repos/ripple/ripple-client/issues/2387/comments"},"review_comments":{"href":"https://api.github.com/repos/ripple/ripple-client/pulls/2387/comments"},"review_comment":{"href":"https://api.github.com/repos/ripple/ripple-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ripple/ripple-client/pulls/2387/commits"},"statuses":{"href":"https://api.github.com/repos/ripple/ripple-client/statuses/7049af12767485b0d206c7c661b3c7a914008471"}}}}