summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 10:12:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 10:12:26 +0000
commitc6106543e1c54f7a776a77140717ef6fbd924233 (patch)
tree872db9eb42187bfb7de4b3a5e0d6be646eb305ed /app
parent8ee2ae1846bf7191e9ce56c6cb70429ac2341be7 (diff)
downloadredmine-c6106543e1c54f7a776a77140717ef6fbd924233.tar.gz
redmine-c6106543e1c54f7a776a77140717ef6fbd924233.zip
html5 compliance.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10110 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb2
-rw-r--r--app/views/attachments/_form.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index ece3f7844..1ba4c4635 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -290,7 +290,7 @@ module IssuesHelper
unless no_html
label = content_tag('strong', label)
old_value = content_tag("i", h(old_value)) if detail.old_value
- old_value = content_tag("strike", old_value) if detail.old_value and detail.value.blank?
+ old_value = content_tag("del", old_value) if detail.old_value and detail.value.blank?
if detail.property == 'attachment' && !value.blank? && atta = Attachment.find_by_id(detail.prop_key)
# Link to the attachment if it has not been removed
value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
diff --git a/app/views/attachments/_form.html.erb b/app/views/attachments/_form.html.erb
index dd55fa3f1..e47c288a9 100644
--- a/app/views/attachments/_form.html.erb
+++ b/app/views/attachments/_form.html.erb
@@ -8,7 +8,7 @@
<% end %>
<span id="attachments_fields">
<span>
- <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil, :class => 'file',
+ <%= file_field_tag 'attachments[1][file]', :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)))}');" -%>
<%= text_field_tag 'attachments[1][description]', '', :id => nil, :class => 'description', :maxlength => 255, :placeholder => l(:label_optional_description) %>
<%= link_to_function(image_tag('delete.png'), 'removeFileField(this)', :title => (l(:button_delete))) %>