diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-01 12:09:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-01 12:09:09 +0000 |
commit | 6487c1803fa947f73c4667bb10f762a98487aa1b (patch) | |
tree | b4fc8295773fff6bde8aa060d2a8536b4cffc3e0 /app/views/issues | |
parent | ff65a5b22a5441476320a461c986a64b84ee025a (diff) | |
download | redmine-6487c1803fa947f73c4667bb10f762a98487aa1b.tar.gz redmine-6487c1803fa947f73c4667bb10f762a98487aa1b.zip |
option to set maximum size of uploaded files
git-svn-id: http://redmine.rubyforge.org/svn/trunk@131 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 0d4bfa497..a6fb46604 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -89,7 +89,7 @@ end %> <%= start_form_tag ({ :controller => 'issues', :action => 'add_attachment', :id => @issue }, :multipart => true, :class => "tabular") %>
<p id="attachments_p"><label><%=l(:label_attachment_new)%>
<%= link_to_function image_tag('add'), "addFileField()" %></label>
- <%= file_field_tag 'attachments[]', :size => 30 %></p>
+ <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= human_size(Attachment.max_size) %>)</em></p>
<%= submit_tag l(:button_add) %>
<%= end_form_tag %>
<% end %>
|