This commit is contained in:
parent
89330f9e40
commit
440ba27fa4
|
@ -1,3 +1,4 @@
|
||||||
|
#encoding: utf-8
|
||||||
class BlogComment < ActiveRecord::Base
|
class BlogComment < ActiveRecord::Base
|
||||||
# attr_accessible :title, :body
|
# attr_accessible :title, :body
|
||||||
require 'net/http'
|
require 'net/http'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#encoding: utf-8
|
||||||
#老师布置的作业表
|
#老师布置的作业表
|
||||||
#homework_type: 0:普通作业;1:匿评作业;2:编程作业
|
#homework_type: 0:普通作业;1:匿评作业;2:编程作业
|
||||||
class HomeworkCommon < ActiveRecord::Base
|
class HomeworkCommon < ActiveRecord::Base
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#encoding: utf-8
|
||||||
# Redmine - project management software
|
# Redmine - project management software
|
||||||
# Copyright (C) 2006-2013 Jean-Philippe Lang
|
# Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||||
#
|
#
|
||||||
|
@ -252,7 +253,7 @@ class Journal < ActiveRecord::Base
|
||||||
color:"#173177"
|
color:"#173177"
|
||||||
},
|
},
|
||||||
keyword1:{
|
keyword1:{
|
||||||
value:self.author.try(:realname),
|
value:self.user.try(:realname),
|
||||||
color:"#173177"
|
color:"#173177"
|
||||||
},
|
},
|
||||||
keyword2:{
|
keyword2:{
|
||||||
|
@ -260,7 +261,7 @@ class Journal < ActiveRecord::Base
|
||||||
color:"#173177"
|
color:"#173177"
|
||||||
},
|
},
|
||||||
keyword3:{
|
keyword3:{
|
||||||
value:self.description.html_safe,
|
value:self.notes.html_safe,
|
||||||
color:"#173177"
|
color:"#173177"
|
||||||
},
|
},
|
||||||
remark:{
|
remark:{
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#encoding: utf-8
|
||||||
# fq
|
# fq
|
||||||
# 数据库字段中带有m前缀和is_readed是二次开发添加,之前的字段基本复用
|
# 数据库字段中带有m前缀和is_readed是二次开发添加,之前的字段基本复用
|
||||||
# 注意reply_id 是提到人的id,不是留言id, Base中叫做 at_user
|
# 注意reply_id 是提到人的id,不是留言id, Base中叫做 at_user
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#encoding: utf-8
|
||||||
# Redmine - project management software
|
# Redmine - project management software
|
||||||
# Copyright (C) 2006-2013 Jean-Philippe Lang
|
# Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue