{"action":"created","comment":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/comments/184628080","pull_request_review_id":115609277,"id":184628080,"diff_hunk":"@@ -120,8 +120,33 @@ <h3>{% trans 'assistant_mandates_renewals' %} {{ year }} </h3>\n                 <dl class=\"row\"></dl>\n             {% endfor %}\n         </dl>\n+        <form method=\"POST\" action=\"{% url 'assistant_mandate_step_back' %}\">\n+            {{ form.non_field_errors }}\n+            {% csrf_token %}\n+            {% for hidden in form.hidden_fields %}\n+            {{ hidden }}\n+            {% endfor %}\n+            <input type=\"hidden\" value=\"{{ mandate_id }}\" name=\"mandate_id\" >\n+            {% if can_go_backward %}\n+                <button type=\"submit\" class=\"btn btn-primary\" title=\"{% trans 'save'%}\" id=\"bt_add_reviewer_save\"\n+                        onclick=\"return confirm_click();\">\n+                    <span class=\"glyphicon glyphicon-step-backward\" aria-hidden=\"true\"></span> {% trans 'step_back'%}\n+                </button>\n+            {% else %}\n+                <button type=\"submit\" class=\"btn btn-primary\" title=\"{% trans 'save'%}\"\n+                        id=\"bt_add_reviewer_save_disabled\" disabled>\n+                    <span class=\"glyphicon glyphicon-step-backward\" aria-hidden=\"true\"></span> {% trans 'step_back'%}\n+                </button>\n+            {% endif %}\n+        </form>\n     </div>\n </div>\n {% endblock %}\n {% block script %}\n+<script>\n+function confirm_click()\n+{\n+return confirm(\"{% trans 'confirm_mandate_step_back' %}\");","path":"assistant/templates/manager_reviews_view.html","position":39,"original_position":39,"commit_id":"4b91285a062272ae32b82db41440202e0ba8f438","original_commit_id":"4b91285a062272ae32b82db41440202e0ba8f438","user":{"login":"matgerard","id":14902946,"avatar_url":"https://avatars3.githubusercontent.com/u/14902946?v=4","gravatar_id":"","url":"https://api.github.com/users/matgerard","html_url":"https://github.com/matgerard","followers_url":"https://api.github.com/users/matgerard/followers","following_url":"https://api.github.com/users/matgerard/following{/other_user}","gists_url":"https://api.github.com/users/matgerard/gists{/gist_id}","starred_url":"https://api.github.com/users/matgerard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matgerard/subscriptions","organizations_url":"https://api.github.com/users/matgerard/orgs","repos_url":"https://api.github.com/users/matgerard/repos","events_url":"https://api.github.com/users/matgerard/events{/privacy}","received_events_url":"https://api.github.com/users/matgerard/received_events","type":"User","site_admin":false},"body":"indentation manquante","created_at":"2018-04-27T08:50:39Z","updated_at":"2018-04-27T08:55:50Z","html_url":"https://github.com/uclouvain/osis/pull/3598#discussion_r184628080","pull_request_url":"https://api.github.com/repos/uclouvain/osis/pulls/3598","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments/184628080"},"html":{"href":"https://github.com/uclouvain/osis/pull/3598#discussion_r184628080"},"pull_request":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3598"}}},"pull_request":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/3598","id":183973360,"html_url":"https://github.com/uclouvain/osis/pull/3598","diff_url":"https://github.com/uclouvain/osis/pull/3598.diff","patch_url":"https://github.com/uclouvain/osis/pull/3598.patch","issue_url":"https://api.github.com/repos/uclouvain/osis/issues/3598","number":3598,"state":"open","locked":false,"title":"Osis 1020 : Add mandates step backward","user":{"login":"laurentbuset","id":14892365,"avatar_url":"https://avatars3.githubusercontent.com/u/14892365?v=4","gravatar_id":"","url":"https://api.github.com/users/laurentbuset","html_url":"https://github.com/laurentbuset","followers_url":"https://api.github.com/users/laurentbuset/followers","following_url":"https://api.github.com/users/laurentbuset/following{/other_user}","gists_url":"https://api.github.com/users/laurentbuset/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentbuset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentbuset/subscriptions","organizations_url":"https://api.github.com/users/laurentbuset/orgs","repos_url":"https://api.github.com/users/laurentbuset/repos","events_url":"https://api.github.com/users/laurentbuset/events{/privacy}","received_events_url":"https://api.github.com/users/laurentbuset/received_events","type":"User","site_admin":false},"body":"Référence Jira : OSIS-1020\r\n","created_at":"2018-04-25T09:25:00Z","updated_at":"2018-04-27T08:55:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81023cda66230a6d0d94942549767c64222e54d8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":353487842,"url":"https://api.github.com/repos/uclouvain/osis/labels/assistant","name":"assistant","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/uclouvain/osis/pulls/3598/commits","review_comments_url":"https://api.github.com/repos/uclouvain/osis/pulls/3598/comments","review_comment_url":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uclouvain/osis/issues/3598/comments","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/4b91285a062272ae32b82db41440202e0ba8f438","head":{"label":"uclouvain:OSIS-1020","ref":"OSIS-1020","sha":"4b91285a062272ae32b82db41440202e0ba8f438","user":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System Backoffice","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2018-04-27T07:38:11Z","pushed_at":"2018-04-27T08:05:10Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":57048,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":13,"open_issues":20,"watchers":34,"default_branch":"dev"}},"base":{"label":"uclouvain:dev","ref":"dev","sha":"937051370e7021f502f283951eb11449f42c72ff","user":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System Backoffice","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2018-04-27T07:38:11Z","pushed_at":"2018-04-27T08:05:10Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":57048,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":13,"open_issues":20,"watchers":34,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3598"},"html":{"href":"https://github.com/uclouvain/osis/pull/3598"},"issue":{"href":"https://api.github.com/repos/uclouvain/osis/issues/3598"},"comments":{"href":"https://api.github.com/repos/uclouvain/osis/issues/3598/comments"},"review_comments":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3598/comments"},"review_comment":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3598/commits"},"statuses":{"href":"https://api.github.com/repos/uclouvain/osis/statuses/4b91285a062272ae32b82db41440202e0ba8f438"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"matgerard"}}