Commit b370c688 authored by Mathieu Giraud's avatar Mathieu Giraud

index.html, js/export.js: clean, rephrase mail content

parent 7eb4e352
......@@ -245,10 +245,7 @@
<div class="menu" style="float: right" onmouseover="showSelector('helpSelector');"> help
<div id="helpSelector" class="selector"><div>
<a class="buttonSelector" href="help" target="_blank">help</a>
<a class="buttonSelector getHelp" onclick="report.sendMail()">send email</a>
<!--
<form action="mailto:tatiana.rocher@gmail.com?subject=Demande assistance" name="envoi" methode=POST enctype="text/plain"> !-->
<a class="buttonSelector getHelp" onclick="report.sendMail()">get support</a>
</div></div>
</div>
......
......@@ -572,7 +572,7 @@ Report.prototype = {
var clones = ''
var list = m.getSelected()
if (list.length>0){
clones += "clones selectionnes : \n" + list.length
clones += "Let's look on the following clones: \n" // + list.length
for (var i=0; i<list.length; i++){
clones += m.clone(list[i]).getFasta() + '\n'
}
......@@ -581,8 +581,10 @@ Report.prototype = {
var link = "mailto:team@vidjil.org"
+ "?cc="
+ "&subject=" + escape("Demande d'assistance Vidjil")
+ "&body=" + escape("page actuelle : " + window.location.href + '\n' + clones)
+ "&subject=" + escape("[Vidjil] Question")
+ "&body=" + escape("Dear Vidjil team,"
+ "\n\nI have a question on the results I obtain on the following sample: " + window.location.href
+ "\n\n" + clones)
;
window.location.href = link;
}
......
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