diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index b8b755b58..f2ae619d8 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -23,7 +23,7 @@ <%= image_tag(@logoLink, size:'75x75') %> -
+

<% if params[:school_id].nil? and User.current.user_extensions.school.nil? %> <% else%> @@ -33,7 +33,7 @@ <%= School.find(User.current.user_extensions.school.id).name %>
<% else %> - <%= School.find(params[:school_id]).name %> + <%= link_to School.find(params[:school_id]).name,options={:action => 'course',:school_id => params[:school_id]}, html_options={:class => 'font_welcome_school',:method => 'get'}%>
<% end %> <% end %> diff --git a/public/stylesheets/welcome.css b/public/stylesheets/welcome.css index 2533305f7..f7756e5b8 100644 --- a/public/stylesheets/welcome.css +++ b/public/stylesheets/welcome.css @@ -452,4 +452,15 @@ a.attachments_list_color { font-size: 10pt; } - /************************** 贴吧动态 结束 **************************** \ No newline at end of file + /************************** 贴吧动态 结束 ****************************/ + /************************** 学校课程 开始 ****************************/ + .course{ + + } + .course .font_welcome_school{ + font-family: Tahoma,"Microsoft YaHei"; + font-weight: bold; + font-size: 20px; + color:#e8770d; +} +/************************** 学校课程 结束 ****************************/ \ No newline at end of file