2015-01-23 11:46:55 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<span class="c_blue" style="color:#1b55a7;">
|
2015-01-23 14:51:11 +08:00
|
|
|
<%= link_to(h("#{@message.author.login}(#{@message.author.show_name})"), @issue_author_url , :style=>'color:#1b55a7; font-weight:bold;') %>
|
|
|
|
|
2015-01-23 11:46:55 +08:00
|
|
|
</span><%= l(:mail_issue_title_userin)%>
|
|
|
|
<span class="c_blue" style="color:#1b55a7;">
|
|
|
|
<% if @message.project %>
|
|
|
|
<%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to(h(@message.subject), @message_url,:style=>'color:#1b55a7; font-weight:bold;') %>
|
2015-01-22 16:30:21 +08:00
|
|
|
<% elsif @message.course %>
|
2015-01-23 11:46:55 +08:00
|
|
|
<%=h @message.board.course.name %> - <%=h @message.board.name %>: <%= link_to(h(@message.subject), @message_url,:style=>'color:#1b55a7; font-weight:bold;') %>
|
|
|
|
<% end %>
|
|
|
|
</span><%= l(:mail_issue_title_active)%></p>
|
|
|
|
<div class="mail_box" style="border:1px solid #c8c8c8; width:570px; height: auto; padding:15px; margin-top:10px; margin-bottom:10px;">
|
|
|
|
<ul style="list-style-type:none; margin:0; padding:0;">
|
|
|
|
<li style="list-style-type:none; margin:0; padding:0;"><span style="float: left;"><strong><%= l(:mail_issue_subject)%></strong></span><span style="float: left; width: 526px"> <%= link_to(h(@message.subject), @message_url, :style=>'color:#1b55a7; font-weight:bold;') %></span></li>
|
|
|
|
<li style="list-style-type:none; margin:0; padding:0;"><span style="float: left;"><strong><%= l(:mail_issue_sent_from)%></strong></span>
|
|
|
|
<% if @message.project %>
|
|
|
|
<span style="float: left; width: 526px"><%=h @message.board.project.name %> - <%=h @message.board.name %></span>
|
|
|
|
<% elsif @message.course %>
|
|
|
|
<span style="float: left; width: 526px"><%=h @message.board.course.name %> - <%=h @message.board.name %></span>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
<li style="list-style-type:none; margin:0; padding:0;"><span style="float: left;"><strong><%= l(:mail_issue_content)%></strong></span>
|
|
|
|
<span style="float: left; width: 526px">
|
2015-06-05 15:26:14 +08:00
|
|
|
<%= @message.content.html_safe? %>
|
2015-01-23 11:46:55 +08:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
<div class="cl" style="margin-top: 30px; clear:both; overflow:hidden;"></div>
|
|
|
|
<label class="mail_reply">
|
2015-01-23 14:51:11 +08:00
|
|
|
<%= link_to(l(:mail_issue_reply), @message_url, :class => "mail_reply", :style =>'display:block; float:right; width:80px; text-align:center; height:30px; background:#15bccf; color:#fff; font-weight:normal; font-size:14px; line-height: 30px;') %>
|
2015-01-23 11:46:55 +08:00
|
|
|
</label>
|
|
|
|
<div class="cl" style="margin-top: 30px; clear:both; overflow:hidden;"></div>
|
|
|
|
</div>
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|