{"action":"created","comment":{"url":"https://api.github.com/repos/aymericbouzy/balise/pulls/comments/23531707","id":23531707,"diff_hunk":"@@ -9,26 +9,24 @@\n     </form>\n   </div>\n   <div class=\"col-lg-3\">\n-    <div class=\"bootstrap-switch bootstrap-switch-wrapper bootstrap-switch-animate bootstrap-switch-id-switch-state bootstrap-switch-off\">\n-      <div class=\"bootstrap-switch-container\">\n-        <?php\n-          $active = \"bootstrap-switch-handle-on bootstrap-switch-default\";\n-          $inactive = \"bootstrap-switch-handle-off bootstrap-switch-primary\";\n-          if ($budget_view) {\n-            $budget_class = $active;\n-            $operation_class = $inactive;\n-          } else {\n-            $budget_class = $inactive;\n-            $operation_class = $active;\n-          }\n-        ?>\n-        <?php echo link_to(path(\"index\", \"budget\", \"\", binet_prefix($binet, $term)), \"Budget\", $budget_class); ?>\n-        <label class=\"bootstrap-switch-label\">&nbsp;</label>\n-        <?php echo link_to(path(\"index\", \"operation\", \"\", binet_prefix($binet, $term)), \"Opérations\", $operation_class); ?>\n-\n-        <!-- C'est quoi ça ? -->\n-        <input id=\"switch-state\" type=\"checkbox\" checked data-on-text=\"Budget\" data-off-text=\"Opérations\">\n-      </div>\n+    <div class=\"switch opanel\">\n+      <?php\n+      $active = \"active\";\n+      $inactive = \"inactive\";\n+      if ($budget_view) {\n+        $budget_class = $active;\n+        $operation_class = $inactive;\n+      } else {\n+        $budget_class = $inactive;\n+        $operation_class = $active;\n+      }\n+      ?>\n+      <span class=\"left in <?php echo $budget_class ?> \">","path":"htdocs/beta/view/binet/finances.php","position":36,"original_position":36,"commit_id":"0418e2078fc1bf8777f1fb625a50be9101783522","original_commit_id":"0418e2078fc1bf8777f1fb625a50be9101783522","user":{"login":"aymericbouzy","id":8168981,"avatar_url":"https://avatars.githubusercontent.com/u/8168981?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbouzy","html_url":"https://github.com/aymericbouzy","followers_url":"https://api.github.com/users/aymericbouzy/followers","following_url":"https://api.github.com/users/aymericbouzy/following{/other_user}","gists_url":"https://api.github.com/users/aymericbouzy/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbouzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbouzy/subscriptions","organizations_url":"https://api.github.com/users/aymericbouzy/orgs","repos_url":"https://api.github.com/users/aymericbouzy/repos","events_url":"https://api.github.com/users/aymericbouzy/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbouzy/received_events","type":"User","site_admin":false},"body":"idem\r\n","created_at":"2015-01-26T14:03:53Z","updated_at":"2015-01-26T14:03:53Z","html_url":"https://github.com/aymericbouzy/balise/pull/32#discussion_r23531707","pull_request_url":"https://api.github.com/repos/aymericbouzy/balise/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/aymericbouzy/balise/pulls/comments/23531707"},"html":{"href":"https://github.com/aymericbouzy/balise/pull/32#discussion_r23531707"},"pull_request":{"href":"https://api.github.com/repos/aymericbouzy/balise/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/aymericbouzy/balise/pulls/32","id":27997404,"html_url":"https://github.com/aymericbouzy/balise/pull/32","diff_url":"https://github.com/aymericbouzy/balise/pull/32.diff","patch_url":"https://github.com/aymericbouzy/balise/pull/32.patch","issue_url":"https://api.github.com/repos/aymericbouzy/balise/issues/32","number":32,"state":"open","locked":false,"title":"Ui updates","user":{"login":"victornicolet","id":9047901,"avatar_url":"https://avatars.githubusercontent.com/u/9047901?v=3","gravatar_id":"","url":"https://api.github.com/users/victornicolet","html_url":"https://github.com/victornicolet","followers_url":"https://api.github.com/users/victornicolet/followers","following_url":"https://api.github.com/users/victornicolet/following{/other_user}","gists_url":"https://api.github.com/users/victornicolet/gists{/gist_id}","starred_url":"https://api.github.com/users/victornicolet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victornicolet/subscriptions","organizations_url":"https://api.github.com/users/victornicolet/orgs","repos_url":"https://api.github.com/users/victornicolet/repos","events_url":"https://api.github.com/users/victornicolet/events{/privacy}","received_events_url":"https://api.github.com/users/victornicolet/received_events","type":"User","site_admin":false},"body":"J'ai fait la plupart corrections de bugs css visibles (cad pas grand chose : il manque show, la page d'accueil): on peut merger sauf si tu veux corriger des bugs ici.","created_at":"2015-01-25T20:28:12Z","updated_at":"2015-01-26T14:03:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98f8f49e8daf92309e81142f5836a6cbe4cf7c62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aymericbouzy/balise/pulls/32/commits","review_comments_url":"https://api.github.com/repos/aymericbouzy/balise/pulls/32/comments","review_comment_url":"https://api.github.com/repos/aymericbouzy/balise/pulls/comments/{number}","comments_url":"https://api.github.com/repos/aymericbouzy/balise/issues/32/comments","statuses_url":"https://api.github.com/repos/aymericbouzy/balise/statuses/0418e2078fc1bf8777f1fb625a50be9101783522","head":{"label":"aymericbouzy:ui-updates","ref":"ui-updates","sha":"0418e2078fc1bf8777f1fb625a50be9101783522","user":{"login":"aymericbouzy","id":8168981,"avatar_url":"https://avatars.githubusercontent.com/u/8168981?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbouzy","html_url":"https://github.com/aymericbouzy","followers_url":"https://api.github.com/users/aymericbouzy/followers","following_url":"https://api.github.com/users/aymericbouzy/following{/other_user}","gists_url":"https://api.github.com/users/aymericbouzy/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbouzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbouzy/subscriptions","organizations_url":"https://api.github.com/users/aymericbouzy/orgs","repos_url":"https://api.github.com/users/aymericbouzy/repos","events_url":"https://api.github.com/users/aymericbouzy/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbouzy/received_events","type":"User","site_admin":false},"repo":{"id":24880300,"name":"balise","full_name":"aymericbouzy/balise","owner":{"login":"aymericbouzy","id":8168981,"avatar_url":"https://avatars.githubusercontent.com/u/8168981?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbouzy","html_url":"https://github.com/aymericbouzy","followers_url":"https://api.github.com/users/aymericbouzy/followers","following_url":"https://api.github.com/users/aymericbouzy/following{/other_user}","gists_url":"https://api.github.com/users/aymericbouzy/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbouzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbouzy/subscriptions","organizations_url":"https://api.github.com/users/aymericbouzy/orgs","repos_url":"https://api.github.com/users/aymericbouzy/repos","events_url":"https://api.github.com/users/aymericbouzy/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbouzy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aymericbouzy/balise","description":"","fork":false,"url":"https://api.github.com/repos/aymericbouzy/balise","forks_url":"https://api.github.com/repos/aymericbouzy/balise/forks","keys_url":"https://api.github.com/repos/aymericbouzy/balise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aymericbouzy/balise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aymericbouzy/balise/teams","hooks_url":"https://api.github.com/repos/aymericbouzy/balise/hooks","issue_events_url":"https://api.github.com/repos/aymericbouzy/balise/issues/events{/number}","events_url":"https://api.github.com/repos/aymericbouzy/balise/events","assignees_url":"https://api.github.com/repos/aymericbouzy/balise/assignees{/user}","branches_url":"https://api.github.com/repos/aymericbouzy/balise/branches{/branch}","tags_url":"https://api.github.com/repos/aymericbouzy/balise/tags","blobs_url":"https://api.github.com/repos/aymericbouzy/balise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aymericbouzy/balise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aymericbouzy/balise/git/refs{/sha}","trees_url":"https://api.github.com/repos/aymericbouzy/balise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aymericbouzy/balise/statuses/{sha}","languages_url":"https://api.github.com/repos/aymericbouzy/balise/languages","stargazers_url":"https://api.github.com/repos/aymericbouzy/balise/stargazers","contributors_url":"https://api.github.com/repos/aymericbouzy/balise/contributors","subscribers_url":"https://api.github.com/repos/aymericbouzy/balise/subscribers","subscription_url":"https://api.github.com/repos/aymericbouzy/balise/subscription","commits_url":"https://api.github.com/repos/aymericbouzy/balise/commits{/sha}","git_commits_url":"https://api.github.com/repos/aymericbouzy/balise/git/commits{/sha}","comments_url":"https://api.github.com/repos/aymericbouzy/balise/comments{/number}","issue_comment_url":"https://api.github.com/repos/aymericbouzy/balise/issues/comments/{number}","contents_url":"https://api.github.com/repos/aymericbouzy/balise/contents/{+path}","compare_url":"https://api.github.com/repos/aymericbouzy/balise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aymericbouzy/balise/merges","archive_url":"https://api.github.com/repos/aymericbouzy/balise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aymericbouzy/balise/downloads","issues_url":"https://api.github.com/repos/aymericbouzy/balise/issues{/number}","pulls_url":"https://api.github.com/repos/aymericbouzy/balise/pulls{/number}","milestones_url":"https://api.github.com/repos/aymericbouzy/balise/milestones{/number}","notifications_url":"https://api.github.com/repos/aymericbouzy/balise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aymericbouzy/balise/labels{/name}","releases_url":"https://api.github.com/repos/aymericbouzy/balise/releases{/id}","created_at":"2014-10-07T07:09:06Z","updated_at":"2015-01-26T13:51:03Z","pushed_at":"2015-01-26T13:56:45Z","git_url":"git://github.com/aymericbouzy/balise.git","ssh_url":"git@github.com:aymericbouzy/balise.git","clone_url":"https://github.com/aymericbouzy/balise.git","svn_url":"https://github.com/aymericbouzy/balise","homepage":null,"size":4561,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"aymericbouzy:master","ref":"master","sha":"d13e980eef9e8e24227523eb92c1463624516f5c","user":{"login":"aymericbouzy","id":8168981,"avatar_url":"https://avatars.githubusercontent.com/u/8168981?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbouzy","html_url":"https://github.com/aymericbouzy","followers_url":"https://api.github.com/users/aymericbouzy/followers","following_url":"https://api.github.com/users/aymericbouzy/following{/other_user}","gists_url":"https://api.github.com/users/aymericbouzy/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbouzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbouzy/subscriptions","organizations_url":"https://api.github.com/users/aymericbouzy/orgs","repos_url":"https://api.github.com/users/aymericbouzy/repos","events_url":"https://api.github.com/users/aymericbouzy/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbouzy/received_events","type":"User","site_admin":false},"repo":{"id":24880300,"name":"balise","full_name":"aymericbouzy/balise","owner":{"login":"aymericbouzy","id":8168981,"avatar_url":"https://avatars.githubusercontent.com/u/8168981?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbouzy","html_url":"https://github.com/aymericbouzy","followers_url":"https://api.github.com/users/aymericbouzy/followers","following_url":"https://api.github.com/users/aymericbouzy/following{/other_user}","gists_url":"https://api.github.com/users/aymericbouzy/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbouzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbouzy/subscriptions","organizations_url":"https://api.github.com/users/aymericbouzy/orgs","repos_url":"https://api.github.com/users/aymericbouzy/repos","events_url":"https://api.github.com/users/aymericbouzy/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbouzy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aymericbouzy/balise","description":"","fork":false,"url":"https://api.github.com/repos/aymericbouzy/balise","forks_url":"https://api.github.com/repos/aymericbouzy/balise/forks","keys_url":"https://api.github.com/repos/aymericbouzy/balise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aymericbouzy/balise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aymericbouzy/balise/teams","hooks_url":"https://api.github.com/repos/aymericbouzy/balise/hooks","issue_events_url":"https://api.github.com/repos/aymericbouzy/balise/issues/events{/number}","events_url":"https://api.github.com/repos/aymericbouzy/balise/events","assignees_url":"https://api.github.com/repos/aymericbouzy/balise/assignees{/user}","branches_url":"https://api.github.com/repos/aymericbouzy/balise/branches{/branch}","tags_url":"https://api.github.com/repos/aymericbouzy/balise/tags","blobs_url":"https://api.github.com/repos/aymericbouzy/balise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aymericbouzy/balise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aymericbouzy/balise/git/refs{/sha}","trees_url":"https://api.github.com/repos/aymericbouzy/balise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aymericbouzy/balise/statuses/{sha}","languages_url":"https://api.github.com/repos/aymericbouzy/balise/languages","stargazers_url":"https://api.github.com/repos/aymericbouzy/balise/stargazers","contributors_url":"https://api.github.com/repos/aymericbouzy/balise/contributors","subscribers_url":"https://api.github.com/repos/aymericbouzy/balise/subscribers","subscription_url":"https://api.github.com/repos/aymericbouzy/balise/subscription","commits_url":"https://api.github.com/repos/aymericbouzy/balise/commits{/sha}","git_commits_url":"https://api.github.com/repos/aymericbouzy/balise/git/commits{/sha}","comments_url":"https://api.github.com/repos/aymericbouzy/balise/comments{/number}","issue_comment_url":"https://api.github.com/repos/aymericbouzy/balise/issues/comments/{number}","contents_url":"https://api.github.com/repos/aymericbouzy/balise/contents/{+path}","compare_url":"https://api.github.com/repos/aymericbouzy/balise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aymericbouzy/balise/merges","archive_url":"https://api.github.com/repos/aymericbouzy/balise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aymericbouzy/balise/downloads","issues_url":"https://api.github.com/repos/aymericbouzy/balise/issues{/number}","pulls_url":"https://api.github.com/repos/aymericbouzy/balise/pulls{/number}","milestones_url":"https://api.github.com/repos/aymericbouzy/balise/milestones{/number}","notifications_url":"https://api.github.com/repos/aymericbouzy/balise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aymericbouzy/balise/labels{/name}","releases_url":"https://api.github.com/repos/aymericbouzy/balise/releases{/id}","created_at":"2014-10-07T07:09:06Z","updated_at":"2015-01-26T13:51:03Z","pushed_at":"2015-01-26T13:56:45Z","git_url":"git://github.com/aymericbouzy/balise.git","ssh_url":"git@github.com:aymericbouzy/balise.git","clone_url":"https://github.com/aymericbouzy/balise.git","svn_url":"https://github.com/aymericbouzy/balise","homepage":null,"size":4561,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aymericbouzy/balise/pulls/32"},"html":{"href":"https://github.com/aymericbouzy/balise/pull/32"},"issue":{"href":"https://api.github.com/repos/aymericbouzy/balise/issues/32"},"comments":{"href":"https://api.github.com/repos/aymericbouzy/balise/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/aymericbouzy/balise/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/aymericbouzy/balise/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/aymericbouzy/balise/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/aymericbouzy/balise/statuses/0418e2078fc1bf8777f1fb625a50be9101783522"}}}}