# HG changeset patch # User Chris Cannam # Date 1351268359 -3600 # Node ID a5af76c3fca02bae124604c7e8200aeb931f6481 # Parent 5beffb0393f785e9f19682d4a153f3040c959a2b# Parent 8b6acaabe2da3431334f63f3453f37fe35353498 Merge from live branch diff -r 8b6acaabe2da -r a5af76c3fca0 app/views/attachments/_form.html.erb --- a/app/views/attachments/_form.html.erb Thu Oct 25 14:55:04 2012 +0100 +++ b/app/views/attachments/_form.html.erb Fri Oct 26 17:19:19 2012 +0100 @@ -2,10 +2,10 @@ <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil, :class => 'file', :onchange => "checkFileSize(this, #{Setting.attachment_max_size.to_i.kilobytes}, '#{escape_javascript(l(:error_attachment_too_big, :max_size => number_to_human_size(Setting.attachment_max_size.to_i.kilobytes)))}');" -%> - - <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %> + + <%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %> -<%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %> +
<%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %> (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>) diff -r 8b6acaabe2da -r a5af76c3fca0 public/stylesheets/application.css --- a/public/stylesheets/application.css Thu Oct 25 14:55:04 2012 +0100 +++ b/public/stylesheets/application.css Fri Oct 26 17:19:19 2012 +0100 @@ -500,7 +500,7 @@ .summary {font-style: italic;} #attachments_fields input[type=text] {margin-left: 8px; } -#attachments_fields span {display:block; white-space:nowrap;} +/*#attachments_fields span {display:block; white-space:nowrap;} */ #attachments_fields img {vertical-align: middle;} div.attachments { margin-top: 12px; }