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