- <%= textilizable( truncate(e.event_description, :length => 240)) %> + <%= textilizable(truncate(e.event_description, :length => 68)) %>
From 607eb2c2ffeb030c4f7d57a60579b44d56112cc0 Mon Sep 17 00:00:00 2001
From: xianbo
<% if(@project.project_type==1) %> + | |
+ <% if(@project.project_type==1) %> <% if get_avatar?(@project) %> <%= image_tag(url_to_avatar(@project), :class => "avatar2") %> <% else %> @@ -67,7 +67,7 @@ <% end %> |
- <%= @project.name %>
+ <%= @project.name %>
<%if User.current.logged? %>
<% if @course.teacher.id == User.current.id %>
diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb
index ba6483585..ae3401151 100644
--- a/app/views/layouts/base_homework.html.erb
+++ b/app/views/layouts/base_homework.html.erb
@@ -31,7 +31,7 @@
|
<%= link_to "forge.trustie.net/courses", :controller => 'projects', :action => 'course'%> | <%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > - <%= link_to(@bid.courses.first.name.slice(0..6), project_path(@bid.courses.first)) %> > + <%= link_to(@bid.courses.first.name,project_path(@bid.courses.first)) %> > <%=link_to(@bid.name, respond_path(@bid))%> |
- <%= textilizable( truncate(e.event_description, :length => 240)) %> + <%= textilizable(truncate(e.event_description, :length => 68)) %>