修改html错误

competition
sw 11 years ago
parent a3cbcdad51
commit bb6be3ed8a

@ -18,7 +18,7 @@ class IssueOverdue < ActiveRecord::Base
sleep 5 sleep 5
else else
#发邮件 #发邮件
puts "11" + issue.id.to_s #puts "11" + issue.id.to_s
#Mailer.issue_expire(issue).deliver #Mailer.issue_expire(issue).deliver
Mailer.issue_add(issue).deliver Mailer.issue_add(issue).deliver
break break

@ -276,7 +276,7 @@
<!-- 评价显隐控制按钮--> <!-- 评价显隐控制按钮-->
<% if ((User.current.id == @contest.author_id) && (@contest.deadline > Date.today))||User.current.admin %> <% if ((User.current.id == @contest.author_id) && (@contest.deadline > Date.today))||User.current.admin %>
<div style="valign=" top" align="right" width="10%""> <div style="text-align: right;width: 100%;">
<span style="padding-right: 5px; padding-top: 1px"> <%= toggle_link '评奖', c_softapplication.id.to_s %></span> <span style="padding-right: 5px; padding-top: 1px"> <%= toggle_link '评奖', c_softapplication.id.to_s %></span>
<!-- 评价应标项目的表单 --> <!-- 评价应标项目的表单 -->
<span style="display: none; vertical-align: top " id='<%= c_softapplication.id %>'> <span style="display: none; vertical-align: top " id='<%= c_softapplication.id %>'>

@ -11,7 +11,7 @@
# #
# It's strongly recommended to check this file into your version control system. # It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20140730021521) do ActiveRecord::Schema.define(:version => 20140730024419) do
create_table "activities", :force => true do |t| create_table "activities", :force => true do |t|
t.integer "act_id", :null => false t.integer "act_id", :null => false
@ -272,7 +272,7 @@ ActiveRecord::Schema.define(:version => 20140730021521) do
t.integer "contest_id" t.integer "contest_id"
t.string "title" t.string "title"
t.string "summary" t.string "summary"
t.string "description" t.text "description"
t.integer "author_id" t.integer "author_id"
t.integer "notificationcomments_count" t.integer "notificationcomments_count"
t.datetime "created_at", :null => false t.datetime "created_at", :null => false
@ -848,7 +848,7 @@ ActiveRecord::Schema.define(:version => 20140730021521) do
t.integer "osp_id" t.integer "osp_id"
t.integer "parent_id" t.integer "parent_id"
t.string "subject", :null => false t.string "subject", :null => false
t.text "content", :null => false t.text "content", :limit => 16777215, :null => false
t.integer "author_id" t.integer "author_id"
t.integer "replies_count", :default => 0 t.integer "replies_count", :default => 0
t.integer "last_reply_id" t.integer "last_reply_id"

Loading…
Cancel
Save