{"action":"created","comment":{"url":"https://api.github.com/repos/collective/collective.cover/pulls/comments/28916640","id":28916640,"diff_hunk":"@@ -5,82 +5,87 @@\n       lang=\"en\"\n       metal:use-macro=\"context/main_template/macros/master\"\n       i18n:domain=\"collective.cover\">\n-<body>\n-\n-<metal:js fill-slot=\"javascript_head_slot\">\n-  <script type=\"text/javascript\"\n-          tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n-          tal:attributes=\"src string:${navroot}/++resource++collective.cover/jss.min.js\">\n-  </script>\n-  <script type=\"text/javascript\"\n-          tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n-          tal:attributes=\"src string:${navroot}/++resource++collective.cover/layout_base.js\">\n-  </script>\n-  <script type=\"text/javascript\"\n-          tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n-          tal:attributes=\"src string:${navroot}/++resource++collective.cover/layout_edit.js\">\n-  </script>\n-\n-  <script type=\"text/javascript\">\n-    jQuery(document).ready(function() {\n-      if (typeof(plone) !== 'undefined') {\n-        jQuery(window).unload(plone.UnlockHandler.execute);\n-      }\n-    });\n-  </script>\n-\n-</metal:js>\n-\n-<metal:styles fill-slot=\"style_slot\">\n-  <link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"\"\n-        tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n-        tal:attributes=\"href string:${navroot}/++resource++collective.cover/layout_edit.css\"\n-        />\n-</metal:styles>\n-\n-<metal:main fill-slot=\"main\">\n-  <tal:block tal:define=\"can_export_layout view/can_export_layout\">\n-    <div id=\"sidebar\">\n-        <ul class=\"layout-actions\">\n-            <li>\n-                <a id=\"btn-row\" class=\"btn btn-small btn-inverse draggable\"><i class=\"icon-white\"></i><span i18n:translate=\"\">Row</span></a>\n-            </li>\n-            <li>\n-                <a id=\"btn-column\" class=\"btn btn-small btn-inverse draggable\"><i class=\"icon-white\"></i><span i18n:translate=\"\">Column</span></a>\n-            </li>\n-        </ul>\n-        <div tal:replace=\"structure context/@@tile_list\"></div>\n-    </div>\n-    <div class=\"layout\" tal:attributes=\"data-layoutmanager-settings view/layoutmanager_settings\">\n-        <div tal:define=\"layout nocall:context/@@layout\"\n-             tal:replace=\"structure layout/render_layout_edit\" />\n-        <!--div class=\"content-contentchooser\" tal:replace=\"structure context/@@select-content-contentchooser\"></div-->\n-    </div>\n-    <div id=\"group-select-list\" class=\"modal hide\" tal:replace=\"structure context/@@group_select\"></div>\n-    <div id=\"tile-configure\" class=\"modal hide\"></div>\n-    <div id=\"export-layout\" class=\"modal hide\" tal:condition=\"can_export_layout\">\n-      <h1 class=\"documentFirstHeading\">Export Layout</h1>\n-      <p class=\"discreen\">Save a copy of this layout under a new name</p>\n-      <form action=\".\" tal:attributes=\"action request/URL\" method=\"post\"\n-          enctype=\"multipart/form-data\">\n-\n-        <div class=\"modal-fields\">\n-          <label for=\"layout-name\" i18n:translate=\"\">Layout name</label>\n-          <input type=\"text\" name=\"layout-name\" value=\"\" />\n-        </div>\n-\n-      <div class=\"formControls\">\n-        <input type=\"submit\" value=\"Save\" name=\"export-layout\" i18n:attributes=\"value\" />\n-        <input type=\"button\" value=\"Cancel\" id=\"btn-cancel-export-layout\" />\n-      </div>\n-      </form>\n-    </div>\n-    <div class=\"navbar\">\n-      <a id=\"btn-export\" class=\"btn btn-inverse\" tal:condition=\"can_export_layout\"><span i18n:translate=\"\">Export layout</span></a>\n-      <a id=\"btn-save\" class=\"btn btn-success saved\"><span i18n:translate=\"\">Saved</span></a>\n-    </div>\n-  </tal:block>\n-</metal:main>\n-\n-</body>\n+    <body>\n+        <metal:js fill-slot=\"javascript_head_slot\">\n+            <script type=\"text/javascript\"\n+                    tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n+                    tal:attributes=\"src string:${navroot}/++resource++collective.cover/jss.min.js\">\n+            </script>\n+            <script type=\"text/javascript\"\n+                    tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n+                    tal:attributes=\"src string:${navroot}/++resource++collective.cover/layout_base.js\">\n+            </script>\n+            <script type=\"text/javascript\"\n+                    tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n+                    tal:attributes=\"src string:${navroot}/++resource++collective.cover/layout_edit.js\">\n+            </script>\n+            <script type=\"text/javascript\">\n+            jQuery(document).ready(function() {\n+                if (typeof(plone) !== 'undefined') {\n+                    jQuery(window).unload(plone.UnlockHandler.execute);\n+                }\n+            });\n+            </script>\n+        </metal:js>\n+        <metal:styles fill-slot=\"style_slot\">\n+            <link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"\"\n+                  tal:define=\"navroot context/@@plone_portal_state/navigation_root_url\"\n+                  tal:attributes=\"href string:${navroot}/++resource++collective.cover/layout_edit.css\" />\n+        </metal:styles>\n+        <metal:main fill-slot=\"main\">\n+            <tal:block tal:define=\"can_export_layout view/can_export_layout\">\n+                <div id=\"sidebar\">\n+                    <ul class=\"layout-actions\">\n+                        <li>\n+                            <a id=\"btn-row\" class=\"btn btn-small btn-inverse draggable\"><i class=\"icon-white\"></i><span i18n:translate=\"\">Row</span></a>\n+                        </li>\n+                        <li>\n+                            <a id=\"btn-column\" class=\"btn btn-small btn-inverse draggable\"><i class=\"icon-white\"></i><span i18n:translate=\"\">Column</span></a>\n+                        </li>\n+                    </ul>\n+                    <div tal:replace=\"structure context/@@tile_list\"></div>\n+                </div>\n+                <div class=\"layout\" tal:attributes=\"data-layoutmanager-settings view/layoutmanager_settings\">\n+                    <div tal:define=\"layout nocall:context/@@layout\"\n+                         tal:replace=\"structure layout/render_layout_edit\" />\n+                    <div id=\"resizer\" title=\"Resize Column\">","path":"src/collective/cover/browser/templates/layoutedit.pt","position":125,"original_position":125,"commit_id":"1c3c5c262caacb6ae81fd3e94ce1c71266e409bc","original_commit_id":"1c3c5c262caacb6ae81fd3e94ce1c71266e409bc","user":{"login":"rodfersou","id":131209,"avatar_url":"https://avatars.githubusercontent.com/u/131209?v=3","gravatar_id":"","url":"https://api.github.com/users/rodfersou","html_url":"https://github.com/rodfersou","followers_url":"https://api.github.com/users/rodfersou/followers","following_url":"https://api.github.com/users/rodfersou/following{/other_user}","gists_url":"https://api.github.com/users/rodfersou/gists{/gist_id}","starred_url":"https://api.github.com/users/rodfersou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodfersou/subscriptions","organizations_url":"https://api.github.com/users/rodfersou/orgs","repos_url":"https://api.github.com/users/rodfersou/repos","events_url":"https://api.github.com/users/rodfersou/events{/privacy}","received_events_url":"https://api.github.com/users/rodfersou/received_events","type":"User","site_admin":false},"body":"Moved resizer div from JS to this template (as it must have one copy of it in the entire template)","created_at":"2015-04-22T21:27:34Z","updated_at":"2015-04-22T21:27:34Z","html_url":"https://github.com/collective/collective.cover/pull/513#discussion_r28916640","pull_request_url":"https://api.github.com/repos/collective/collective.cover/pulls/513","_links":{"self":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/comments/28916640"},"html":{"href":"https://github.com/collective/collective.cover/pull/513#discussion_r28916640"},"pull_request":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/513"}}},"pull_request":{"url":"https://api.github.com/repos/collective/collective.cover/pulls/513","id":33765117,"html_url":"https://github.com/collective/collective.cover/pull/513","diff_url":"https://github.com/collective/collective.cover/pull/513.diff","patch_url":"https://github.com/collective/collective.cover/pull/513.patch","issue_url":"https://api.github.com/repos/collective/collective.cover/issues/513","number":513,"state":"open","locked":false,"title":"Issue 284 - Add custom classes for row and columns","user":{"login":"rodfersou","id":131209,"avatar_url":"https://avatars.githubusercontent.com/u/131209?v=3","gravatar_id":"","url":"https://api.github.com/users/rodfersou","html_url":"https://github.com/rodfersou","followers_url":"https://api.github.com/users/rodfersou/followers","following_url":"https://api.github.com/users/rodfersou/following{/other_user}","gists_url":"https://api.github.com/users/rodfersou/gists{/gist_id}","starred_url":"https://api.github.com/users/rodfersou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodfersou/subscriptions","organizations_url":"https://api.github.com/users/rodfersou/orgs","repos_url":"https://api.github.com/users/rodfersou/repos","events_url":"https://api.github.com/users/rodfersou/events{/privacy}","received_events_url":"https://api.github.com/users/rodfersou/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T14:13:25Z","updated_at":"2015-04-22T21:27:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a40c9867eb03876c8f1b458ba143d328da65352","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collective/collective.cover/pulls/513/commits","review_comments_url":"https://api.github.com/repos/collective/collective.cover/pulls/513/comments","review_comment_url":"https://api.github.com/repos/collective/collective.cover/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collective/collective.cover/issues/513/comments","statuses_url":"https://api.github.com/repos/collective/collective.cover/statuses/1c3c5c262caacb6ae81fd3e94ce1c71266e409bc","head":{"label":"collective:issue_284_b","ref":"issue_284_b","sha":"1c3c5c262caacb6ae81fd3e94ce1c71266e409bc","user":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"repo":{"id":2592312,"name":"collective.cover","full_name":"collective/collective.cover","owner":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collective/collective.cover","description":"A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.","fork":false,"url":"https://api.github.com/repos/collective/collective.cover","forks_url":"https://api.github.com/repos/collective/collective.cover/forks","keys_url":"https://api.github.com/repos/collective/collective.cover/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collective/collective.cover/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collective/collective.cover/teams","hooks_url":"https://api.github.com/repos/collective/collective.cover/hooks","issue_events_url":"https://api.github.com/repos/collective/collective.cover/issues/events{/number}","events_url":"https://api.github.com/repos/collective/collective.cover/events","assignees_url":"https://api.github.com/repos/collective/collective.cover/assignees{/user}","branches_url":"https://api.github.com/repos/collective/collective.cover/branches{/branch}","tags_url":"https://api.github.com/repos/collective/collective.cover/tags","blobs_url":"https://api.github.com/repos/collective/collective.cover/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collective/collective.cover/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collective/collective.cover/git/refs{/sha}","trees_url":"https://api.github.com/repos/collective/collective.cover/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collective/collective.cover/statuses/{sha}","languages_url":"https://api.github.com/repos/collective/collective.cover/languages","stargazers_url":"https://api.github.com/repos/collective/collective.cover/stargazers","contributors_url":"https://api.github.com/repos/collective/collective.cover/contributors","subscribers_url":"https://api.github.com/repos/collective/collective.cover/subscribers","subscription_url":"https://api.github.com/repos/collective/collective.cover/subscription","commits_url":"https://api.github.com/repos/collective/collective.cover/commits{/sha}","git_commits_url":"https://api.github.com/repos/collective/collective.cover/git/commits{/sha}","comments_url":"https://api.github.com/repos/collective/collective.cover/comments{/number}","issue_comment_url":"https://api.github.com/repos/collective/collective.cover/issues/comments{/number}","contents_url":"https://api.github.com/repos/collective/collective.cover/contents/{+path}","compare_url":"https://api.github.com/repos/collective/collective.cover/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collective/collective.cover/merges","archive_url":"https://api.github.com/repos/collective/collective.cover/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collective/collective.cover/downloads","issues_url":"https://api.github.com/repos/collective/collective.cover/issues{/number}","pulls_url":"https://api.github.com/repos/collective/collective.cover/pulls{/number}","milestones_url":"https://api.github.com/repos/collective/collective.cover/milestones{/number}","notifications_url":"https://api.github.com/repos/collective/collective.cover/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collective/collective.cover/labels{/name}","releases_url":"https://api.github.com/repos/collective/collective.cover/releases{/id}","created_at":"2011-10-17T14:30:08Z","updated_at":"2015-04-22T02:18:30Z","pushed_at":"2015-04-22T21:24:23Z","git_url":"git://github.com/collective/collective.cover.git","ssh_url":"git@github.com:collective/collective.cover.git","clone_url":"https://github.com/collective/collective.cover.git","svn_url":"https://github.com/collective/collective.cover","homepage":"","size":11189,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":68,"forks":47,"open_issues":68,"watchers":32,"default_branch":"master"}},"base":{"label":"collective:master","ref":"master","sha":"6c4bcaa33e66ada2a679f8dc13b422202493fb1f","user":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"repo":{"id":2592312,"name":"collective.cover","full_name":"collective/collective.cover","owner":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collective/collective.cover","description":"A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.","fork":false,"url":"https://api.github.com/repos/collective/collective.cover","forks_url":"https://api.github.com/repos/collective/collective.cover/forks","keys_url":"https://api.github.com/repos/collective/collective.cover/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collective/collective.cover/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collective/collective.cover/teams","hooks_url":"https://api.github.com/repos/collective/collective.cover/hooks","issue_events_url":"https://api.github.com/repos/collective/collective.cover/issues/events{/number}","events_url":"https://api.github.com/repos/collective/collective.cover/events","assignees_url":"https://api.github.com/repos/collective/collective.cover/assignees{/user}","branches_url":"https://api.github.com/repos/collective/collective.cover/branches{/branch}","tags_url":"https://api.github.com/repos/collective/collective.cover/tags","blobs_url":"https://api.github.com/repos/collective/collective.cover/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collective/collective.cover/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collective/collective.cover/git/refs{/sha}","trees_url":"https://api.github.com/repos/collective/collective.cover/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collective/collective.cover/statuses/{sha}","languages_url":"https://api.github.com/repos/collective/collective.cover/languages","stargazers_url":"https://api.github.com/repos/collective/collective.cover/stargazers","contributors_url":"https://api.github.com/repos/collective/collective.cover/contributors","subscribers_url":"https://api.github.com/repos/collective/collective.cover/subscribers","subscription_url":"https://api.github.com/repos/collective/collective.cover/subscription","commits_url":"https://api.github.com/repos/collective/collective.cover/commits{/sha}","git_commits_url":"https://api.github.com/repos/collective/collective.cover/git/commits{/sha}","comments_url":"https://api.github.com/repos/collective/collective.cover/comments{/number}","issue_comment_url":"https://api.github.com/repos/collective/collective.cover/issues/comments{/number}","contents_url":"https://api.github.com/repos/collective/collective.cover/contents/{+path}","compare_url":"https://api.github.com/repos/collective/collective.cover/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collective/collective.cover/merges","archive_url":"https://api.github.com/repos/collective/collective.cover/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collective/collective.cover/downloads","issues_url":"https://api.github.com/repos/collective/collective.cover/issues{/number}","pulls_url":"https://api.github.com/repos/collective/collective.cover/pulls{/number}","milestones_url":"https://api.github.com/repos/collective/collective.cover/milestones{/number}","notifications_url":"https://api.github.com/repos/collective/collective.cover/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collective/collective.cover/labels{/name}","releases_url":"https://api.github.com/repos/collective/collective.cover/releases{/id}","created_at":"2011-10-17T14:30:08Z","updated_at":"2015-04-22T02:18:30Z","pushed_at":"2015-04-22T21:24:23Z","git_url":"git://github.com/collective/collective.cover.git","ssh_url":"git@github.com:collective/collective.cover.git","clone_url":"https://github.com/collective/collective.cover.git","svn_url":"https://github.com/collective/collective.cover","homepage":"","size":11189,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":68,"forks":47,"open_issues":68,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/513"},"html":{"href":"https://github.com/collective/collective.cover/pull/513"},"issue":{"href":"https://api.github.com/repos/collective/collective.cover/issues/513"},"comments":{"href":"https://api.github.com/repos/collective/collective.cover/issues/513/comments"},"review_comments":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/513/comments"},"review_comment":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/513/commits"},"statuses":{"href":"https://api.github.com/repos/collective/collective.cover/statuses/1c3c5c262caacb6ae81fd3e94ce1c71266e409bc"}}}}