chenlw_dev
guange 9 years ago
commit 3ff19364dc

@ -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,4 +1,4 @@
# encoding: utf-8 #coding=utf-8
# Redmine - project management software # Redmine - project management software
# Copyright (C) 2006-2013 Jean-Philippe Lang # Copyright (C) 2006-2013 Jean-Philippe Lang
# #
@ -253,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:{
@ -261,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,5 +1,4 @@
#coding=utf-8 #coding=utf-8
# fq
# 数据库字段中带有m前缀和is_readed是二次开发添加之前的字段基本复用 # 数据库字段中带有m前缀和is_readed是二次开发添加之前的字段基本复用
# 注意reply_id 是提到人的id不是留言id, Base中叫做 at_user # 注意reply_id 是提到人的id不是留言id, Base中叫做 at_user
class JournalsForMessage < ActiveRecord::Base class JournalsForMessage < ActiveRecord::Base
@ -314,7 +313,7 @@ class JournalsForMessage < ActiveRecord::Base
unless uw.nil? unless uw.nil?
data = { data = {
touser:uw.openid, touser:uw.openid,
template_id:"3e5Dj2GIx8MOcMyRKpTUEQnM7Tg0ASSCNc01NS9HCGI", template_id:"A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c",
url:"http://weixin.qq.com/download", url:"http://weixin.qq.com/download",
topcolor:"#FF0000", topcolor:"#FF0000",
data:{ data:{

@ -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
# #

@ -67,6 +67,7 @@
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div> <div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
</div> </div>
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis underline" text-auto-height>点击展开</a> <a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis underline" text-auto-height>点击展开</a>
<div class="cl"></div>
<span class="c-grey f13 mt10 fl">{{act.latest_update}}</span> <span class="c-grey f13 mt10 fl">{{act.latest_update}}</span>
<div class="cl"></div> <div class="cl"></div>
</div> </div>

@ -26,7 +26,7 @@ a.c-grey {color:#707070;}
a:link,a:visited{text-decoration:none;} a:link,a:visited{text-decoration:none;}
a:hover,a:active{cursor:pointer;} a:hover,a:active{cursor:pointer;}
a.link-blue {color:#269ac9;} a.link-blue {color:#269ac9;}
a.underline {text-decoration: underline;} a.underline {text-decoration:underline;}
.border-radius {border-radius:5px;} .border-radius {border-radius:5px;}
.max-width-60 {max-width:60px;} .max-width-60 {max-width:60px;}
.max-width-130 {max-width:130px;} .max-width-130 {max-width:130px;}
@ -56,7 +56,7 @@ a.underline {text-decoration: underline;}
.post-reply-row {padding:10px; color:#9a9a9a;} .post-reply-row {padding:10px; color:#9a9a9a;}
.post-reply-avatar {width:45px; height:30px; text-align:center; margin-right:10px;} .post-reply-avatar {width:45px; height:30px; text-align:center; margin-right:10px;}
.post-reply-user {font-size:13px; text-align:left; margin-bottom:10px;} .post-reply-user {font-size:13px; text-align:left; margin-bottom:10px;}
.post-reply-content {font-size:13px; text-align:left; word-break:break-all; word-wrap:break-word;} .post-reply-content {font-size:13px; text-align:left; word-break:break-all; word-wrap:break-word; overflow:hidden;}
.post-reply-date {font-size:13px;} .post-reply-date {font-size:13px;}
.post-reply-trigger {font-size:13px;} .post-reply-trigger {font-size:13px;}
.post-reply-input {width:100%; height:28px; line-height:28px; border:1px solid #e6e6e6; outline:none; border-radius:3px;} .post-reply-input {width:100%; height:28px; line-height:28px; border:1px solid #e6e6e6; outline:none; border-radius:3px;}

Loading…
Cancel
Save