GitHub PullRequestReviewCommentEvent at 2014-01-10 21:48:38
Repository: openbadges-badgekit
Actor: christensenep
Payload: {"comment":{"url":"https://api.github.com/repos/mozilla/openbadges-badgekit/pulls/comments/8803922","id":8803922,"diff_hunk":"@@ -0,0 +1,27 @@\n+{% extends \"badge/layout.html\" %}\n+\n+{% macro disabled() %}\n+  {{ 'disabled' if badge.status != \"draft\" and badge.status != \"template\" }}\n+{% endmacro %}\n+\n+{% block content %}\n+  <h1>Edit Badge</h1>\n+  <div class=\"badgedetails\">\n+    <form class=\"badgeform\" name=\"input\" action=\"{{ url('badge.save', { badgeId: badge.id }) }}\" method=\"post\">\n+      <input type=\"hidden\" name=\"_csrf\" value=\"{{ csrfToken }}\"></input>\n+      <input type=\"hidden\" name=\"badgeId\" value=\"{{ badge.id }}\"></input>\n+      <dl>\n+        <dt>Name:</dt>\n+        <dd><input type=\"text\" name=\"name\" {{ disabled() }} value=\"{{ badge.name }}\"/></dd>\n+        <img class=\"badgeimage\" src=\"{{ badge.image if badge.image else url('badge.image', { badgeId: badge.id }) }}\"/>","path":"app/templates/badge/home.html","position":16,"original_position":16,"commit_id":"10c5581695a3519437f0890d0760f40d4eaf5272","original_commit_id":"10c5581695a3519437f0890d0760f40d4eaf5272","user":{"login":"christensenep","id":580274,"avatar_url":"https://gravatar.com/avatar/f4ffb81cf41599b027ccd8114544f892?d=https%3A%2F%2Fidenticons.github.com%2Fc5279d212bb2d90a6a6e13fc5c705ad1.png&r=x","gravatar_id":"f4ffb81cf41599b027ccd8114544f892","url":"https://api.github.com/users/christensenep","html_url":"https://github.com/christensenep","followers_url":"https://api.github.com/users/christensenep/followers","following_url":"https://api.github.com/users/christensenep/following{/other_user}","gists_url":"https://api.github.com/users/christensenep/gists{/gist_id}","starred_url":"https://api.github.com/users/christensenep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christensenep/subscriptions","organizations_url":"https://api.github.com/users/christensenep/orgs","repos_url":"https://api.github.com/users/christensenep/repos","events_url":"https://api.github.com/users/christensenep/events{/privacy}","received_events_url":"https://api.github.com/users/christensenep/received_events","type":"User","site_admin":false},"body":"It totally works.","created_at":"2014-01-10T21:48:38Z","updated_at":"2014-01-10T21:48:38Z","html_url":"https://github.com/mozilla/openbadges-badgekit/pull/61#discussion_r8803922","pull_request_url":"https://api.github.com/repos/mozilla/openbadges-badgekit/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/mozilla/openbadges-badgekit/pulls/comments/8803922"},"html":{"href":"https://github.com/mozilla/openbadges-badgekit/pull/61#discussion_r8803922"},"pull_request":{"href":"https://api.github.com/repos/mozilla/openbadges-badgekit/pulls/61"}}}}