summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/_issue.html.erb
blob: 58287c658749236a62258619c01b862348064daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<h1><%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %></h1>

<%= render_email_issue_attributes(issue, user, true) %>

<%= textilizable(issue, :description, :only_path => false) %>

<% if issue.attachments.any? %>
  <fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
  <% issue.attachments.each do |attachment| %>
    <%= link_to_attachment attachment, :download => true, :only_path => false %>
    (<%= number_to_human_size(attachment.filesize) %>)<br />
  <% end %>
  </fieldset>
<% end %>