{"action":"created","comment":{"url":"https://api.github.com/repos/dha01/IS/pulls/comments/46471298","id":46471298,"diff_hunk":"@@ -0,0 +1,65 @@\n+﻿@using IS.Model.Item.Access;\n+@using IS.Mvc.Models\n+@model List<RoleItem>\n+\n+    @{\n+        ViewBag.Title = \"Role List\";\n+        Layout = \"~/Views/Shared/_Layout.cshtml\";\n+    }\n+\n+    <style>\n+        table {\n+            width: 100%; /* Ширина таблицы */\n+            border: 4px double black; /* Рамка вокруг таблицы */\n+            border-collapse: collapse; /* Отображать только одинарные линии */\n+        }\n+\n+        th {\n+            text-align: left; /* Выравнивание по левому краю */\n+            background: #ccc; /* Цвет фона ячеек */\n+            padding: 5px; /* Поля вокруг содержимого ячеек */\n+            border: 1px solid black; /* Граница вокруг ячеек */\n+        }\n+\n+        td {\n+            padding: 5px; /* Поля вокруг содержимого ячеек */\n+            border: 1px solid black; /* Граница вокруг ячеек */\n+        }\n+    </style>\n+\n+    <h2>Список ролей</h2>\n+\n+    <table id=\"role\">\n+        <thead>\n+            <tr>\n+                <th>Код</th>\n+                <th>Описание</th>\n+            </tr>\n+        </thead>\n+        <tbody>\n+            @foreach (var role in Model)\n+            {\n+                <tr>\n+                    <td>@role.Code</td>\n+                    <td>@role.Mem</td>\n+                    <td>@Html.ActionLink(\"Просмотр\", \"Index\", new { id = role.Id });</td>\n+                    @if (Access.CheckRole(\"Role.Updater\"))\n+                {","path":"IS.Mvc/IS.Mvc/Views/Role/List.cshtml","position":47,"original_position":47,"commit_id":"5bbf20b829b9d8a36ffd59168bae0fd0b7451be4","original_commit_id":"5bbf20b829b9d8a36ffd59168bae0fd0b7451be4","user":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"body":"Открывающие/Закрывающие скобки должны быть на одном уровне","created_at":"2015-12-02T20:34:28Z","updated_at":"2015-12-02T20:34:28Z","html_url":"https://github.com/dha01/IS/pull/108#discussion_r46471298","pull_request_url":"https://api.github.com/repos/dha01/IS/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/dha01/IS/pulls/comments/46471298"},"html":{"href":"https://github.com/dha01/IS/pull/108#discussion_r46471298"},"pull_request":{"href":"https://api.github.com/repos/dha01/IS/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/dha01/IS/pulls/108","id":52440854,"html_url":"https://github.com/dha01/IS/pull/108","diff_url":"https://github.com/dha01/IS/pull/108.diff","patch_url":"https://github.com/dha01/IS/pull/108.patch","issue_url":"https://api.github.com/repos/dha01/IS/issues/108","number":108,"state":"open","locked":false,"title":"Feature/task 90 zhuravlev","user":{"login":"danilz","id":3147057,"avatar_url":"https://avatars.githubusercontent.com/u/3147057?v=3","gravatar_id":"","url":"https://api.github.com/users/danilz","html_url":"https://github.com/danilz","followers_url":"https://api.github.com/users/danilz/followers","following_url":"https://api.github.com/users/danilz/following{/other_user}","gists_url":"https://api.github.com/users/danilz/gists{/gist_id}","starred_url":"https://api.github.com/users/danilz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danilz/subscriptions","organizations_url":"https://api.github.com/users/danilz/orgs","repos_url":"https://api.github.com/users/danilz/repos","events_url":"https://api.github.com/users/danilz/events{/privacy}","received_events_url":"https://api.github.com/users/danilz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-02T19:17:42Z","updated_at":"2015-12-02T20:34:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b5a377c21abd48397daf01ca0e47d475fcd8115","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dha01/IS/pulls/108/commits","review_comments_url":"https://api.github.com/repos/dha01/IS/pulls/108/comments","review_comment_url":"https://api.github.com/repos/dha01/IS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dha01/IS/issues/108/comments","statuses_url":"https://api.github.com/repos/dha01/IS/statuses/5bbf20b829b9d8a36ffd59168bae0fd0b7451be4","head":{"label":"dha01:feature/Task_90_Zhuravlev","ref":"feature/Task_90_Zhuravlev","sha":"5bbf20b829b9d8a36ffd59168bae0fd0b7451be4","user":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"repo":{"id":41916840,"name":"IS","full_name":"dha01/IS","owner":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dha01/IS","description":"Информационная система","fork":false,"url":"https://api.github.com/repos/dha01/IS","forks_url":"https://api.github.com/repos/dha01/IS/forks","keys_url":"https://api.github.com/repos/dha01/IS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dha01/IS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dha01/IS/teams","hooks_url":"https://api.github.com/repos/dha01/IS/hooks","issue_events_url":"https://api.github.com/repos/dha01/IS/issues/events{/number}","events_url":"https://api.github.com/repos/dha01/IS/events","assignees_url":"https://api.github.com/repos/dha01/IS/assignees{/user}","branches_url":"https://api.github.com/repos/dha01/IS/branches{/branch}","tags_url":"https://api.github.com/repos/dha01/IS/tags","blobs_url":"https://api.github.com/repos/dha01/IS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dha01/IS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dha01/IS/git/refs{/sha}","trees_url":"https://api.github.com/repos/dha01/IS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dha01/IS/statuses/{sha}","languages_url":"https://api.github.com/repos/dha01/IS/languages","stargazers_url":"https://api.github.com/repos/dha01/IS/stargazers","contributors_url":"https://api.github.com/repos/dha01/IS/contributors","subscribers_url":"https://api.github.com/repos/dha01/IS/subscribers","subscription_url":"https://api.github.com/repos/dha01/IS/subscription","commits_url":"https://api.github.com/repos/dha01/IS/commits{/sha}","git_commits_url":"https://api.github.com/repos/dha01/IS/git/commits{/sha}","comments_url":"https://api.github.com/repos/dha01/IS/comments{/number}","issue_comment_url":"https://api.github.com/repos/dha01/IS/issues/comments{/number}","contents_url":"https://api.github.com/repos/dha01/IS/contents/{+path}","compare_url":"https://api.github.com/repos/dha01/IS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dha01/IS/merges","archive_url":"https://api.github.com/repos/dha01/IS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dha01/IS/downloads","issues_url":"https://api.github.com/repos/dha01/IS/issues{/number}","pulls_url":"https://api.github.com/repos/dha01/IS/pulls{/number}","milestones_url":"https://api.github.com/repos/dha01/IS/milestones{/number}","notifications_url":"https://api.github.com/repos/dha01/IS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dha01/IS/labels{/name}","releases_url":"https://api.github.com/repos/dha01/IS/releases{/id}","created_at":"2015-09-04T13:18:48Z","updated_at":"2015-09-05T14:01:39Z","pushed_at":"2015-12-02T19:45:49Z","git_url":"git://github.com/dha01/IS.git","ssh_url":"git@github.com:dha01/IS.git","clone_url":"https://github.com/dha01/IS.git","svn_url":"https://github.com/dha01/IS","homepage":null,"size":800,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"dha01:master","ref":"master","sha":"32c694c1e2124e4591805e3357a655dafd2fde74","user":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"repo":{"id":41916840,"name":"IS","full_name":"dha01/IS","owner":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dha01/IS","description":"Информационная система","fork":false,"url":"https://api.github.com/repos/dha01/IS","forks_url":"https://api.github.com/repos/dha01/IS/forks","keys_url":"https://api.github.com/repos/dha01/IS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dha01/IS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dha01/IS/teams","hooks_url":"https://api.github.com/repos/dha01/IS/hooks","issue_events_url":"https://api.github.com/repos/dha01/IS/issues/events{/number}","events_url":"https://api.github.com/repos/dha01/IS/events","assignees_url":"https://api.github.com/repos/dha01/IS/assignees{/user}","branches_url":"https://api.github.com/repos/dha01/IS/branches{/branch}","tags_url":"https://api.github.com/repos/dha01/IS/tags","blobs_url":"https://api.github.com/repos/dha01/IS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dha01/IS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dha01/IS/git/refs{/sha}","trees_url":"https://api.github.com/repos/dha01/IS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dha01/IS/statuses/{sha}","languages_url":"https://api.github.com/repos/dha01/IS/languages","stargazers_url":"https://api.github.com/repos/dha01/IS/stargazers","contributors_url":"https://api.github.com/repos/dha01/IS/contributors","subscribers_url":"https://api.github.com/repos/dha01/IS/subscribers","subscription_url":"https://api.github.com/repos/dha01/IS/subscription","commits_url":"https://api.github.com/repos/dha01/IS/commits{/sha}","git_commits_url":"https://api.github.com/repos/dha01/IS/git/commits{/sha}","comments_url":"https://api.github.com/repos/dha01/IS/comments{/number}","issue_comment_url":"https://api.github.com/repos/dha01/IS/issues/comments{/number}","contents_url":"https://api.github.com/repos/dha01/IS/contents/{+path}","compare_url":"https://api.github.com/repos/dha01/IS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dha01/IS/merges","archive_url":"https://api.github.com/repos/dha01/IS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dha01/IS/downloads","issues_url":"https://api.github.com/repos/dha01/IS/issues{/number}","pulls_url":"https://api.github.com/repos/dha01/IS/pulls{/number}","milestones_url":"https://api.github.com/repos/dha01/IS/milestones{/number}","notifications_url":"https://api.github.com/repos/dha01/IS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dha01/IS/labels{/name}","releases_url":"https://api.github.com/repos/dha01/IS/releases{/id}","created_at":"2015-09-04T13:18:48Z","updated_at":"2015-09-05T14:01:39Z","pushed_at":"2015-12-02T19:45:49Z","git_url":"git://github.com/dha01/IS.git","ssh_url":"git@github.com:dha01/IS.git","clone_url":"https://github.com/dha01/IS.git","svn_url":"https://github.com/dha01/IS","homepage":null,"size":800,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dha01/IS/pulls/108"},"html":{"href":"https://github.com/dha01/IS/pull/108"},"issue":{"href":"https://api.github.com/repos/dha01/IS/issues/108"},"comments":{"href":"https://api.github.com/repos/dha01/IS/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/dha01/IS/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/dha01/IS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dha01/IS/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/dha01/IS/statuses/5bbf20b829b9d8a36ffd59168bae0fd0b7451be4"}}}}