|
|
@ -23,17 +23,17 @@
|
|
|
|
<%= image_tag(@logoLink, size:'75x75') %>
|
|
|
|
<%= image_tag(@logoLink, size:'75x75') %>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="welcome_left" >
|
|
|
|
<div class="course welcome_left" >
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<span class="font_welcome_school"> <% if params[:school_id].nil? and User.current.user_extensions.school.nil? %>
|
|
|
|
<span class="font_welcome_school"> <% if params[:school_id].nil? and User.current.user_extensions.school.nil? %>
|
|
|
|
<% else%>
|
|
|
|
<% else%>
|
|
|
|
<% if params[:school_id] == "0" %>
|
|
|
|
<% if params[:school_id] == "0" %>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<% if params[:school_id].nil? %>
|
|
|
|
<% if params[:school_id].nil? %>
|
|
|
|
<%= School.find(User.current.user_extensions.school.id).name %>
|
|
|
|
<%= link_to School.find(User.current.user_extensions.school.id).name, options={:action => 'course',:school_id => User.current.user_extensions.school.id}, html_options={:class => 'font_welcome_school',:method => 'get'}%>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<% else %>
|
|
|
|
<% 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 />
|
|
|
|
<br />
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
@ -144,8 +144,8 @@
|
|
|
|
<% find_new_forum_topics(10).each do |topic|%>
|
|
|
|
<% find_new_forum_topics(10).each do |topic|%>
|
|
|
|
<li class="message-brief-intro" style="min-height: 65px; line-height:2em; ">
|
|
|
|
<li class="message-brief-intro" style="min-height: 65px; line-height:2em; ">
|
|
|
|
<div style="display: inline-block; width: 100%;">
|
|
|
|
<div style="display: inline-block; width: 100%;">
|
|
|
|
<span style="color:gray; display: inline-block; margin-bottom:6px; background: url('/images/list-icon.png') no-repeat scroll ;background-position: left center;">
|
|
|
|
<span class="memo_activity" style="color:gray; display: inline-block; margin-bottom:6px; background: url('/images/list-icon.png') no-repeat scroll ;background-position: left center;">
|
|
|
|
<%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url, :class => "gray" , :style => "font-size: 10pt !important;" %>
|
|
|
|
<%= link_to '['+topic.forum.name + ']',forum_path(topic.forum),:class => 'memo_Bar_title' %><%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url, :class => "gray" , :style => "font-size: 10pt !important;" %>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<span style="margin-left: 24px; color: rgb(172, 174, 177); white-space: nowrap; font-size:9pt !important;;"><%= l(:field_updated_on) %><%=time_tag_welcome(topic_last_time topic)%>前</span>
|
|
|
|
<span style="margin-left: 24px; color: rgb(172, 174, 177); white-space: nowrap; font-size:9pt !important;;"><%= l(:field_updated_on) %><%=time_tag_welcome(topic_last_time topic)%>前</span>
|
|
|
|