From 7bd047f7e4bbc5ef3a4d0f86e3c2b99949fae842 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 13 May 2016 11:25:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BB=84=E7=BB=87=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=BA=8C=E4=B8=AD=E5=90=8D=E5=B8=88=E6=A6=9C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_org2.html.erb | 2 ++ .../_org_subfield_rightM2.html.erb | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 app/views/organizations/_org_subfield_rightM2.html.erb diff --git a/app/views/layouts/base_org2.html.erb b/app/views/layouts/base_org2.html.erb index 6a641d0f2..9b481fac5 100644 --- a/app/views/layouts/base_org2.html.erb +++ b/app/views/layouts/base_org2.html.erb @@ -157,6 +157,8 @@ <%= render :partial => 'organizations/org_subfield_rightM', :locals => {:field => field} %> <% elsif field.status.to_i == 8 %> <%= render :partial => 'organizations/org_subfield_rightD', :locals => {:field => field} %> + <% elsif field.status.to_i == 23 %> + <%= render :partial => 'organizations/org_subfield_rightM2', :locals => {:field => field} %> <% end %> <% end %> diff --git a/app/views/organizations/_org_subfield_rightM2.html.erb b/app/views/organizations/_org_subfield_rightM2.html.erb new file mode 100644 index 000000000..1f954b66a --- /dev/null +++ b/app/views/organizations/_org_subfield_rightM2.html.erb @@ -0,0 +1,24 @@ +
+

名师风采更多

+
+
张晓华国防科学技术大学
+
博客 8课程 2学生 218
+
+
+
+
张晓华国防科学技术大学
博客 8课程 2学生 218
+
+
+
+
张晓华国防科学技术大学
博客 8课程 2学生 218
+
+
+
+
张晓华国防科学技术大学
博客 8课程 2学生 218
+
+
+
+
张晓华国防科学技术大学
博客 8课程 2学生 218
+
+
+
\ No newline at end of file From 457bac0b9d63160c4ee63b691fe6ddf441acb278 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 13 May 2016 11:30:49 +0800 Subject: [PATCH 2/2] 0 --- app/views/organizations/teachers.html.erb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/organizations/teachers.html.erb b/app/views/organizations/teachers.html.erb index 211641fcb..a7417fa1b 100644 --- a/app/views/organizations/teachers.html.erb +++ b/app/views/organizations/teachers.html.erb @@ -9,11 +9,12 @@ - + + + + + +
名师列表