parent
cd504f8978
commit
2bba0ddd70
@ -1,3 +1,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<%= l(:text_issue_added, :id => "##{@issue.project_index}", :author => h(@issue.author)) %>
|
<%= l(:text_issue_added, :id => "##{@issue.project_index}", :author => h(@issue.author)) %>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<% unless @issue.attachments.nil? %>
|
||||||
|
<% @issue.attachments.each do |attach| %>
|
||||||
|
<li> <%= link_to_attachment(attach, :download => true, :only_path => false) %></li>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
</ul>
|
||||||
<hr />
|
<hr />
|
||||||
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
<%= l(:text_issue_added, :id => "##{@issue.project_index}", :author => @issue.author) %>
|
<%= l(:text_issue_added, :id => "##{@issue.project_index}", :author => @issue.author) %>
|
||||||
|
|
||||||
|
<% @issue.attachments.each do |attach| %>
|
||||||
|
<%= link_to_attachment(attach, :download => true, :only_path => false) %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :issue_url => @issue_url } %>
|
||||||
|
Loading…
Reference in new issue