GitHub PullRequestReviewCommentEvent at 2014-03-12 18:26:29
Repository: galaxy
Actor: cvan
Payload: {"comment":{"url":"https://api.github.com/repos/cvan/galaxy/pulls/comments/10532680","id":10532680,"diff_hunk":"@@ -1,33 +1,97 @@\n <div class=\"unit span-grid\">\n   <div class=\"content\">\n+    <div class=\"settings-body\">\n     {% if user.logged_in() %}\n     {% set user_settings = user.get_settings('public') %}\n-    <div class=\"avatar-container\">\n       <div class=\"avatar\" style=\"background-image: url({{ user_settings.avatar|safeurl }})\"></div>\n-      <div class=\"edit-avatar\"><a href=\"http://en.gravatar.com/emails/\" target=\"_blank\">{{ _('Edit Avatar') if user_settings.avatar else _('Add Avatar') }}</a></div>\n-    </div>\n-    <section>\n-      <h1>{{ _('Profile') }}</h1>\n+      <div class=\"settings-header\">\n+        <h1>{{ _('User settings') }}</h1>\n+      </div>\n+      <div class=\"edit-avatar\">\n+        <a class=\"btn btn-edit-avatar\" href=\"http://en.gravatar.com/emails/\" target=\"_blank\">{{ _('Edit Avatar') if user_settings.avatar else _('Add Avatar') }}</a>\n+      </div>\n       <form class=\"edit-profile\">\n-        <table>\n-          <tr>\n-            <td class=\"label-col\"><label for=\"username\">{{ _('Username:') }}</label></td>\n-            <td>\n-              <input type=\"text\" name=\"username\" id=\"username\" placeholder=\"{{ _('Username') }}\" value=\"{{ user_settings.username }}\" required x-inputmode=\"verbatim\">\n-            </td>\n-          </tr>\n-          <tr>\n-            <td class=\"label-col\"><label for=\"email\">{{ _('Email:') }}</label></td>\n-            <td>\n-              <input type=\"email\" name=\"email\" id=\"email\" placeholder=\"{{ _('Email address') }}\" value=\"{{ user_settings.email }}\" required readonly x-inputmode=\"verbatim\">\n-            </td>\n-          </tr>\n-        </table>\n-        <button type=\"submit\" class=\"btn btn-cta btn-submit\">{{ _('Save') }}</button>\n+        <div class=\"content\">\n+          <div class=\"grid\">\n+            <div class=\"grid-cell grid-flex-grow-two\">","path":"src/templates/settings.html","position":34,"original_position":36,"commit_id":"6a7f08379feb831e9630029449abf987a75ecdb3","original_commit_id":"516e4bfadb3fbf7cac2848e475e502577eed200f","user":{"login":"cvan","id":203725,"avatar_url":"https://gravatar.com/avatar/47de0e6948b289c9b4b4be0d6d66c0f4?d=https%3A%2F%2Fidenticons.github.com%2Fe8d88d4bdf0c8bb9968e62c64a9d8df1.png&r=x","gravatar_id":"47de0e6948b289c9b4b4be0d6d66c0f4","url":"https://api.github.com/users/cvan","html_url":"https://github.com/cvan","followers_url":"https://api.github.com/users/cvan/followers","following_url":"https://api.github.com/users/cvan/following{/other_user}","gists_url":"https://api.github.com/users/cvan/gists{/gist_id}","starred_url":"https://api.github.com/users/cvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvan/subscriptions","organizations_url":"https://api.github.com/users/cvan/orgs","repos_url":"https://api.github.com/users/cvan/repos","events_url":"https://api.github.com/users/cvan/events{/privacy}","received_events_url":"https://api.github.com/users/cvan/received_events","type":"User","site_admin":false},"body":"I don't see where those are defined. can you show me?","created_at":"2014-03-12T18:26:29Z","updated_at":"2014-03-12T18:26:29Z","html_url":"https://github.com/cvan/galaxy/pull/114#discussion_r10532680","pull_request_url":"https://api.github.com/repos/cvan/galaxy/pulls/114","_links":{"self":{"href":"https://api.github.com/repos/cvan/galaxy/pulls/comments/10532680"},"html":{"href":"https://github.com/cvan/galaxy/pull/114#discussion_r10532680"},"pull_request":{"href":"https://api.github.com/repos/cvan/galaxy/pulls/114"}}}}