From 0258264dff951eed1340708933200b432a4e5689 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Thu, 10 Mar 2016 13:43:14 +0100 Subject: [PATCH] Upload control selector changed --- app/views/dmsf_upload/_multi_upload.html.erb | 58 ++++++++------------ config/locales/cs.yml | 12 ++-- config/locales/de.yml | 12 ++-- config/locales/en.yml | 12 ++-- config/locales/es.yml | 12 ++-- config/locales/fr.yml | 12 ++-- config/locales/ja.yml | 12 ++-- config/locales/pl.yml | 12 ++-- config/locales/pt-BR.yml | 12 ++-- config/locales/ru.yml | 10 ++-- config/locales/sl.yml | 12 ++-- config/locales/zh-TW.yml | 12 ++-- config/locales/zh.yml | 12 ++-- 13 files changed, 83 insertions(+), 117 deletions(-) diff --git a/app/views/dmsf_upload/_multi_upload.html.erb b/app/views/dmsf_upload/_multi_upload.html.erb index a2ccc21a..1ea277b2 100644 --- a/app/views/dmsf_upload/_multi_upload.html.erb +++ b/app/views/dmsf_upload/_multi_upload.html.erb @@ -24,46 +24,36 @@
<%= form_tag({:controller => 'dmsf_upload', :action => 'upload_files', :id => @project, :folder_id => @folder}, - :id => 'uploadform', :method=>:post, :multipart => true) do %> - <% if Setting.attachment_max_size.to_i >= 102400 %> -
- <%= l(:label_file_size) %>: - -
- <% end %> -

<%= l(:heading_file_upload) %>

-
- - <% max_file_upload = Setting.plugin_redmine_dmsf['dmsf_max_file_upload'].to_i %> - <%= l(:note_uploaded_maximum_files_at_once, :number => max_file_upload) if max_file_upload > 0 %> - <%= l(:note_upload_files_greater_than_two_gb) if Setting.attachment_max_size.to_i >= 2097151 %> - -
+ :id => 'uploadform', :method => :post, :multipart => true) do %> +
+ +
+

<%= l(:label_upload) %>

- + <%= render :partial => 'attachments/form' %>

- <%= submit_tag(l(:submit_upload_files)) %> + <%= submit_tag l(:label_upload) %>
<% end %>