Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
commit
e1e8942dc7
@ -1,3 +1,4 @@
|
||||
class ContestNotification < ActiveRecord::Base
|
||||
attr_accessible :content, :title
|
||||
validates_length_of :title, maximum: 30
|
||||
end
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- added by bai -->
|
||||
<div><%= l(:label_file_number) %> * 4 = <%= document_num(@project) %> * 4 = <%= format("%.2f" , document_score(@project)).to_i %></div>
|
||||
<div><%= l(:label_file_score) %> = <%= format("%.2f" , document_score(@project)).to_i %></div>
|
||||
<div><%= l(:label_file_number) %> * 4 = <%= documents_num(@project) %> * 4 = <%= format("%.2f" , documents_score(@project)).to_i %></div>
|
||||
<div><%= l(:label_file_score) %> = <%= format("%.2f" , documents_score(@project)).to_i %></div>
|
||||
<!-- end -->
|
Loading…
Reference in new issue