fixed htmlemails

This commit is contained in:
Bastian Greshake
2015-12-18 10:26:30 +01:00
parent 0370caa2b5
commit 48666802d1
24 changed files with 138 additions and 132 deletions

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
the data dump (including all the genotyping files and the associated
phenotypes) you requested for download from openSNP are now available in
@@ -12,13 +12,13 @@
<b><a href="<%="http://"+ActionMailer::Base.default_url_options[:host]+@link%>"Go and download them!</a></b>
</p>
<p>
--
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</p>
</body>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
You have recently uploaded a genotyping to our repository, but it looks
like we have stored the same file already!</br>
@@ -14,19 +14,19 @@
</p>
<p>
If there is no genotyping listed in your user-account, please contact us!</br>
If you need help you can read the FAQ <%=faq_url()%> or contact us by replying to this mail.
If you need help <a href="<%=faq_url()%>">you can read the FAQ</a> or contact us by replying to this mail.
</p>
<p>
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
You have recently uploaded a genotyping to our repository, but it looks like it contains email addresses.
Some users have uploaded files with email addresses of strangers in the past, which we obviously cannot allow.
@@ -12,19 +12,19 @@
The easiest way to fix this is to find out why your file contains email addresses, to remove these, and to re-upload it.
</p>
<p>
If you need help you can read the FAQ <%=faq_url()%> or contact us by replying to this mail.
If you need help <a href="<%=faq_url()%>">you can read the FAQ</a> or contact us by replying to this mail.
</p>
<p>
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
I just finished parsing your <%= @vendor %> file. I found a total of
<%= @stats[:rows_without_comments] %> rows (exclusive comments) in it and was
@@ -17,13 +17,13 @@
Cheers,</br>
The OpenSNP Parser
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
the Fitbit data you requested for
<a href="<%="http://"+ActionMailer::Base.default_url_options[:host]+@link%>">
@@ -18,13 +18,13 @@
Cheers,</br>
your openSNP team
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi,</h1>
<b>Hi,</b>
<p>
the genetic data for the variation <%=@variation%> for <%=@phenotype_name%> you requested
<a href="<%="http://"+ActionMailer::Base.default_url_options[:host]+@link%>">
@@ -18,13 +18,13 @@
Cheers,</br>
your openSNP team
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
you just got a new message from <%=User.find_by_id(@message.from_id).name%> with the following subject: <b><%=@message.subject%></b>
Below you find the text of the message:
@@ -12,29 +12,29 @@
<p>
<blockquote>
--- SNIP ---
<br/>
<%= @message.body %>
<br/>
--- SNAP ---
</blockquote>
</p>
<p>
<b>
PLEASE DO NOT ANSWER THIS MAIL DIRECTLY. You can read and reply to this message by clicking this link: <%= message_url(@message) %>
PLEASE DO NOT ANSWER THIS MAIL DIRECTLY. <a href="<%= message_url(@message) %>"You can read and reply to this message by clicking this link</a>.
</b>
</p>
<p>
Cheers,</br>
your openSNP team
</p>
--
--</br>
You receive this email because you enabled the message-notification-settings. To change your notification-settings you can visit <%=edit_user_url(@user)%>#notifications</br></br>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,6 +4,7 @@ you just got a new message from <%=User.find_by_id(@message.from_id).name%> with
Below you find the text of the message:
--- SNIP ---
<br/>
<%= @message.body %>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
The new phenotype "<%=@phenotype.characteristic%>" was just entered on openSNP.
<a href="<%=phenotype_url(@phenotype)%>"If you want to, you can enter your variation for this phenotype</a>
@@ -13,14 +13,14 @@ The new phenotype "<%=@phenotype.characteristic%>" was just entered on openSNP.
Cheers,</br>
your openSNP team
</p>
--
--<br/>
You receive this email because you enabled the phenotype-notification-settings. To change your notification-settings you can visit <%=edit_user_url(@user)%>#notifications<br/><br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
<%=@phenotype_comment.user.name%> just replied to a phenotype comment on the Phenotype <%=@phenotype_comment.phenotype.characteristic%> from you.
This is the text of the reply:
@@ -12,29 +12,29 @@
<p>
<blockquote>
--- SNIP ---
<br/>
<%=@phenotype_comment.comment_text%>
<br/>
--- SNAP ---
</blockquote>
</p>
<p>
<b>
PLEASE DO NOT ANSWER THIS MAIL DIRECTLY. You can read and reply to this comment by clicking this link: <%= phenotype_url(@phenotype_comment.phenotype) %>
PLEASE DO NOT ANSWER THIS MAIL DIRECTLY. <a href="<%= phenotype_url(@phenotype_comment.phenotype) %>">You can read and reply to this comment by clicking this link</a>.
</b>
</p>
<p>
Cheers,</br>
your openSNP team
</p>
--
--<br/>
You receive this email because you enabled the phenotype-notification-settings. To change your notification-settings you can visit <%=edit_user_url(@user)%>#notifications</br></br>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,6 +4,7 @@ Hello <%=@user.name%>,
This is the text of the reply:
--- SNIP ---
<br/>
<%=@phenotype_comment.comment_text%>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
<%=@phenotype_comment.user.name%> just replied to a phenotype comment on the Picture Phenotype <%=@phenotype_comment.picture_phenotype.characteristic%> from you.
This is the text of the reply:
@@ -12,29 +12,29 @@
<p>
<blockquote>
--- SNIP ---
<br/>
<%=@phenotype_comment.comment_text%>
<br/>
--- SNAP ---
</blockquote>
</p>
<p>
<b>
You can read and reply to this comment by clicking this link: <%=picture_phenotype_url(@phenotype_comment.picture_phenotype)%>#comments
<a href="<%=picture_phenotype_url(@phenotype_comment.picture_phenotype)%>#comments">You can read and reply to this comment by clicking this link.</a>
</b>
</p>
<p>
Cheers,</br>
your openSNP team
</p>
--
--<br/>
You receive this email because you enabled the phenotype-notification-settings. To change your notification-settings you can visit <%=edit_user_url(@user)%>#notifications</br></br>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,6 +4,7 @@ Hello <%=@user.name%>,
This is the text of the reply:
--- SNIP ---
<br/>
<%=@phenotype_comment.comment_text%>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
<%=@snp_comment.user.name%> just replied to a SNP comment on the SNP <%=@snp_comment.snp.name%> from you.
This is the text of the reply:
@@ -12,29 +12,29 @@
<p>
<blockquote>
--- SNIP ---
<br/>
<%=@snp_comment.comment_text%>
<br/>
--- SNAP ---
</blockquote>
</p>
<p>
<b>
You can read and reply to this comment by clicking this link: <%=snp_url(@snp_comment.snp)%>#comments
<a href="<%=snp_url(@snp_comment.snp)%>#comments">You can read and reply to this comment by clicking this link.</a>
</b>
</p>
<p>
Cheers,</br>
your openSNP team
</p>
--
You receive this email because you enabled the phenotype-notification-settings. To change your notification-settings you can visit <%=edit_user_url(@user)%>#notifications</br></br>
--<br/>
You receive this email because you enabled the phenotype-notification-settings. <a href="<%=edit_user_url(@user)%>#notifications">To change your notification-settings you can visit <%=edit_user_url(@user)%>#notifications</a></br></br>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,6 +4,7 @@ Hello <%=@user.name%>,
This is the text of the reply:
--- SNIP ---
<br/>
<%=@snp_comment.comment_text%>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
We are collaborating with the Health Ethics and Policy Lab [1] at the University of Zurich, on a study that aims to investigate your experiences with sharing genetic and other kinds of data through openSNP (and other platforms). This is valuable knowledge for us in openSNP and for anyone interested in data sharing.
We would be really grateful if you would participate in this short https://www.surveymonkey.com/r/openSNP survey. Below, you can see more information about the survey.
@@ -26,14 +26,14 @@
Cheers,</br>
your openSNP team
</p>
--
--<br/>
You're receiving this email as your openSNP-settings say that you're okay with getting some emails from the openSNP-team. You can change this setting really easy at https://opensnp.org/users/<%=@user.id%>/edit#notifications</br></br>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
you get this mail because you requested to download a dump of all the genotypes in openSNP.org. Unfortunately there are no genotypes yet. Maybe you want to upload your data?
</p>
@@ -15,13 +15,13 @@ you get this mail because you requested to download a dump of all the genotypes
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,24 +4,24 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi,</h1>
<b>Hi,</b>
<p>
we're sorry to tell you that we don't have any users with uploaded genetic data that share the the variation <%=@variation%> for <%=@phenotype_name%> yet.
</p>
<p>
If you need help you can read the FAQ <%=faq_url()%> or contact us by replying to this mail.
If you need help <a href="<%=faq_url()%>">you can read the FAQ</a> or contact us by replying to this mail.
</p>
<p>
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
We are sorry to inform you that there was at least one line in your genotyping-file, excluding the header, that could not be parsed correctly. This may be a minor problem or not. If you can't see your local genotypes for the SNPs or you encounter any other problems you could try to delete your genotyping file at <%=edit_user_url(@user)%>. Afterwards you can re-upload your genotyping file.
@@ -12,19 +12,19 @@
</p>
<p>
If you need help you can read the FAQ <%=faq_url()%> or contact us by replying to this mail.
If you need help <a href="<%=faq_url()%>">you can read the FAQ</a> or contact us by replying to this mail.
</p>
<p>
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
A request to reset your password has been made.
If you did not make this request, simply ignore this email.
@@ -14,23 +14,23 @@
<%=edit_password_reset_url(@user.perishable_token)%>
If the above URL does not work try copying and pasting it into your browser.
If you continue to have problem please feel free to contact us.
If you continue to have problem please feel free to contact us.
</p>
<p>
If you need help you can read the FAQ <%=faq_url()%> or contact us by replying to this mail.
If you need help <a href="<%=faq_url()%>">you can read the FAQ</a> or contact us by replying to this mail.
</p>
<p>
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<h1>Hi <%=@user.name%>,</h1>
<b>Hi <%=@user.name%>,</b>
<p>
Welcome to openSNP.org the platform for sharing genotyping raw data.
We hope you enjoy using openSNP, can meet some interesting people and have the chance to learn some new things about our genome.
@@ -15,19 +15,19 @@
<a href="<%=edit_user_url(@user)%>">To edit your settings visit <%=edit_user_url(@user)%></a>
</p>
<p>
If you need help you can read the FAQ <%=faq_url()%> or contact us by replying to this mail.
If you need help <a href="<%=faq_url()%>">you can read the FAQ</a> or contact us by replying to this mail.
</p>
<p>
Cheers,
your openSNP-team.
</p>
--
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("SBG_logo.png") %>
</a>
--<br/>
openSNP thanks <a href="https://www.sbgenomics.com/">Seven Bridges</a>
and its biomedical data analysis platform
along with <a href="patreon.com/openSNP">our Patreons</a> for supporting our
hosting costs.</br>
<a href="https://www.sbgenomics.com">
<%= image_tag("http://"+ActionMailer::Base.default_url_options[:host]+"/assets/SBG_logo.png") %>
</a>
</body>
</html>

View File

@@ -42,6 +42,7 @@ module Snpr
config.filter_parameters += [:password, :password_confirmation]
config.action_mailer.default_url_options = { host: 'opensnp.org' }
#config.action_mailer.default_url_options = { host: 'localhost:3000' }
# Enable the asset pipeline
config.assets.enabled = true

View File

@@ -12,6 +12,8 @@ Snpr::Application.configure do
config.action_controller.perform_caching = false
# Don't care if the mailer can't send
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
config.action_mailer.raise_delivery_errors = false
# Print deprecation notices to the Rails logger
@@ -32,4 +34,3 @@ Snpr::Application.configure do
# Serve files from /public directory
config.serve_static_files = true
end

0
serverscript Normal file → Executable file
View File