{"action":"created","comment":{"url":"https://api.github.com/repos/hughsie/lvfs-website/pulls/comments/167924939","pull_request_review_id":96211946,"id":167924939,"diff_hunk":"@@ -0,0 +1,58 @@\n+{% extends \"default.html\" %}\n+{% block title %}Issue Details{% endblock %}\n+\n+{% block content %}\n+<div class=\"container mt-3\">\n+\n+<nav>\n+  <ul class=\"nav nav-tabs\">\n+    <li class=\"nav-item\">\n+      <a class=\"nav-link active\" href=\"/lvfs/issue/{{issue.issue_id}}/details\">Details</a>\n+    </li>\n+    <li class=\"nav-item\">\n+      <a class=\"nav-link\" href=\"/lvfs/issue/{{issue.issue_id}}/conditions\">Conditions</a>\n+    </li>\n+<!--\n+    <li class=\"nav-item\">\n+      <a class=\"nav-link\" href=\"/lvfs/issue/{{issue.issue_id}}/reports\">Matching Reports</a>\n+    </li>\n+-->\n+  </ul>\n+</nav>\n+\n+<div class=\"container mt-3\">\n+<h2>Issue Details</h2>\n+<form method=\"post\" action=\"/lvfs/issue/{{issue.issue_id}}/modify\">\n+  <div class=\"form-group\">\n+    <label for=\"group_id\">URL:</label>\n+    <input type=\"text\" class=\"form-control\" name=\"url\" value=\"{{issue.url}}\" required {{'disabled' if not g.user.check_for_issue(issue)}}>\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"group_id\">Group:</label>\n+    <input type=\"text\" class=\"form-control\" name=\"group_id\" value=\"{{issue.group_id}}\" required {{'disabled' if not g.user.check_for_issue(issue)}}>\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"group_id\">Name:</label>\n+    <input type=\"text\" class=\"form-control\" name=\"name\" value=\"{{issue.name}}\" required {{'disabled' if not g.user.check_for_issue(issue)}}>\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"display_name\">Description:</label>\n+    <input type=\"text\" class=\"form-control\" name=\"description\" value=\"{{issue.description}}\" required {{'disabled' if not g.user.check_for_issue(issue)}}>\n+  </div>\n+  <div class=\"form-group\">\n+    <label for=\"enabled\">\n+      <input class=\"checkbox\" type=\"checkbox\" name=\"enabled\" value=\"1\" {{'checked' if issue.enabled}} {{'disabled' if not g.user.check_for_issue(issue)}}/>\n+      Enabled\n+    </label>\n+  </div>\n+{% if g.user.check_for_issue(issue) %}","path":"app/templates/issue-details.html","position":48,"original_position":48,"commit_id":"a4793056368c5b08dc3fc5a0dda71ccf96aaaba8","original_commit_id":"a4793056368c5b08dc3fc5a0dda71ccf96aaaba8","user":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"body":"Other way round, we only show the delete button if you actually have privs to delete the issue.","created_at":"2018-02-13T16:39:58Z","updated_at":"2018-02-13T16:39:58Z","html_url":"https://github.com/hughsie/lvfs-website/pull/57#discussion_r167924939","pull_request_url":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/hughsie/lvfs-website/pulls/comments/167924939"},"html":{"href":"https://github.com/hughsie/lvfs-website/pull/57#discussion_r167924939"},"pull_request":{"href":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57"}},"in_reply_to_id":167915580},"pull_request":{"url":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57","id":168884661,"html_url":"https://github.com/hughsie/lvfs-website/pull/57","diff_url":"https://github.com/hughsie/lvfs-website/pull/57.diff","patch_url":"https://github.com/hughsie/lvfs-website/pull/57.patch","issue_url":"https://api.github.com/repos/hughsie/lvfs-website/issues/57","number":57,"state":"open","locked":false,"title":"Wip/hughsie/issues","user":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-13T16:01:59Z","updated_at":"2018-02-13T16:39:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69ee1a920f620d4e543671c82b0865f2c2274b66","assignee":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"assignees":[{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57/commits","review_comments_url":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57/comments","review_comment_url":"https://api.github.com/repos/hughsie/lvfs-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hughsie/lvfs-website/issues/57/comments","statuses_url":"https://api.github.com/repos/hughsie/lvfs-website/statuses/a4793056368c5b08dc3fc5a0dda71ccf96aaaba8","head":{"label":"hughsie:wip/hughsie/issues","ref":"wip/hughsie/issues","sha":"a4793056368c5b08dc3fc5a0dda71ccf96aaaba8","user":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"repo":{"id":47995721,"name":"lvfs-website","full_name":"hughsie/lvfs-website","owner":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hughsie/lvfs-website","description":"The LVFS website","fork":false,"url":"https://api.github.com/repos/hughsie/lvfs-website","forks_url":"https://api.github.com/repos/hughsie/lvfs-website/forks","keys_url":"https://api.github.com/repos/hughsie/lvfs-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hughsie/lvfs-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hughsie/lvfs-website/teams","hooks_url":"https://api.github.com/repos/hughsie/lvfs-website/hooks","issue_events_url":"https://api.github.com/repos/hughsie/lvfs-website/issues/events{/number}","events_url":"https://api.github.com/repos/hughsie/lvfs-website/events","assignees_url":"https://api.github.com/repos/hughsie/lvfs-website/assignees{/user}","branches_url":"https://api.github.com/repos/hughsie/lvfs-website/branches{/branch}","tags_url":"https://api.github.com/repos/hughsie/lvfs-website/tags","blobs_url":"https://api.github.com/repos/hughsie/lvfs-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hughsie/lvfs-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hughsie/lvfs-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/hughsie/lvfs-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hughsie/lvfs-website/statuses/{sha}","languages_url":"https://api.github.com/repos/hughsie/lvfs-website/languages","stargazers_url":"https://api.github.com/repos/hughsie/lvfs-website/stargazers","contributors_url":"https://api.github.com/repos/hughsie/lvfs-website/contributors","subscribers_url":"https://api.github.com/repos/hughsie/lvfs-website/subscribers","subscription_url":"https://api.github.com/repos/hughsie/lvfs-website/subscription","commits_url":"https://api.github.com/repos/hughsie/lvfs-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/hughsie/lvfs-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/hughsie/lvfs-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/hughsie/lvfs-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/hughsie/lvfs-website/contents/{+path}","compare_url":"https://api.github.com/repos/hughsie/lvfs-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hughsie/lvfs-website/merges","archive_url":"https://api.github.com/repos/hughsie/lvfs-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hughsie/lvfs-website/downloads","issues_url":"https://api.github.com/repos/hughsie/lvfs-website/issues{/number}","pulls_url":"https://api.github.com/repos/hughsie/lvfs-website/pulls{/number}","milestones_url":"https://api.github.com/repos/hughsie/lvfs-website/milestones{/number}","notifications_url":"https://api.github.com/repos/hughsie/lvfs-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hughsie/lvfs-website/labels{/name}","releases_url":"https://api.github.com/repos/hughsie/lvfs-website/releases{/id}","deployments_url":"https://api.github.com/repos/hughsie/lvfs-website/deployments","created_at":"2015-12-14T19:13:26Z","updated_at":"2017-02-27T01:29:00Z","pushed_at":"2018-02-13T16:02:00Z","git_url":"git://github.com/hughsie/lvfs-website.git","ssh_url":"git@github.com:hughsie/lvfs-website.git","clone_url":"https://github.com/hughsie/lvfs-website.git","svn_url":"https://github.com/hughsie/lvfs-website","homepage":null,"size":1639,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":4,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"hughsie:master","ref":"master","sha":"6ee4ee33f038e0bf1080b514fd160d8b6ed9f1eb","user":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"repo":{"id":47995721,"name":"lvfs-website","full_name":"hughsie/lvfs-website","owner":{"login":"hughsie","id":151380,"avatar_url":"https://avatars0.githubusercontent.com/u/151380?v=4","gravatar_id":"","url":"https://api.github.com/users/hughsie","html_url":"https://github.com/hughsie","followers_url":"https://api.github.com/users/hughsie/followers","following_url":"https://api.github.com/users/hughsie/following{/other_user}","gists_url":"https://api.github.com/users/hughsie/gists{/gist_id}","starred_url":"https://api.github.com/users/hughsie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughsie/subscriptions","organizations_url":"https://api.github.com/users/hughsie/orgs","repos_url":"https://api.github.com/users/hughsie/repos","events_url":"https://api.github.com/users/hughsie/events{/privacy}","received_events_url":"https://api.github.com/users/hughsie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hughsie/lvfs-website","description":"The LVFS website","fork":false,"url":"https://api.github.com/repos/hughsie/lvfs-website","forks_url":"https://api.github.com/repos/hughsie/lvfs-website/forks","keys_url":"https://api.github.com/repos/hughsie/lvfs-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hughsie/lvfs-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hughsie/lvfs-website/teams","hooks_url":"https://api.github.com/repos/hughsie/lvfs-website/hooks","issue_events_url":"https://api.github.com/repos/hughsie/lvfs-website/issues/events{/number}","events_url":"https://api.github.com/repos/hughsie/lvfs-website/events","assignees_url":"https://api.github.com/repos/hughsie/lvfs-website/assignees{/user}","branches_url":"https://api.github.com/repos/hughsie/lvfs-website/branches{/branch}","tags_url":"https://api.github.com/repos/hughsie/lvfs-website/tags","blobs_url":"https://api.github.com/repos/hughsie/lvfs-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hughsie/lvfs-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hughsie/lvfs-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/hughsie/lvfs-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hughsie/lvfs-website/statuses/{sha}","languages_url":"https://api.github.com/repos/hughsie/lvfs-website/languages","stargazers_url":"https://api.github.com/repos/hughsie/lvfs-website/stargazers","contributors_url":"https://api.github.com/repos/hughsie/lvfs-website/contributors","subscribers_url":"https://api.github.com/repos/hughsie/lvfs-website/subscribers","subscription_url":"https://api.github.com/repos/hughsie/lvfs-website/subscription","commits_url":"https://api.github.com/repos/hughsie/lvfs-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/hughsie/lvfs-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/hughsie/lvfs-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/hughsie/lvfs-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/hughsie/lvfs-website/contents/{+path}","compare_url":"https://api.github.com/repos/hughsie/lvfs-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hughsie/lvfs-website/merges","archive_url":"https://api.github.com/repos/hughsie/lvfs-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hughsie/lvfs-website/downloads","issues_url":"https://api.github.com/repos/hughsie/lvfs-website/issues{/number}","pulls_url":"https://api.github.com/repos/hughsie/lvfs-website/pulls{/number}","milestones_url":"https://api.github.com/repos/hughsie/lvfs-website/milestones{/number}","notifications_url":"https://api.github.com/repos/hughsie/lvfs-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hughsie/lvfs-website/labels{/name}","releases_url":"https://api.github.com/repos/hughsie/lvfs-website/releases{/id}","deployments_url":"https://api.github.com/repos/hughsie/lvfs-website/deployments","created_at":"2015-12-14T19:13:26Z","updated_at":"2017-02-27T01:29:00Z","pushed_at":"2018-02-13T16:02:00Z","git_url":"git://github.com/hughsie/lvfs-website.git","ssh_url":"git@github.com:hughsie/lvfs-website.git","clone_url":"https://github.com/hughsie/lvfs-website.git","svn_url":"https://github.com/hughsie/lvfs-website","homepage":null,"size":1639,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":4,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57"},"html":{"href":"https://github.com/hughsie/lvfs-website/pull/57"},"issue":{"href":"https://api.github.com/repos/hughsie/lvfs-website/issues/57"},"comments":{"href":"https://api.github.com/repos/hughsie/lvfs-website/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/hughsie/lvfs-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hughsie/lvfs-website/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/hughsie/lvfs-website/statuses/a4793056368c5b08dc3fc5a0dda71ccf96aaaba8"}},"author_association":"OWNER"}}
{"actor":{"display_login":"hughsie"}}