{"action":"created","comment":{"url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/comments/26591437","id":26591437,"diff_hunk":"@@ -171,42 +172,38 @@\n     if (!variable_get('dataset_detailed_var_stats') && $variable_dto->variableType == 'Dataschema') : ?>\n       <p><?php print t('Cumulative summary of all studies:') ?></p>\n     <?php endif; ?>\n-    <?php if ($variable_dto->variableType == 'Dataschema' && variable_get('dataset_detailed_var_stats')): ?>\n-      <div class=\"scroll-content-tab\">\n-        <div class=\"table-statistic-var\">\n-          <div id=\"param-statistics\" var-id=\"<?php print $variable_dto->id; ?>\"\n-            <?php if (!variable_get('dataset_detailed_var_stats')) : ?> class=\"statistic-tab\"<?php endif; ?> >\n-            <div id=\"toempty\">\n-              <img\n-                src=\"<?php print base_path() . drupal_get_path('theme', obiba_mica_commons_get_current_theme()) ?>/img/spin.gif\">\n+    <div class=\"scroll-content-tab\">\n+      <div class=\"table-statistic-var\">\n+        <div class=\"row\">\n+          <div\n+            class=\"col-md-<?php print (!variable_get('dataset_detailed_var_stats') && $variable_dto->variableType == 'Dataschema') ? $column_for_detail_statistics : 12; ?> col-sm-12\">\n+            <div id=\"param-statistics\" var-id=\"<?php print $variable_dto->id; ?>\"\n+              <?php if (!variable_get('dataset_detailed_var_stats') && $variable_dto->variableType == 'Dataschema') : ?> class=\"statistic-tab\"<?php endif; ?> >\n+              <div id=\"toempty\">\n+                <img\n+                  src=\"<?php print base_path() . drupal_get_path('theme', obiba_mica_commons_get_current_theme()) ?>/img/spin.gif\">\n+              </div>\n             </div>\n           </div>\n-        </div>\n-      </div>\n-      <div id=\"param-statistics-chart\" var-id=\"<?php print $variable_dto->id; ?>\">\n-        <div id=\"toemptychart\">\n-        </div>\n-      </div>\n-    <?php else: ?>\n-      <div class=\"row\">\n-        <div\n-          class=\"col-md-6 col-sm-12\">\n-          <div id=\"param-statistics\" var-id=\"<?php print $variable_dto->id; ?>\"\n-            <?php if (!variable_get('dataset_detailed_var_stats')) : ?> class=\"statistic-tab\"<?php endif; ?> >\n-            <div id=\"toempty\">\n-              <img\n-                src=\"<?php print base_path() . drupal_get_path('theme', obiba_mica_commons_get_current_theme()) ?>/img/spin.gif\">\n-            </div>\n+          <div class=\"col-md-6 col-sm-12\">\n+            <?php if (!variable_get_value('dataset_detailed_var_stats') && $variable_dto->variableType == 'Dataschema'): ?>\n+              <div id=\"param-statistics-chart\" var-id=\"<?php print $variable_dto->id; ?>\">\n+                <div id=\"toemptychart\">\n+                </div>\n+              </div>\n+            <?php endif; ?>\n           </div>\n         </div>\n-        <div class=\"col-md-6 col-sm-12\">\n-          <div id=\"param-statistics-chart\" var-id=\"<?php print $variable_dto->id; ?>\">\n-            <div id=\"toemptychart\">\n-            </div>\n+      </div>\n+\n+\n+      <?php if (variable_get_value('dataset_detailed_var_stats')): ?>\n+        <div id=\"param-statistics-chart\" var-id=\"<?php print $variable_dto->id; ?>\">\n+          <div id=\"toemptychart\">\n           </div>\n         </div>\n-      </div>\n-    <?php endif; ?>\n+      <?php endif; ?>\n+    </div>\n   </section>","path":"drupal/modules/obiba_mica/obiba_mica_dataset/templates/obiba_mica_variable-detail.tpl.php","position":116,"original_position":116,"commit_id":"9065c4df0209945b09fe653fa626b7d6817c6c29","original_commit_id":"9065c4df0209945b09fe653fa626b7d6817c6c29","user":{"login":"ymarcon","id":2581149,"avatar_url":"https://avatars.githubusercontent.com/u/2581149?v=3","gravatar_id":"","url":"https://api.github.com/users/ymarcon","html_url":"https://github.com/ymarcon","followers_url":"https://api.github.com/users/ymarcon/followers","following_url":"https://api.github.com/users/ymarcon/following{/other_user}","gists_url":"https://api.github.com/users/ymarcon/gists{/gist_id}","starred_url":"https://api.github.com/users/ymarcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymarcon/subscriptions","organizations_url":"https://api.github.com/users/ymarcon/orgs","repos_url":"https://api.github.com/users/ymarcon/repos","events_url":"https://api.github.com/users/ymarcon/events{/privacy}","received_events_url":"https://api.github.com/users/ymarcon/received_events","type":"User","site_admin":false},"body":"Regression: revert all the above changes in this section.","created_at":"2015-03-17T16:53:04Z","updated_at":"2015-03-17T16:53:04Z","html_url":"https://github.com/obiba/mica-drupal7-client/pull/529#discussion_r26591437","pull_request_url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529","_links":{"self":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/comments/26591437"},"html":{"href":"https://github.com/obiba/mica-drupal7-client/pull/529#discussion_r26591437"},"pull_request":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529"}}},"pull_request":{"url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529","id":31354017,"html_url":"https://github.com/obiba/mica-drupal7-client/pull/529","diff_url":"https://github.com/obiba/mica-drupal7-client/pull/529.diff","patch_url":"https://github.com/obiba/mica-drupal7-client/pull/529.patch","issue_url":"https://api.github.com/repos/obiba/mica-drupal7-client/issues/529","number":529,"state":"open","locked":false,"title":"CPAC-42","user":{"login":"smirfolio","id":1859345,"avatar_url":"https://avatars.githubusercontent.com/u/1859345?v=3","gravatar_id":"","url":"https://api.github.com/users/smirfolio","html_url":"https://github.com/smirfolio","followers_url":"https://api.github.com/users/smirfolio/followers","following_url":"https://api.github.com/users/smirfolio/following{/other_user}","gists_url":"https://api.github.com/users/smirfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/smirfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smirfolio/subscriptions","organizations_url":"https://api.github.com/users/smirfolio/orgs","repos_url":"https://api.github.com/users/smirfolio/repos","events_url":"https://api.github.com/users/smirfolio/events{/privacy}","received_events_url":"https://api.github.com/users/smirfolio/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-17T16:47:59Z","updated_at":"2015-03-17T16:53:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e3c108025a0b494f088a2e1a7635a057cba0e8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529/commits","review_comments_url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529/comments","review_comment_url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/obiba/mica-drupal7-client/issues/529/comments","statuses_url":"https://api.github.com/repos/obiba/mica-drupal7-client/statuses/9065c4df0209945b09fe653fa626b7d6817c6c29","head":{"label":"smirfolio:master","ref":"master","sha":"9065c4df0209945b09fe653fa626b7d6817c6c29","user":{"login":"smirfolio","id":1859345,"avatar_url":"https://avatars.githubusercontent.com/u/1859345?v=3","gravatar_id":"","url":"https://api.github.com/users/smirfolio","html_url":"https://github.com/smirfolio","followers_url":"https://api.github.com/users/smirfolio/followers","following_url":"https://api.github.com/users/smirfolio/following{/other_user}","gists_url":"https://api.github.com/users/smirfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/smirfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smirfolio/subscriptions","organizations_url":"https://api.github.com/users/smirfolio/orgs","repos_url":"https://api.github.com/users/smirfolio/repos","events_url":"https://api.github.com/users/smirfolio/events{/privacy}","received_events_url":"https://api.github.com/users/smirfolio/received_events","type":"User","site_admin":false},"repo":{"id":18803148,"name":"mica-drupal7-client","full_name":"smirfolio/mica-drupal7-client","owner":{"login":"smirfolio","id":1859345,"avatar_url":"https://avatars.githubusercontent.com/u/1859345?v=3","gravatar_id":"","url":"https://api.github.com/users/smirfolio","html_url":"https://github.com/smirfolio","followers_url":"https://api.github.com/users/smirfolio/followers","following_url":"https://api.github.com/users/smirfolio/following{/other_user}","gists_url":"https://api.github.com/users/smirfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/smirfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smirfolio/subscriptions","organizations_url":"https://api.github.com/users/smirfolio/orgs","repos_url":"https://api.github.com/users/smirfolio/repos","events_url":"https://api.github.com/users/smirfolio/events{/privacy}","received_events_url":"https://api.github.com/users/smirfolio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smirfolio/mica-drupal7-client","description":"Mica Drupal client for Mica Server","fork":true,"url":"https://api.github.com/repos/smirfolio/mica-drupal7-client","forks_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/forks","keys_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/teams","hooks_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/hooks","issue_events_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/issues/events{/number}","events_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/events","assignees_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/assignees{/user}","branches_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/branches{/branch}","tags_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/tags","blobs_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/statuses/{sha}","languages_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/languages","stargazers_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/stargazers","contributors_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/contributors","subscribers_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/subscribers","subscription_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/subscription","commits_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/contents/{+path}","compare_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/merges","archive_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/downloads","issues_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/issues{/number}","pulls_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/pulls{/number}","milestones_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/milestones{/number}","notifications_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/labels{/name}","releases_url":"https://api.github.com/repos/smirfolio/mica-drupal7-client/releases{/id}","created_at":"2014-04-15T14:31:40Z","updated_at":"2015-03-17T16:46:34Z","pushed_at":"2015-03-17T16:46:33Z","git_url":"git://github.com/smirfolio/mica-drupal7-client.git","ssh_url":"git@github.com:smirfolio/mica-drupal7-client.git","clone_url":"https://github.com/smirfolio/mica-drupal7-client.git","svn_url":"https://github.com/smirfolio/mica-drupal7-client","homepage":"","size":36839,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"obiba:master","ref":"master","sha":"b0120eccdb892cf60d32545cf95cf6b4622810ad","user":{"login":"obiba","id":2547522,"avatar_url":"https://avatars.githubusercontent.com/u/2547522?v=3","gravatar_id":"","url":"https://api.github.com/users/obiba","html_url":"https://github.com/obiba","followers_url":"https://api.github.com/users/obiba/followers","following_url":"https://api.github.com/users/obiba/following{/other_user}","gists_url":"https://api.github.com/users/obiba/gists{/gist_id}","starred_url":"https://api.github.com/users/obiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obiba/subscriptions","organizations_url":"https://api.github.com/users/obiba/orgs","repos_url":"https://api.github.com/users/obiba/repos","events_url":"https://api.github.com/users/obiba/events{/privacy}","received_events_url":"https://api.github.com/users/obiba/received_events","type":"Organization","site_admin":false},"repo":{"id":18802989,"name":"mica-drupal7-client","full_name":"obiba/mica-drupal7-client","owner":{"login":"obiba","id":2547522,"avatar_url":"https://avatars.githubusercontent.com/u/2547522?v=3","gravatar_id":"","url":"https://api.github.com/users/obiba","html_url":"https://github.com/obiba","followers_url":"https://api.github.com/users/obiba/followers","following_url":"https://api.github.com/users/obiba/following{/other_user}","gists_url":"https://api.github.com/users/obiba/gists{/gist_id}","starred_url":"https://api.github.com/users/obiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obiba/subscriptions","organizations_url":"https://api.github.com/users/obiba/orgs","repos_url":"https://api.github.com/users/obiba/repos","events_url":"https://api.github.com/users/obiba/events{/privacy}","received_events_url":"https://api.github.com/users/obiba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/obiba/mica-drupal7-client","description":"Mica Drupal 7 client for Mica Server","fork":false,"url":"https://api.github.com/repos/obiba/mica-drupal7-client","forks_url":"https://api.github.com/repos/obiba/mica-drupal7-client/forks","keys_url":"https://api.github.com/repos/obiba/mica-drupal7-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obiba/mica-drupal7-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obiba/mica-drupal7-client/teams","hooks_url":"https://api.github.com/repos/obiba/mica-drupal7-client/hooks","issue_events_url":"https://api.github.com/repos/obiba/mica-drupal7-client/issues/events{/number}","events_url":"https://api.github.com/repos/obiba/mica-drupal7-client/events","assignees_url":"https://api.github.com/repos/obiba/mica-drupal7-client/assignees{/user}","branches_url":"https://api.github.com/repos/obiba/mica-drupal7-client/branches{/branch}","tags_url":"https://api.github.com/repos/obiba/mica-drupal7-client/tags","blobs_url":"https://api.github.com/repos/obiba/mica-drupal7-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obiba/mica-drupal7-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obiba/mica-drupal7-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/obiba/mica-drupal7-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obiba/mica-drupal7-client/statuses/{sha}","languages_url":"https://api.github.com/repos/obiba/mica-drupal7-client/languages","stargazers_url":"https://api.github.com/repos/obiba/mica-drupal7-client/stargazers","contributors_url":"https://api.github.com/repos/obiba/mica-drupal7-client/contributors","subscribers_url":"https://api.github.com/repos/obiba/mica-drupal7-client/subscribers","subscription_url":"https://api.github.com/repos/obiba/mica-drupal7-client/subscription","commits_url":"https://api.github.com/repos/obiba/mica-drupal7-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/obiba/mica-drupal7-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/obiba/mica-drupal7-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/obiba/mica-drupal7-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/obiba/mica-drupal7-client/contents/{+path}","compare_url":"https://api.github.com/repos/obiba/mica-drupal7-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obiba/mica-drupal7-client/merges","archive_url":"https://api.github.com/repos/obiba/mica-drupal7-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obiba/mica-drupal7-client/downloads","issues_url":"https://api.github.com/repos/obiba/mica-drupal7-client/issues{/number}","pulls_url":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls{/number}","milestones_url":"https://api.github.com/repos/obiba/mica-drupal7-client/milestones{/number}","notifications_url":"https://api.github.com/repos/obiba/mica-drupal7-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obiba/mica-drupal7-client/labels{/name}","releases_url":"https://api.github.com/repos/obiba/mica-drupal7-client/releases{/id}","created_at":"2014-04-15T14:26:20Z","updated_at":"2015-03-17T15:24:32Z","pushed_at":"2015-03-17T15:24:33Z","git_url":"git://github.com/obiba/mica-drupal7-client.git","ssh_url":"git@github.com:obiba/mica-drupal7-client.git","clone_url":"https://github.com/obiba/mica-drupal7-client.git","svn_url":"https://github.com/obiba/mica-drupal7-client","homepage":"","size":39183,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529"},"html":{"href":"https://github.com/obiba/mica-drupal7-client/pull/529"},"issue":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/issues/529"},"comments":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/obiba/mica-drupal7-client/statuses/9065c4df0209945b09fe653fa626b7d6817c6c29"}}}}