2015-01-17 11:18:24 +08:00
|
|
|
<!-- <h1><%#= link_to(h("#{issue.tracker.name} ##{issue.project_index}: #{issue.subject}"), issue_url) %></h1> -->
|
|
|
|
<p>
|
2015-01-26 15:54:23 +08:00
|
|
|
|
2015-01-22 20:41:42 +08:00
|
|
|
<span class="c_blue" style="color:#1b55a7;">
|
2015-01-23 11:46:55 +08:00
|
|
|
<%= link_to(h("#{@author.login}(#{@author.show_name})"), @issue_author_url , :style=>'color:#1b55a7; font-weight:bold;') %>
|
2015-01-21 18:12:04 +08:00
|
|
|
</span><%= l(:mail_issue_title_userin)%>
|
2015-01-22 20:41:42 +08:00
|
|
|
<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;">
|
2015-01-26 15:54:23 +08:00
|
|
|
<li style="list-style-type:none; margin:0; padding:0;float: left; "><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;float: left; "><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; float: left; "><span style="float: left;"><strong><%= l(:mail_issue_content)%></strong></span>
|
2015-01-22 22:05:56 +08:00
|
|
|
<span style="float: left; width: 526px">
|
2015-01-26 15:54:23 +08:00
|
|
|
|
2015-01-22 20:41:42 +08:00
|
|
|
<% if @journal.nil? %>
|
2015-01-26 15:54:23 +08:00
|
|
|
<%= issue.description=='' ? l(:label_none) : issue.description %>
|
2015-01-22 20:41:42 +08:00
|
|
|
<% else %>
|
2015-01-26 15:54:23 +08:00
|
|
|
<%= @journal.notes=='' ? l(:label_none) : @journal.notes %>
|
2015-01-22 20:41:42 +08:00
|
|
|
<% end%>
|
|
|
|
</span>
|
2015-01-17 11:18:24 +08:00
|
|
|
</li>
|
2015-01-26 15:54:23 +08:00
|
|
|
<li style="list-style-type:none; margin:0; padding:0;float: left; ">
|
|
|
|
<span style="float: left"> <strong><%= l(:mail_issue_attachments)%></strong></span>
|
|
|
|
<% if @issue.attachments.count == 0 %>
|
|
|
|
<%= l(:label_none)%>
|
|
|
|
<% else %>
|
2015-01-22 22:05:56 +08:00
|
|
|
<span style="float: left; width: 526px; margin:0; padding:0;">
|
2015-01-17 11:18:24 +08:00
|
|
|
<% @issue.attachments.each do |attach| %>
|
2015-01-22 22:05:56 +08:00
|
|
|
<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>
|
2015-01-22 20:41:42 +08:00
|
|
|
<% end %></span>
|
|
|
|
<% end %>
|
2015-01-17 11:18:24 +08:00
|
|
|
|
2015-01-17 14:19:54 +08:00
|
|
|
|
2015-01-22 20:41:42 +08:00
|
|
|
</li>
|
2013-08-01 10:33:49 +08:00
|
|
|
</ul>
|
2015-01-22 20:41:42 +08:00
|
|
|
<div class="cl" style="margin-top: 30px; clear:both; overflow:hidden;"></div>
|
|
|
|
<label class="mail_reply">
|
|
|
|
<%= link_to( l(:mail_issue_reply), issue_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;') %>
|
|
|
|
</label>
|
|
|
|
<div class="cl" style="margin-top: 30px; clear:both; overflow:hidden;"></div>
|
2015-01-17 11:18:24 +08:00
|
|
|
</div>
|
|
|
|
<!-- <li><%#=l(:field_author)%>: <%#=h issue.author %></li>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2015-01-17 11:18:24 +08:00
|
|
|
<li><%#=l(:field_status)%>: <%#=h issue.status %></li>
|
|
|
|
<li><%#=l(:field_priority)%>: <%#=h issue.priority %></li>
|
|
|
|
<li><%#=l(:field_assigned_to)%>: <%#=h issue.assigned_to %></li>
|
|
|
|
<li><%#=l(:field_category)%>: <%#=h issue.category %></li>
|
|
|
|
<li><%#=l(:field_fixed_version)%>: <%#=h issue.fixed_version %></li>
|
|
|
|
-->
|
|
|
|
<%# issue.custom_field_values.each do |c| %>
|
|
|
|
<!-- <li><%#=h c.custom_field.name %>: <%#=h show_value(c) %></li>
|
|
|
|
<%#end %>
|
|
|
|
-->
|