chenlw_dev
cxt 9 years ago
parent 89330f9e40
commit 440ba27fa4

@ -1,3 +1,4 @@
#encoding: utf-8
class BlogComment < ActiveRecord::Base
# attr_accessible :title, :body
require 'net/http'

@ -1,3 +1,4 @@
#encoding: utf-8
#老师布置的作业表
#homework_type: 0:普通作业;1:匿评作业;2:编程作业
class HomeworkCommon < ActiveRecord::Base

@ -1,3 +1,4 @@
#encoding: utf-8
# Redmine - project management software
# Copyright (C) 2006-2013 Jean-Philippe Lang
#
@ -252,7 +253,7 @@ class Journal < ActiveRecord::Base
color:"#173177"
},
keyword1:{
value:self.author.try(:realname),
value:self.user.try(:realname),
color:"#173177"
},
keyword2:{
@ -260,7 +261,7 @@ class Journal < ActiveRecord::Base
color:"#173177"
},
keyword3:{
value:self.description.html_safe,
value:self.notes.html_safe,
color:"#173177"
},
remark:{

@ -1,3 +1,4 @@
#encoding: utf-8
# fq
# 数据库字段中带有m前缀和is_readed是二次开发添加之前的字段基本复用
# 注意reply_id 是提到人的id不是留言id, Base中叫做 at_user

@ -1,3 +1,4 @@
#encoding: utf-8
# Redmine - project management software
# Copyright (C) 2006-2013 Jean-Philippe Lang
#

Loading…
Cancel
Save