|
|
|
@ -6,10 +6,10 @@
|
|
|
|
|
<span class="c_blue" style="color:#1b55a7;"><%= link_to(h("#{@issue.project.name}"), @project_url, :style=>'color:#1b55a7; font-weight:bold;') %></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: 500px"><%= link_to(issue.subject, issue_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><span style="float: left; width: 500px"><%= issue.project.name %><b>| </b><%= l(:mail_issue_from_project)%></span></li>
|
|
|
|
|
<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(issue.subject, issue_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><span style="float: left; width: 526px"><%= issue.project.name %><b>| </b><%= l(:mail_issue_from_project)%></span></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: 500px">
|
|
|
|
|
<span style="float: left; width: 526px">
|
|
|
|
|
<% if @journal.nil? %>
|
|
|
|
|
<%= issue.description %>
|
|
|
|
|
<% else %>
|
|
|
|
@ -20,10 +20,10 @@
|
|
|
|
|
<li style="list-style-type:none; margin:0; padding:0;">
|
|
|
|
|
|
|
|
|
|
<% unless @issue.attachments.nil? %>
|
|
|
|
|
<span style="float: left; margin:0; padding:0;"> <strong><%= l(:mail_issue_attachments)%></strong></span>
|
|
|
|
|
<span style="float: left; width: 500px; margin:0; padding:0;">
|
|
|
|
|
<span style="float: left"> <strong><%= l(:mail_issue_attachments)%></strong></span>
|
|
|
|
|
<span style="float: left; width: 526px; margin:0; padding:0;">
|
|
|
|
|
<% @issue.attachments.each do |attach| %>
|
|
|
|
|
<p style="float: left; width: 500px; margin:0; padding:0;"><%= link_to_attachment(attach, :download => true, :token => @token.value, :only_path => false, :style=>'color:#1b55a7; font-weight:bold;')%></p>
|
|
|
|
|
<p style="float: left; width: 526px; margin:0; padding:0;"><%= link_to_attachment(attach, :download => true, :token => @token.value, :only_path => false, :style=>'color:#1b55a7; font-weight:bold;')%></p>
|
|
|
|
|
<% end %></span>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|