Project

General

Profile

Actions

Feature #479

closed

/change_status to have add file option

Added by Jonathan Hall over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Would it be possible to have the 'add file' function to the /change_status page for future releases?

EG

<p><label for="notes"><%= l(:field_notes) ></label>
<
= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %>

<label for="attachment_file"><%=l(:label_attachment)%>
<%= image_to_function "add.png", "addFileField();return false" ></label>
<
= file_field_tag 'attachments[]', :size => 30 >
<em>(<
= l(:label_max_size) >: <= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes)
%>)</em>

</p>

<% if authorize_for('issues', 'add_attachment') >
<p id="attachments_p"><label><
=l(:label_attachment_new)%>
<%= image_to_function "add.png", "addFileField();return false" ></label>
<
= file_field_tag 'attachments[]', :size => 30 > <em>(<= l(:label_max_size) >: <=
number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) >)</em></p>
<
end %>
</div>

Thanks!

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

Fix committed in r902.

Actions

Also available in: Atom PDF