{"action":"created","comment":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/24703062","id":24703062,"diff_hunk":"@@ -0,0 +1,204 @@\n+<style type=\"text/css\">\n+    .text-title-select{\n+        display: inline-block;\n+    }\n+    #session-select{\n+        display: inline-block;\n+    }\n+    .title-name-session{\n+        display: block;\n+        padding-top: 10px;\n+        padding-bottom: 10px;\n+        font-weight: normal;\n+        margin-top: 5px;\n+        margin-bottom: 5px;\n+    }\n+    .badge-dis{\n+        background-color: #008080;\n+        font-size: 20px;\n+    }\n+    .badge-recom{\n+        background-color:#88aa00 ;\n+        font-size: 20px;\n+    }\n+    .separate-badge{\n+        margin-bottom: 20px;\n+        margin-top: 20px;\n+    }\n+    .date, .mode{\n+        display: inline-block;\n+    }\n+    .img-circle{\n+        border-radius: 500px;\n+        -moz-border-radius: 500px;\n+        -webkit-border-radius: 500px;\n+    }\n+    #student_table.table td{\n+        vertical-align: middle;\n+        text-align: center;\n+    }\n+    #student_table.table td.name{\n+        color: #084B8A;\n+        text-align: left;\n+\n+    }\n+    #student_table.table th{\n+        font-size: 14px;\n+        vertical-align: middle;\n+        text-align: center;\n+    }\n+    #modalMail{\n+        width: 770px;\n+        margin-top: -180px !important;\n+        margin-left:  -385px !important;\n+    }\n+\n+    #modalMail .modal-body {\n+        height: 360px;\n+        overflow: visible;\n+    }\n+\n+    #iframeAdvsub {\n+\n+    }\n+</style>\n+\n+<form id=\"form_advsub_admin\" class=\"form-search\" method=\"post\" action=\"/plugin/advancedsubscription/src/admin_view.php\" name=\"form_advsub_admin\">\n+    <div class=\"row\">\n+        <div class=\"span6\">\n+            <p class=\"text-title-select\">Elige una sesión de formación</p>\n+            <select id=\"session-select\" name=\"s\">\n+                <option value=\"0\">\n+                    {{ \"SelectASession\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}\n+                </option>\n+                {% for sessionItem in sessionItems %}\n+                <option value=\"{{ sessionItem.id }}\" {{ sessionItem.selected }}>\n+                {{ sessionItem.name }}\n+                </option>\n+                {% endfor %}\n+            </select>\n+\n+            <h4>{{ \"SessionName\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4>\n+            <h3 class=\"title-name-session\">{{ session.name }}</h3>\n+            <h4>{{ \"Target\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4>\n+            <p>{{ session.target }}</p>\n+\n+        </div>\n+        <div class=\"span6\">\n+            <p class=\"separate-badge\">\n+                <span class=\"badge badge-dis\">{{ session.vacancies }}</span>\n+                {{ \"Vacancies\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>\n+            <p class=\"separate-badge\">\n+                <span class=\"badge badge-recom\">{{ session.recommended_number_of_participants }}</span>\n+                {{ \"RecommendedNumberOfParticipants\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>\n+            <h4>{{ \"PublicationEndDate\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4> <p>{{ session.publication_end_date }}</p>\n+            <h4>{{ \"Mode\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4> <p>{{ session.mode }}</p>\n+        </div>\n+    </div>\n+    <div class=\"row\">\n+        <div class=\"span12\">\n+            <div class=\"student-list-table\">\n+                <table id=\"student_table\" class=\"table table-striped\">\n+                    <tbody>\n+                    <tr>\n+                        <th style=\"width: 118px;\"><img src=\"img/icon-avatar.png\"/> </th>\n+                        <th>{{ \"Postulant\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</th>\n+                        <th>{{ \"InscriptionDate\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</th>\n+                        <th>{{ \"BossValidation\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</th>\n+                        <th>{{ \"Decision\" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</th>\n+                    </tr>\n+                    {% set row_class = \"row_odd\" %}\n+                    {% for student in students %}\n+                    <tr class=\"{{ row_class }}\">\n+                        <td style=\"width: 118px;\"><img src=\"{{ student.picture.file }}\" class=\"img-circle\"> </td>\n+                        <td class=\"name\">{{ student.complete_name }}</td>\n+                        <td>{{ student.created_at }}</td>\n+                        <td>{{ student.validation }}</td>\n+                        <td>\n+                            <a\n+                                class=\"btn btn-success btn-advsub btn-accept\"\n+                                href=\"{{ student.acceptUrl }}\"\n+                            >\n+                                Aceptar","path":"plugin/advancedsubscription/views/admin_view.tpl","position":122,"original_position":122,"commit_id":"1bdc1dd7191d1ba8da0b1b3ae10693e3e6f7e6ca","original_commit_id":"1bdc1dd7191d1ba8da0b1b3ae10693e3e6f7e6ca","user":{"login":"ywarnier","id":609839,"avatar_url":"https://avatars.githubusercontent.com/u/609839?v=3","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"body":"Language variable","created_at":"2015-02-13T22:37:23Z","updated_at":"2015-02-13T22:37:23Z","html_url":"https://github.com/chamilo/chamilo-lms/pull/495#discussion_r24703062","pull_request_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495","_links":{"self":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/24703062"},"html":{"href":"https://github.com/chamilo/chamilo-lms/pull/495#discussion_r24703062"},"pull_request":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495"}}},"pull_request":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495","id":29297773,"html_url":"https://github.com/chamilo/chamilo-lms/pull/495","diff_url":"https://github.com/chamilo/chamilo-lms/pull/495.diff","patch_url":"https://github.com/chamilo/chamilo-lms/pull/495.patch","issue_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/495","number":495,"state":"open","locked":false,"title":"Advanced subscription plugin","user":{"login":"danbarretodev","id":4552920,"avatar_url":"https://avatars.githubusercontent.com/u/4552920?v=3","gravatar_id":"","url":"https://api.github.com/users/danbarretodev","html_url":"https://github.com/danbarretodev","followers_url":"https://api.github.com/users/danbarretodev/followers","following_url":"https://api.github.com/users/danbarretodev/following{/other_user}","gists_url":"https://api.github.com/users/danbarretodev/gists{/gist_id}","starred_url":"https://api.github.com/users/danbarretodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbarretodev/subscriptions","organizations_url":"https://api.github.com/users/danbarretodev/orgs","repos_url":"https://api.github.com/users/danbarretodev/repos","events_url":"https://api.github.com/users/danbarretodev/events{/privacy}","received_events_url":"https://api.github.com/users/danbarretodev/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-13T20:48:39Z","updated_at":"2015-02-13T22:37:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"726166eeac779a372c562c98d52dd30517c58230","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495/commits","review_comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495/comments","review_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/{number}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/495/comments","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/1bdc1dd7191d1ba8da0b1b3ae10693e3e6f7e6ca","head":{"label":"danbarretodev:advsub","ref":"advsub","sha":"1bdc1dd7191d1ba8da0b1b3ae10693e3e6f7e6ca","user":{"login":"danbarretodev","id":4552920,"avatar_url":"https://avatars.githubusercontent.com/u/4552920?v=3","gravatar_id":"","url":"https://api.github.com/users/danbarretodev","html_url":"https://github.com/danbarretodev","followers_url":"https://api.github.com/users/danbarretodev/followers","following_url":"https://api.github.com/users/danbarretodev/following{/other_user}","gists_url":"https://api.github.com/users/danbarretodev/gists{/gist_id}","starred_url":"https://api.github.com/users/danbarretodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbarretodev/subscriptions","organizations_url":"https://api.github.com/users/danbarretodev/orgs","repos_url":"https://api.github.com/users/danbarretodev/repos","events_url":"https://api.github.com/users/danbarretodev/events{/privacy}","received_events_url":"https://api.github.com/users/danbarretodev/received_events","type":"User","site_admin":false},"repo":{"id":15226947,"name":"chamilo-lms","full_name":"danbarretodev/chamilo-lms","owner":{"login":"danbarretodev","id":4552920,"avatar_url":"https://avatars.githubusercontent.com/u/4552920?v=3","gravatar_id":"","url":"https://api.github.com/users/danbarretodev","html_url":"https://github.com/danbarretodev","followers_url":"https://api.github.com/users/danbarretodev/followers","following_url":"https://api.github.com/users/danbarretodev/following{/other_user}","gists_url":"https://api.github.com/users/danbarretodev/gists{/gist_id}","starred_url":"https://api.github.com/users/danbarretodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbarretodev/subscriptions","organizations_url":"https://api.github.com/users/danbarretodev/orgs","repos_url":"https://api.github.com/users/danbarretodev/repos","events_url":"https://api.github.com/users/danbarretodev/events{/privacy}","received_events_url":"https://api.github.com/users/danbarretodev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danbarretodev/chamilo-lms","description":"Chamilo is a learning management system focusing on ease of use, re-usibality, collaboration and sharing.","fork":true,"url":"https://api.github.com/repos/danbarretodev/chamilo-lms","forks_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/forks","keys_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/teams","hooks_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/hooks","issue_events_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/issues/events{/number}","events_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/events","assignees_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/assignees{/user}","branches_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/branches{/branch}","tags_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/tags","blobs_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/languages","stargazers_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/stargazers","contributors_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/contributors","subscribers_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/subscribers","subscription_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/subscription","commits_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/issues/comments/{number}","contents_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/contents/{+path}","compare_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/merges","archive_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/downloads","issues_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/issues{/number}","pulls_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/labels{/name}","releases_url":"https://api.github.com/repos/danbarretodev/chamilo-lms/releases{/id}","created_at":"2013-12-16T13:49:48Z","updated_at":"2014-05-08T16:08:21Z","pushed_at":"2015-02-13T20:47:46Z","git_url":"git://github.com/danbarretodev/chamilo-lms.git","ssh_url":"git@github.com:danbarretodev/chamilo-lms.git","clone_url":"https://github.com/danbarretodev/chamilo-lms.git","svn_url":"https://github.com/danbarretodev/chamilo-lms","homepage":"http://www.chamilo.org","size":779466,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"master"}},"base":{"label":"chamilo:1.10.x","ref":"1.10.x","sha":"d440fae8bcae2a8230bed2b203a1116232561ac0","user":{"login":"chamilo","id":3460664,"avatar_url":"https://avatars.githubusercontent.com/u/3460664?v=3","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"repo":{"id":9103211,"name":"chamilo-lms","full_name":"chamilo/chamilo-lms","owner":{"login":"chamilo","id":3460664,"avatar_url":"https://avatars.githubusercontent.com/u/3460664?v=3","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chamilo/chamilo-lms","description":"Chamilo is a learning management system focusing on ease of use, re-usability, collaboration and sharing.","fork":false,"url":"https://api.github.com/repos/chamilo/chamilo-lms","forks_url":"https://api.github.com/repos/chamilo/chamilo-lms/forks","keys_url":"https://api.github.com/repos/chamilo/chamilo-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chamilo/chamilo-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chamilo/chamilo-lms/teams","hooks_url":"https://api.github.com/repos/chamilo/chamilo-lms/hooks","issue_events_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/events{/number}","events_url":"https://api.github.com/repos/chamilo/chamilo-lms/events","assignees_url":"https://api.github.com/repos/chamilo/chamilo-lms/assignees{/user}","branches_url":"https://api.github.com/repos/chamilo/chamilo-lms/branches{/branch}","tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/tags","blobs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/chamilo/chamilo-lms/languages","stargazers_url":"https://api.github.com/repos/chamilo/chamilo-lms/stargazers","contributors_url":"https://api.github.com/repos/chamilo/chamilo-lms/contributors","subscribers_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscribers","subscription_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscription","commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/comments/{number}","contents_url":"https://api.github.com/repos/chamilo/chamilo-lms/contents/{+path}","compare_url":"https://api.github.com/repos/chamilo/chamilo-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chamilo/chamilo-lms/merges","archive_url":"https://api.github.com/repos/chamilo/chamilo-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chamilo/chamilo-lms/downloads","issues_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues{/number}","pulls_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/chamilo/chamilo-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/labels{/name}","releases_url":"https://api.github.com/repos/chamilo/chamilo-lms/releases{/id}","created_at":"2013-03-29T17:31:19Z","updated_at":"2015-02-12T22:32:21Z","pushed_at":"2015-02-13T21:22:23Z","git_url":"git://github.com/chamilo/chamilo-lms.git","ssh_url":"git@github.com:chamilo/chamilo-lms.git","clone_url":"https://github.com/chamilo/chamilo-lms.git","svn_url":"https://github.com/chamilo/chamilo-lms","homepage":"http://www.chamilo.org","size":934492,"stargazers_count":74,"watchers_count":74,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":3,"forks":81,"open_issues":3,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495"},"html":{"href":"https://github.com/chamilo/chamilo-lms/pull/495"},"issue":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/issues/495"},"comments":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/issues/495/comments"},"review_comments":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495/comments"},"review_comment":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/495/commits"},"statuses":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/1bdc1dd7191d1ba8da0b1b3ae10693e3e6f7e6ca"}}}}