用户动态兼容空留言

This commit is contained in:
nwb 2014-07-28 09:18:24 +08:00
parent 1922593fee
commit 00cf448bda
2 changed files with 11 additions and 4 deletions

View File

@ -137,7 +137,12 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580"><p class="font_description"> <%= act.notes.html_safe %> </p>
<% if act.notes.nil? %>
<% desStr = '' %>
<% else %>
<% desStr=act.notes.html_safe %>
<% end %>
<td colspan="2" width="580"><p class="font_description"> <%= desStr %> </p>
</td>
</tr>
<tr>

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20140725034309) do
ActiveRecord::Schema.define(:version => 20140725073357) do
create_table "activities", :force => true do |t|
t.integer "act_id", :null => false
@ -419,10 +419,12 @@ ActiveRecord::Schema.define(:version => 20140725034309) do
t.string "web_title"
t.string "title"
t.text "description"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "page_type"
t.integer "sort_type"
t.integer "image_width", :default => 107
t.integer "image_height", :default => 63
end
create_table "forums", :force => true do |t|