@@ -3,7 +3,7 | |||
|
3 | 3 | <p><%= link_to attachment.filename, {:controller => 'attachments', :action => 'download', :id => attachment }, :class => 'icon icon-attachment' %> |
|
4 | 4 | (<%= number_to_human_size attachment.filesize %>) |
|
5 | 5 | <% unless options[:no_author] %> |
|
6 |
< |
|
|
6 | <span class="author"><%= attachment.author.name %>, <%= format_date(attachment.created_on) %></span> | |
|
7 | 7 | <% end %> |
|
8 | 8 | <% if options[:delete_url] %> |
|
9 | 9 | <%= link_to image_tag('delete.png'), options[:delete_url].update({:attachment_id => attachment}), :confirm => l(:text_are_you_sure), :method => :post %> |
@@ -62,9 +62,13 end %> | |||
|
62 | 62 | </div> |
|
63 | 63 | <% end %> |
|
64 | 64 | |
|
65 |
<p>< |
|
|
65 | <p><strong><%=l(:field_description)%></strong></p> | |
|
66 | 66 | <%= textilizable @issue.description, :attachments => @issue.attachments %> |
|
67 | 67 | |
|
68 | <% if @issue.attachments.any? %> | |
|
69 | <%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %> | |
|
70 | <% end %> | |
|
71 | ||
|
68 | 72 | <% if authorize_for('issue_relations', 'new') || @issue.relations.any? %> |
|
69 | 73 | <hr /> |
|
70 | 74 | <div id="relations"> |
@@ -72,10 +76,6 end %> | |||
|
72 | 76 | </div> |
|
73 | 77 | <% end %> |
|
74 | 78 | |
|
75 | <% if @issue.attachments.any? %> | |
|
76 | <%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %> | |
|
77 | <% end %> | |
|
78 | ||
|
79 | 79 | </div> |
|
80 | 80 | |
|
81 | 81 | <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> |
General Comments 0
You need to be logged in to leave comments.
Login now