Commit 6ed7cc2d authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent d5b5661d
......@@ -28,6 +28,7 @@
<label index="delete_user_btn">Delete</label>
<label index="add_user_btn">Add</label>
<label index="create_user_title">[NG6] Account creation</label>
<label index="send_an_email">Send an email to the user</label>
<label index="create_user_email">Dear ###USER_FIRST_NAME### ###USER_LAST_NAME###,\nPlease find bellow your login/password required to log into the NG6 system (http://ng6.toulouse.inra.fr): \n - login: ###USER_LOGIN###\n - password: ###USER_PASSWORD###\nThe NG6 team\nPS: this is an automatic e-mail message generated by the NG6 system. Please DO NOT RESPOND to this e-mail because the mail box is unattended.</label>
<label index="add_user_title">[NG6] You have been added to a project</label>
<label index="add_user_email">Dear ###USER_FIRST_NAME### ###USER_LAST_NAME###,\nYou have now acccess to the ###PROJECT_NAME### project, ###PROJECT_DESCRIPTION### accessible once logged in by the following url: ###PROJECT_LINK###\nThe NG6 team\nPS: this is an automatic e-mail message generated by the NG6 system. Please DO NOT RESPOND to this e-mail because the mail box is unattended.</label>
......@@ -460,6 +461,7 @@
<label index="delete_user_btn">Supprimer</label>
<label index="add_user_btn">Ajouter</label>
<label index="create_user_title">[NG6] Création de compte</label>
<label index="send_an_email">Envoyer un email à l'utilisateur</label>
<label index="create_user_email">###USER_FIRST_NAME### ###USER_LAST_NAME###,\nVeuillez trouver ci-joint votre login/mot de passe nécessaire afin de se loguer à NG6 (http://ng6.toulouse.inra.fr): \n - login: ###USER_LOGIN###\n - mot de passe: ###USER_PASSWORD###\nL'équipe NG6\nPS: ceci est un mail généré automatiquement par NG6. Veuillez ne repondez pas à cet e-mail.</label>
<label index="add_user_title">[NG6] Nouveau projet</label>
<label index="add_user_email">###USER_FIRST_NAME### ###USER_LAST_NAME###,\nVous avez maintenant accès au projet ###PROJECT_NAME###, ###PROJECT_DESCRIPTION### accessible une fois logué par l'url: ###PROJECT_LINK###\nL'équipe NG6\nPS: ceci est un mail généré automatiquement par NG6. Veuillez ne repondez pas à cet e-mail.</label>
......
......@@ -54,6 +54,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<input type="hidden" id="add_user_title" value="{$llang.add_user_title}" />
<input type="hidden" id="create_user_email" value="{$llang.create_user_email}" />
<input type="hidden" id="create_user_title" value="{$llang.create_user_title}" />
<input type="hidden" id="send_an_email" value="{$llang.send_an_email}" />
<input type="hidden" id="from_email" value="{$from_email}" />
<input type="hidden" id="user_id" value="{$user_id}" />
<input type="hidden" id="pid" value="{$pid}" />
......
......@@ -758,6 +758,7 @@ $(function () {
add_user_html += '<option value="0" selected="selected">'+ $("#right_level_member").val() +'</option>';
add_user_html += '</select></td>';
add_user_html += '</tr><tr>';
add_user_html += '<td colspan="2"><input type="checkbox" checked="checked" name="send_an_email" id="send_an_email"/>' + $("#send_an_email").val() + '</td>';
add_user_html += '</tr></table></div>';
// dialog code
......@@ -1116,6 +1117,7 @@ $(function () {
val_url += "&create_user_title=" + $("#create_user_title").val();
val_url += "&from_email=" + $("#from_email").val();
val_url += "&project_url=" + escape(location.href);
val_url += "&send_an_email=" + $("#send_an_email").val();
$.ajax({
url: val_url,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment