{"action":"created","comment":{"url":"https://api.github.com/repos/haiwen/seahub/pulls/comments/35489212","id":35489212,"diff_hunk":"@@ -45,7 +45,13 @@ <h3 class=\"hd\">{% trans \"Group Info\" %}</h3>\n \n             {% for repo in repos %}\n             <tr>\n-                <td><img src=\"{{MEDIA_URL}}img/sync-folder-20.png?t=1387267140\" title=\"{% trans \"Read-Write\" %}\" alt=\"{% trans \"directory icon\" %}\" /></td>\n+                {% if repo.encrypted %}\n+                <td><img src=\"{{MEDIA_URL}}img/sync-folder-encrypt-20.png\" title=\"{% trans \"Encrypted\"%}\" alt=\"{% trans \"library icon\" %}\" /></td>\n+                {% elif repo.permission == 'r' %}\n+                <td><img src=\"{{MEDIA_URL}}img/folder-no-write-20.png\" title=\"{% trans \"Read-Only\"%}\" alt=\"{% trans \"library icon\" %}\" /></td>","path":"seahub/templates/sysadmin/sys_admin_group_info.html","position":8,"original_position":8,"commit_id":"8411ad81f77fc2923c711c2844ca58032d94ef70","original_commit_id":"8411ad81f77fc2923c711c2844ca58032d94ef70","user":{"login":"freeplant","id":109339,"avatar_url":"https://avatars.githubusercontent.com/u/109339?v=3","gravatar_id":"","url":"https://api.github.com/users/freeplant","html_url":"https://github.com/freeplant","followers_url":"https://api.github.com/users/freeplant/followers","following_url":"https://api.github.com/users/freeplant/following{/other_user}","gists_url":"https://api.github.com/users/freeplant/gists{/gist_id}","starred_url":"https://api.github.com/users/freeplant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeplant/subscriptions","organizations_url":"https://api.github.com/users/freeplant/orgs","repos_url":"https://api.github.com/users/freeplant/repos","events_url":"https://api.github.com/users/freeplant/events{/privacy}","received_events_url":"https://api.github.com/users/freeplant/received_events","type":"User","site_admin":false},"body":"Read-only and read-write have no meaning here.","created_at":"2015-07-26T04:16:32Z","updated_at":"2015-07-26T04:16:32Z","html_url":"https://github.com/haiwen/seahub/pull/745#discussion_r35489212","pull_request_url":"https://api.github.com/repos/haiwen/seahub/pulls/745","_links":{"self":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/comments/35489212"},"html":{"href":"https://github.com/haiwen/seahub/pull/745#discussion_r35489212"},"pull_request":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/745"}}},"pull_request":{"url":"https://api.github.com/repos/haiwen/seahub/pulls/745","id":40835374,"html_url":"https://github.com/haiwen/seahub/pull/745","diff_url":"https://github.com/haiwen/seahub/pull/745.diff","patch_url":"https://github.com/haiwen/seahub/pull/745.patch","issue_url":"https://api.github.com/repos/haiwen/seahub/issues/745","number":745,"state":"open","locked":false,"title":"update repo icon of admin group info page","user":{"login":"imwhatiam","id":3793639,"avatar_url":"https://avatars.githubusercontent.com/u/3793639?v=3","gravatar_id":"","url":"https://api.github.com/users/imwhatiam","html_url":"https://github.com/imwhatiam","followers_url":"https://api.github.com/users/imwhatiam/followers","following_url":"https://api.github.com/users/imwhatiam/following{/other_user}","gists_url":"https://api.github.com/users/imwhatiam/gists{/gist_id}","starred_url":"https://api.github.com/users/imwhatiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imwhatiam/subscriptions","organizations_url":"https://api.github.com/users/imwhatiam/orgs","repos_url":"https://api.github.com/users/imwhatiam/repos","events_url":"https://api.github.com/users/imwhatiam/events{/privacy}","received_events_url":"https://api.github.com/users/imwhatiam/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-25T11:10:35Z","updated_at":"2015-07-26T04:16:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdb9f687344753300ab7ae620da6c6e5f56accfb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/haiwen/seahub/pulls/745/commits","review_comments_url":"https://api.github.com/repos/haiwen/seahub/pulls/745/comments","review_comment_url":"https://api.github.com/repos/haiwen/seahub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haiwen/seahub/issues/745/comments","statuses_url":"https://api.github.com/repos/haiwen/seahub/statuses/8411ad81f77fc2923c711c2844ca58032d94ef70","head":{"label":"haiwen:sys-group-amdin","ref":"sys-group-amdin","sha":"8411ad81f77fc2923c711c2844ca58032d94ef70","user":{"login":"haiwen","id":1948782,"avatar_url":"https://avatars.githubusercontent.com/u/1948782?v=3","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"repo":{"id":6556815,"name":"seahub","full_name":"haiwen/seahub","owner":{"login":"haiwen","id":1948782,"avatar_url":"https://avatars.githubusercontent.com/u/1948782?v=3","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haiwen/seahub","description":"The web end of seafile server.","fork":false,"url":"https://api.github.com/repos/haiwen/seahub","forks_url":"https://api.github.com/repos/haiwen/seahub/forks","keys_url":"https://api.github.com/repos/haiwen/seahub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haiwen/seahub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haiwen/seahub/teams","hooks_url":"https://api.github.com/repos/haiwen/seahub/hooks","issue_events_url":"https://api.github.com/repos/haiwen/seahub/issues/events{/number}","events_url":"https://api.github.com/repos/haiwen/seahub/events","assignees_url":"https://api.github.com/repos/haiwen/seahub/assignees{/user}","branches_url":"https://api.github.com/repos/haiwen/seahub/branches{/branch}","tags_url":"https://api.github.com/repos/haiwen/seahub/tags","blobs_url":"https://api.github.com/repos/haiwen/seahub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haiwen/seahub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haiwen/seahub/git/refs{/sha}","trees_url":"https://api.github.com/repos/haiwen/seahub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haiwen/seahub/statuses/{sha}","languages_url":"https://api.github.com/repos/haiwen/seahub/languages","stargazers_url":"https://api.github.com/repos/haiwen/seahub/stargazers","contributors_url":"https://api.github.com/repos/haiwen/seahub/contributors","subscribers_url":"https://api.github.com/repos/haiwen/seahub/subscribers","subscription_url":"https://api.github.com/repos/haiwen/seahub/subscription","commits_url":"https://api.github.com/repos/haiwen/seahub/commits{/sha}","git_commits_url":"https://api.github.com/repos/haiwen/seahub/git/commits{/sha}","comments_url":"https://api.github.com/repos/haiwen/seahub/comments{/number}","issue_comment_url":"https://api.github.com/repos/haiwen/seahub/issues/comments{/number}","contents_url":"https://api.github.com/repos/haiwen/seahub/contents/{+path}","compare_url":"https://api.github.com/repos/haiwen/seahub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haiwen/seahub/merges","archive_url":"https://api.github.com/repos/haiwen/seahub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haiwen/seahub/downloads","issues_url":"https://api.github.com/repos/haiwen/seahub/issues{/number}","pulls_url":"https://api.github.com/repos/haiwen/seahub/pulls{/number}","milestones_url":"https://api.github.com/repos/haiwen/seahub/milestones{/number}","notifications_url":"https://api.github.com/repos/haiwen/seahub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haiwen/seahub/labels{/name}","releases_url":"https://api.github.com/repos/haiwen/seahub/releases{/id}","created_at":"2012-11-06T05:07:24Z","updated_at":"2015-07-16T13:06:29Z","pushed_at":"2015-07-25T11:10:35Z","git_url":"git://github.com/haiwen/seahub.git","ssh_url":"git@github.com:haiwen/seahub.git","clone_url":"https://github.com/haiwen/seahub.git","svn_url":"https://github.com/haiwen/seahub","homepage":"seafile.com","size":52183,"stargazers_count":147,"watchers_count":147,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":125,"forks":118,"open_issues":125,"watchers":147,"default_branch":"master"}},"base":{"label":"haiwen:master","ref":"master","sha":"d3f89e3e78929ab62580a9b14f47823b8044208a","user":{"login":"haiwen","id":1948782,"avatar_url":"https://avatars.githubusercontent.com/u/1948782?v=3","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"repo":{"id":6556815,"name":"seahub","full_name":"haiwen/seahub","owner":{"login":"haiwen","id":1948782,"avatar_url":"https://avatars.githubusercontent.com/u/1948782?v=3","gravatar_id":"","url":"https://api.github.com/users/haiwen","html_url":"https://github.com/haiwen","followers_url":"https://api.github.com/users/haiwen/followers","following_url":"https://api.github.com/users/haiwen/following{/other_user}","gists_url":"https://api.github.com/users/haiwen/gists{/gist_id}","starred_url":"https://api.github.com/users/haiwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haiwen/subscriptions","organizations_url":"https://api.github.com/users/haiwen/orgs","repos_url":"https://api.github.com/users/haiwen/repos","events_url":"https://api.github.com/users/haiwen/events{/privacy}","received_events_url":"https://api.github.com/users/haiwen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haiwen/seahub","description":"The web end of seafile server.","fork":false,"url":"https://api.github.com/repos/haiwen/seahub","forks_url":"https://api.github.com/repos/haiwen/seahub/forks","keys_url":"https://api.github.com/repos/haiwen/seahub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haiwen/seahub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haiwen/seahub/teams","hooks_url":"https://api.github.com/repos/haiwen/seahub/hooks","issue_events_url":"https://api.github.com/repos/haiwen/seahub/issues/events{/number}","events_url":"https://api.github.com/repos/haiwen/seahub/events","assignees_url":"https://api.github.com/repos/haiwen/seahub/assignees{/user}","branches_url":"https://api.github.com/repos/haiwen/seahub/branches{/branch}","tags_url":"https://api.github.com/repos/haiwen/seahub/tags","blobs_url":"https://api.github.com/repos/haiwen/seahub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haiwen/seahub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haiwen/seahub/git/refs{/sha}","trees_url":"https://api.github.com/repos/haiwen/seahub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haiwen/seahub/statuses/{sha}","languages_url":"https://api.github.com/repos/haiwen/seahub/languages","stargazers_url":"https://api.github.com/repos/haiwen/seahub/stargazers","contributors_url":"https://api.github.com/repos/haiwen/seahub/contributors","subscribers_url":"https://api.github.com/repos/haiwen/seahub/subscribers","subscription_url":"https://api.github.com/repos/haiwen/seahub/subscription","commits_url":"https://api.github.com/repos/haiwen/seahub/commits{/sha}","git_commits_url":"https://api.github.com/repos/haiwen/seahub/git/commits{/sha}","comments_url":"https://api.github.com/repos/haiwen/seahub/comments{/number}","issue_comment_url":"https://api.github.com/repos/haiwen/seahub/issues/comments{/number}","contents_url":"https://api.github.com/repos/haiwen/seahub/contents/{+path}","compare_url":"https://api.github.com/repos/haiwen/seahub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haiwen/seahub/merges","archive_url":"https://api.github.com/repos/haiwen/seahub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haiwen/seahub/downloads","issues_url":"https://api.github.com/repos/haiwen/seahub/issues{/number}","pulls_url":"https://api.github.com/repos/haiwen/seahub/pulls{/number}","milestones_url":"https://api.github.com/repos/haiwen/seahub/milestones{/number}","notifications_url":"https://api.github.com/repos/haiwen/seahub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haiwen/seahub/labels{/name}","releases_url":"https://api.github.com/repos/haiwen/seahub/releases{/id}","created_at":"2012-11-06T05:07:24Z","updated_at":"2015-07-16T13:06:29Z","pushed_at":"2015-07-25T11:10:35Z","git_url":"git://github.com/haiwen/seahub.git","ssh_url":"git@github.com:haiwen/seahub.git","clone_url":"https://github.com/haiwen/seahub.git","svn_url":"https://github.com/haiwen/seahub","homepage":"seafile.com","size":52183,"stargazers_count":147,"watchers_count":147,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":125,"forks":118,"open_issues":125,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/745"},"html":{"href":"https://github.com/haiwen/seahub/pull/745"},"issue":{"href":"https://api.github.com/repos/haiwen/seahub/issues/745"},"comments":{"href":"https://api.github.com/repos/haiwen/seahub/issues/745/comments"},"review_comments":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/745/comments"},"review_comment":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haiwen/seahub/pulls/745/commits"},"statuses":{"href":"https://api.github.com/repos/haiwen/seahub/statuses/8411ad81f77fc2923c711c2844ca58032d94ef70"}}}}