Commit Graph

5136 Commits

Author SHA1 Message Date
lizanle 999b395763 添加Kaminari分页样式文件,
_paginator.html.erb 这是总的入口文件,可以通过修改它来调整显示的整体结构
比如我不需要“首页”,”末页“这两个链接,那么我就在这个文件里面将对应的代码删除
_page.html.erb 对应页码链接
_first_page.html.erb / _last_page.html.erb 对应“首页”和“末页”的链接
_prev_page.html.erb / _next_page.html.erb 对应“上一页”和“下一页”的链接
_gap.html.erb 空隙的显示,默认是中间的省略号(...)
2015-01-30 17:26:23 +08:00
lizanle ff80bea0c2 添加Kaminari配置文件,并给出了比较详细的注释 2015-01-30 17:25:27 +08:00
lizanle a47cb8eb65 去掉原有的样式分页样式 2015-01-30 17:24:56 +08:00
lizanle c543a28cc8 重写url_helper link_to_unless方法,给Kaminari当前页添加样式 2015-01-30 17:24:26 +08:00
lizanle 55e049edbb 去掉Kaminari分页样式 2015-01-30 17:23:04 +08:00
lizanle 3e2deaf0e3 添加Kaminari分页样式 2015-01-30 17:22:36 +08:00
z9hang d8571ac931 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 16:58:18 +08:00
z9hang 6bd202e80a 课程作业列表当当前用户为课程学生时,输出分配给改学生匿评的作业集合 2015-01-30 16:58:05 +08:00
sw ede400e982 Merge branch 'szzh' into develop 2015-01-30 16:45:46 +08:00
sw 269f1835b0 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 16:19:35 +08:00
sw 34c68a59fc 关闭问卷之后老师容许查看统计结果 2015-01-30 16:19:05 +08:00
alan a429cadc7a Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-30 16:05:55 +08:00
sw 3648856011 1、修改作业显示界面show不正确
2、修改作业显示界面部分浏览器星星显示异常
2015-01-30 16:05:52 +08:00
alan f2a3ce0ece 修改《网页标题显示为“中国高校”不合适》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-30 16:05:36 +08:00
sw 80c5ee44f1 Merge branch 'szzh' into develop 2015-01-30 15:27:54 +08:00
sw a0debe77bb 111 2015-01-30 15:27:16 +08:00
alan 661dbe5219 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-30 14:52:48 +08:00
alan a467736a5e 修改《多字段唯一性判断》
Signed-off-by: alan <547533434@qq.com>
2015-01-30 14:52:36 +08:00
huang 864ed349e4 国际化 2015-01-30 14:48:24 +08:00
huang 666ebf9b5b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 14:45:47 +08:00
huang 9e470fa25c meigia 2015-01-30 14:45:33 +08:00
sw 0d6261dfa7 Merge branch 'dev_zanle' into szzh
Conflicts:
	app/controllers/projects_controller.rb
	app/helpers/projects_helper.rb
2015-01-30 14:38:54 +08:00
sw 31c78279ea 删除多余的一个end 2015-01-30 14:31:15 +08:00
huang d91c0442d1 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 14:29:01 +08:00
huang 29df528af1 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/welcome/index.html.erb
	config/locales/zh.yml
	config/routes.rb
2015-01-30 14:27:56 +08:00
sw 36c07f9664 修改拒绝项目成员加入后,页面不会刷新的BUG 2015-01-30 14:16:32 +08:00
huang d0a675f2b8 企业版模块 2015-01-30 14:11:35 +08:00
lizanle 22dd4981c0 修改分页函数 2015-01-30 13:35:10 +08:00
lizanle b453d16228 将controller里的两个方法挪到helper 2015-01-30 13:30:06 +08:00
lizanle 90649209ca 封装,简化,重新编排代码格式,并删掉了一些无用的方法代码 2015-01-30 13:29:25 +08:00
lizanle abc5dd1c74 添加表格样式 2015-01-30 12:07:07 +08:00
lizanle 0232826a6e 上次修改引入bug:关键字查询不到任何东西 2015-01-30 12:04:33 +08:00
lizanle e761cd5f22 关键字查询会丢失样式 2015-01-30 11:52:37 +08:00
sw 87fdd840ec 首页加入项目增加已是当前项目的判断 2015-01-30 11:39:19 +08:00
lizanle 852bb940a2 过滤掉日志中日志分析的请求 2015-01-30 11:31:41 +08:00
sw a265556cfe 搜索项目时增加js验证增加 2015-01-30 11:00:18 +08:00
sw 0d5384c6d8 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 10:37:58 +08:00
sw 97ec208b1a Merge branch 'dev_zanle' into szzh
Conflicts:
	config/routes.rb
2015-01-30 10:37:05 +08:00
whimlex deadea81fa Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 10:35:23 +08:00
whimlex 617107f0cb Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/welcome/index.html.erb
	config/locales/zh.yml
2015-01-30 10:34:47 +08:00
lizanle 0785384813 修改bug,课程动态报错 2015-01-30 10:28:31 +08:00
lizanle f3f590a834 # 这写变量发现没有用而且拖慢速度
#@teachers= searchTeacherAndAssistant(@course)
    #@canShowRealName = isCourseTeacher(User.current.id,@course)
2015-01-30 10:27:21 +08:00
whimlex f05e046751 首页国际化 2015-01-30 10:26:26 +08:00
sw 6bca666f08 #1896 课程--问卷调查--新建题目时点击确定按钮无反应 2015-01-30 10:24:06 +08:00
sw c56f641163 修改首页加入项目按钮没反应 2015-01-30 09:57:43 +08:00
sw e8335cec5c Merge branch 'szzh' into develop 2015-01-30 09:07:32 +08:00
sw ce526fde77 Merge branch 'dev_zanle' into szzh
Conflicts:
	config/routes.rb
2015-01-30 09:05:47 +08:00
sw efef505194 Merge branch 'szzh' into develop 2015-01-30 08:59:54 +08:00
sw 2978d9020f Merge branch 'develop' into szzh 2015-01-29 17:44:37 +08:00
sw c366cc90e7 修改删除问卷后相关BUG 2015-01-29 17:33:10 +08:00