course网站中大学名加上该大学在本站的链接
This commit is contained in:
parent
a57d5fd823
commit
7a341972e7
|
@ -23,7 +23,7 @@
|
|||
<%= image_tag(@logoLink, size:'75x75') %>
|
||||
|
||||
</div>
|
||||
<div class="welcome_left" >
|
||||
<div class="course welcome_left" >
|
||||
<br />
|
||||
<span class="font_welcome_school"> <% 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 %>
|
||||
<br />
|
||||
<% 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'}%>
|
||||
<br />
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
@ -452,4 +452,15 @@ a.attachments_list_color {
|
|||
font-size: 10pt;
|
||||
}
|
||||
|
||||
/************************** 贴吧动态 结束 ****************************
|
||||
/************************** 贴吧动态 结束 ****************************/
|
||||
/************************** 学校课程 开始 ****************************/
|
||||
.course{
|
||||
|
||||
}
|
||||
.course .font_welcome_school{
|
||||
font-family: Tahoma,"Microsoft YaHei";
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
color:#e8770d;
|
||||
}
|
||||
/************************** 学校课程 结束 ****************************/
|
Loading…
Reference in New Issue