GitHub PullRequestReviewCommentEvent at 2014-11-05 15:20:42
Repository: invenio
Actor: jirikuncar
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/19879021","id":19879021,"diff_hunk":"@@ -0,0 +1,76 @@\n+{#\n+## This file is part of Invenio.\n+## Copyright (C) 2012, 2014 CERN.\n+##\n+## Invenio is free software; you can redistribute it and/or\n+## modify it under the terms of the GNU General Public License as\n+## published by the Free Software Foundation; either version 2 of the\n+## License, or (at your option) any later version.\n+##\n+## Invenio is distributed in the hope that it will be useful, but\n+## WITHOUT ANY WARRANTY; without even the implied warranty of\n+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+## General Public License for more details.\n+##\n+## You should have received a copy of the GNU General Public License\n+## along with Invenio; if not, write to the Free Software Foundation, Inc.,\n+## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n+#}\n+\n+{%- import \"accounts/settings/helpers.html\" as helpers with context %}\n+{%- from \"_formhelpers.html\" import render_field with context %}\n+{%- extends \"accounts/settings/index_base.html\" -%}\n+\n+{% block settings_body %}\n+{{helpers.panel_start(\n+    group.name,\n+    icon='fa fa-user fa-fw',\n+    btn=_('Manage'),\n+    btn_icon='fa fa-wrench',\n+    btn_href=url_for('webgroup.manage', id_usergroup=group.id),\n+    with_body=False)}}\n+  <div class=\"panel-body\">\n+    <p>{{ _(\"The list of members of the group:\") }}</p>\n+  </div>\n+  <ul class=\"list-group\">\n+  {% for uug in group.users %}\n+    {%- set is_admin = uug.is_admin() -%}\n+    <li class=\"list-group-item\">\n+      <div class=\"pull-right\">\n+        <a class=\"btn btn-xs btn-danger\"\n+           href=\"{{ url_for('webgroup.leave',\n+             id_usergroup=group.id, id_user=uug.user.id) }}\">\n+          <i class=\"fa fa-chain-broken\"></i> {{ _('Leave') }}\n+        </a>\n+      </div>\n+      <h4 class=\"list-group-item-heading\">\n+        {# TODO add css for group-admin-user and group-normal-user #}\n+        {% if is_admin %}\n+          <i class=\"fa fa-user group-admin-user\" style=\"color:red\"></i>","path":"invenio/modules/groups/templates/groups/members_base.html","position":49,"original_position":49,"commit_id":"b4b3cf61411be49aa59653ba8dbcaa92f713aeea","original_commit_id":"b4b3cf61411be49aa59653ba8dbcaa92f713aeea","user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=2","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"body":"don't use `style=\"color:red\"` but you can try `class=\"text-danger\"`","created_at":"2014-11-05T15:20:42Z","updated_at":"2014-11-05T15:20:42Z","html_url":"https://github.com/inveniosoftware/invenio/pull/2458#discussion_r19879021","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/19879021"},"html":{"href":"https://github.com/inveniosoftware/invenio/pull/2458#discussion_r19879021"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458","id":23396409,"html_url":"https://github.com/inveniosoftware/invenio/pull/2458","diff_url":"https://github.com/inveniosoftware/invenio/pull/2458.diff","patch_url":"https://github.com/inveniosoftware/invenio/pull/2458.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2458","number":2458,"state":"open","locked":false,"title":"groups: port missing functionality","user":{"login":"hachreak","id":377047,"avatar_url":"https://avatars.githubusercontent.com/u/377047?v=2","gravatar_id":"","url":"https://api.github.com/users/hachreak","html_url":"https://github.com/hachreak","followers_url":"https://api.github.com/users/hachreak/followers","following_url":"https://api.github.com/users/hachreak/following{/other_user}","gists_url":"https://api.github.com/users/hachreak/gists{/gist_id}","starred_url":"https://api.github.com/users/hachreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hachreak/subscriptions","organizations_url":"https://api.github.com/users/hachreak/orgs","repos_url":"https://api.github.com/users/hachreak/repos","events_url":"https://api.github.com/users/hachreak/events{/privacy}","received_events_url":"https://api.github.com/users/hachreak/received_events","type":"User","site_admin":false},"body":"* Implement user group manage function\r\n\r\n* Add filter on list of group that user can join.\r\n\r\nSigned-off-by: Leonardo Rossi <leonardo.r@cern.ch>","created_at":"2014-10-27T16:34:49Z","updated_at":"2014-11-05T15:20:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b1bdbc406d283926d2841f727bb6ca3a6117a63","assignee":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=2","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/11","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/11/labels","id":769792,"number":11,"title":"v2.0.x","description":null,"creator":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=2","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":113,"state":"open","created_at":"2014-08-28T16:18:55Z","updated_at":"2014-11-05T14:52:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/{number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2458/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio/statuses/b4b3cf61411be49aa59653ba8dbcaa92f713aeea","head":{"label":"hachreak:1788_groups_port_missing_functionality","ref":"1788_groups_port_missing_functionality","sha":"b4b3cf61411be49aa59653ba8dbcaa92f713aeea","user":{"login":"hachreak","id":377047,"avatar_url":"https://avatars.githubusercontent.com/u/377047?v=2","gravatar_id":"","url":"https://api.github.com/users/hachreak","html_url":"https://github.com/hachreak","followers_url":"https://api.github.com/users/hachreak/followers","following_url":"https://api.github.com/users/hachreak/following{/other_user}","gists_url":"https://api.github.com/users/hachreak/gists{/gist_id}","starred_url":"https://api.github.com/users/hachreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hachreak/subscriptions","organizations_url":"https://api.github.com/users/hachreak/orgs","repos_url":"https://api.github.com/users/hachreak/repos","events_url":"https://api.github.com/users/hachreak/events{/privacy}","received_events_url":"https://api.github.com/users/hachreak/received_events","type":"User","site_admin":false},"repo":{"id":23670712,"name":"invenio","full_name":"hachreak/invenio","owner":{"login":"hachreak","id":377047,"avatar_url":"https://avatars.githubusercontent.com/u/377047?v=2","gravatar_id":"","url":"https://api.github.com/users/hachreak","html_url":"https://github.com/hachreak","followers_url":"https://api.github.com/users/hachreak/followers","following_url":"https://api.github.com/users/hachreak/following{/other_user}","gists_url":"https://api.github.com/users/hachreak/gists{/gist_id}","starred_url":"https://api.github.com/users/hachreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hachreak/subscriptions","organizations_url":"https://api.github.com/users/hachreak/orgs","repos_url":"https://api.github.com/users/hachreak/repos","events_url":"https://api.github.com/users/hachreak/events{/privacy}","received_events_url":"https://api.github.com/users/hachreak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hachreak/invenio","description":"Invenio digital library software","fork":true,"url":"https://api.github.com/repos/hachreak/invenio","forks_url":"https://api.github.com/repos/hachreak/invenio/forks","keys_url":"https://api.github.com/repos/hachreak/invenio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hachreak/invenio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hachreak/invenio/teams","hooks_url":"https://api.github.com/repos/hachreak/invenio/hooks","issue_events_url":"https://api.github.com/repos/hachreak/invenio/issues/events{/number}","events_url":"https://api.github.com/repos/hachreak/invenio/events","assignees_url":"https://api.github.com/repos/hachreak/invenio/assignees{/user}","branches_url":"https://api.github.com/repos/hachreak/invenio/branches{/branch}","tags_url":"https://api.github.com/repos/hachreak/invenio/tags","blobs_url":"https://api.github.com/repos/hachreak/invenio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hachreak/invenio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hachreak/invenio/git/refs{/sha}","trees_url":"https://api.github.com/repos/hachreak/invenio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hachreak/invenio/statuses/{sha}","languages_url":"https://api.github.com/repos/hachreak/invenio/languages","stargazers_url":"https://api.github.com/repos/hachreak/invenio/stargazers","contributors_url":"https://api.github.com/repos/hachreak/invenio/contributors","subscribers_url":"https://api.github.com/repos/hachreak/invenio/subscribers","subscription_url":"https://api.github.com/repos/hachreak/invenio/subscription","commits_url":"https://api.github.com/repos/hachreak/invenio/commits{/sha}","git_commits_url":"https://api.github.com/repos/hachreak/invenio/git/commits{/sha}","comments_url":"https://api.github.com/repos/hachreak/invenio/comments{/number}","issue_comment_url":"https://api.github.com/repos/hachreak/invenio/issues/comments/{number}","contents_url":"https://api.github.com/repos/hachreak/invenio/contents/{+path}","compare_url":"https://api.github.com/repos/hachreak/invenio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hachreak/invenio/merges","archive_url":"https://api.github.com/repos/hachreak/invenio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hachreak/invenio/downloads","issues_url":"https://api.github.com/repos/hachreak/invenio/issues{/number}","pulls_url":"https://api.github.com/repos/hachreak/invenio/pulls{/number}","milestones_url":"https://api.github.com/repos/hachreak/invenio/milestones{/number}","notifications_url":"https://api.github.com/repos/hachreak/invenio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hachreak/invenio/labels{/name}","releases_url":"https://api.github.com/repos/hachreak/invenio/releases{/id}","created_at":"2014-09-04T16:41:39Z","updated_at":"2014-10-15T08:56:56Z","pushed_at":"2014-11-05T14:55:35Z","git_url":"git://github.com/hachreak/invenio.git","ssh_url":"git@github.com:hachreak/invenio.git","clone_url":"https://github.com/hachreak/invenio.git","svn_url":"https://github.com/hachreak/invenio","homepage":"http://invenio-software.org/","size":72364,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"pu"}},"base":{"label":"inveniosoftware:pu","ref":"pu","sha":"76f3cce140bc66b20655f40baba03d6ca7a13ee0","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=2","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":2665618,"name":"invenio","full_name":"inveniosoftware/invenio","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=2","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio","description":"Invenio digital library software","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio","forks_url":"https://api.github.com/repos/inveniosoftware/invenio/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments/{number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio/releases{/id}","created_at":"2011-10-28T14:33:51Z","updated_at":"2014-10-26T00:29:55Z","pushed_at":"2014-11-05T14:52:53Z","git_url":"git://github.com/inveniosoftware/invenio.git","ssh_url":"git@github.com:inveniosoftware/invenio.git","clone_url":"https://github.com/inveniosoftware/invenio.git","svn_url":"https://github.com/inveniosoftware/invenio","homepage":"http://invenio-software.org/","size":89094,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":872,"forks":103,"open_issues":872,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458"},"html":{"href":"https://github.com/inveniosoftware/invenio/pull/2458"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio/issues/2458"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio/issues/2458/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2458/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio/statuses/b4b3cf61411be49aa59653ba8dbcaa92f713aeea"}}}}