summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/message_posted.text.html.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 10:43:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 10:43:39 +0000
commitbd434427e61edbac03d273a308dcfffe72096ae0 (patch)
tree73856165e0c0c2d3581492280a5d44f52b5364bd /app/views/mailer/message_posted.text.html.rhtml
parent4ded4277c51b8f35dc9eaa031c918e55470a44b5 (diff)
downloadredmine-bd434427e61edbac03d273a308dcfffe72096ae0.tar.gz
redmine-bd434427e61edbac03d273a308dcfffe72096ae0.zip
Mailer:
* added an application setting to specify the application protocol (http or https) used to generate urls * added layouts for text and html emails * no more language specific templates * urls are now generated using UrlWriter * the mailer now uses AdvAttrAccessor code style to set email parameters git-svn-id: http://redmine.rubyforge.org/svn/trunk@877 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer/message_posted.text.html.rhtml')
-rw-r--r--app/views/mailer/message_posted.text.html.rhtml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/mailer/message_posted.text.html.rhtml b/app/views/mailer/message_posted.text.html.rhtml
index 89346e724..558a6e52a 100644
--- a/app/views/mailer/message_posted.text.html.rhtml
+++ b/app/views/mailer/message_posted.text.html.rhtml
@@ -1,6 +1,4 @@
-<%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to @message.subject, :only_path => false, :host => Setting.host_name, :controller => 'messages', :action => 'show', :board_id => @message.board_id, :id => @message.root %><br />
+<h1><%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to @message.subject, @message_url %></h1>
<em><%= @message.author.name %></em>
<%= textilizable @message.content %>
-<hr />
-<small><em><%= textilizable Setting.emails_footer %></em></small>