From 53d144e8d26934023766aa4611d844e92d19d017 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Sun, 8 Mar 2015 17:33:55 +0800 Subject: [PATCH 01/12] =?UTF-8?q?project=E5=8A=A8=E6=80=81=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E9=A1=B5=E5=9C=A8=E6=9C=80=E5=90=8E=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/kaminari/_page.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/kaminari/_page.html.erb b/app/views/kaminari/_page.html.erb index 0b5e68075..a40f17dc4 100644 --- a/app/views/kaminari/_page.html.erb +++ b/app/views/kaminari/_page.html.erb @@ -9,5 +9,5 @@ <%= link_to_unless page.current?, page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} -%> - <%= link_to_unless page.current?, page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %> + <%= link_to page, url, page.current? ? {:remote => remote,:class => 'current-page', :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} : {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %> From bd9a645c2cf99cacf33ad85bb03ba81641dcd769 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Sun, 8 Mar 2015 17:36:45 +0800 Subject: [PATCH 02/12] =?UTF-8?q?project=E5=8A=A8=E6=80=81=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E9=A1=B5=E7=A0=81=E6=95=B0=E6=98=BE=E7=A4=BA=E4=B8=AA?= =?UTF-8?q?=E6=95=B0=E5=87=8F=E5=B0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 37c7a81a7..fc64d3af8 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -180,4 +180,4 @@ -<%= paginate @events_pages %> \ No newline at end of file +<%= paginate @events_pages, :window => 3%> \ No newline at end of file From 659a87ef606736927c9c02acc345ae0e46f89384 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Mon, 9 Mar 2015 09:11:57 +0800 Subject: [PATCH 03/12] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E5=8C=96=E6=A0=87=E7=AD=BE=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_my_joinedcourse.html.erb | 4 ++-- config/locales/en.yml | 2 ++ config/locales/zh.yml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb index 373ed9234..e616004e6 100644 --- a/app/views/users/_my_joinedcourse.html.erb +++ b/app/views/users/_my_joinedcourse.html.erb @@ -16,8 +16,8 @@
diff --git a/config/locales/en.yml b/config/locales/en.yml index 857259392..bebfb5605 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1876,3 +1876,5 @@ en: label_submit_comments: Submit_comments label_course_empty_select: You have not selected course! label_enterprise_page_made: enterprise_page + + label_add_tag: Add Tag diff --git a/config/locales/zh.yml b/config/locales/zh.yml index c6e303b00..8bcb8284b 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2580,3 +2580,5 @@ zh: label_part_enterprise_tips: 您可能对系统的其它项目感兴趣! label_enterprise_nil: 该模块为最新上线模块,目前还没有创建企业项目! label_enterprises: 组织 + + label_add_tag: 添加标签 From 8c44d2575070b7eba6c1e289c46652bc5cd47d99 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Mon, 9 Mar 2015 10:27:32 +0800 Subject: [PATCH 04/12] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=90=9C=E7=B4=A2=E4=B8=AD=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/tags/_show_attachments.html.erb | 33 +++++++++++++++++------ config/locales/zh.yml | 7 +++++ 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/app/views/tags/_show_attachments.html.erb b/app/views/tags/_show_attachments.html.erb index 509acc0ba..a76211fc6 100644 --- a/app/views/tags/_show_attachments.html.erb +++ b/app/views/tags/_show_attachments.html.erb @@ -9,18 +9,35 @@输入好友邮箱地址,Trustie帮您免费发送!
-