diff --git a/app/views/contest_notification/show.html.erb b/app/views/contest_notification/show.html.erb
index 93fa1f4af..a01201a67 100644
--- a/app/views/contest_notification/show.html.erb
+++ b/app/views/contest_notification/show.html.erb
@@ -9,7 +9,7 @@
- contest.trustie.net |
+ contest.trustie.net |
<%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_contest_innovate), :controller => 'welcome', :action => 'contest' %> > 详情 |
diff --git a/app/views/praise_tread/_praise_tread.html.erb b/app/views/praise_tread/_praise_tread.html.erb
index 696b204f9..49c3f1d5c 100644
--- a/app/views/praise_tread/_praise_tread.html.erb
+++ b/app/views/praise_tread/_praise_tread.html.erb
@@ -69,7 +69,6 @@
<% else %>
-
<% @is_valuate = is_praise_or_tread(obj,user_id)%>
<% if @is_valuate.size > 0 %>
<% @flag = @is_valuate.first.praise_or_tread %>
diff --git a/app/views/welcome/_more_course.html.erb b/app/views/welcome/_more_course.html.erb
new file mode 100644
index 000000000..41934a1ad
--- /dev/null
+++ b/app/views/welcome/_more_course.html.erb
@@ -0,0 +1,8 @@
+<% if User.current.logged?%>
+ <% if User.current.user_extensions.identity == 0 %>
+ <%= link_to(l(:label_course_new), {:controller => 'courses', :action => 'new'},
+ :class => 'icon icon-add') if User.current.allowed_to?(:add_course,nil, :global => true) %>
+ <% end %>
+<% end %>
+
+<%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => school_id} %>
\ No newline at end of file
diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb
index e25ef5665..9ec745f87 100644
--- a/app/views/welcome/course.html.erb
+++ b/app/views/welcome/course.html.erb
@@ -85,7 +85,7 @@
<%school_course=[]%>
<% end %>
<% if (school_course.count == 0) %>
-
<%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => nil} %>
+
<%= render :partial => 'more_course', :locals => {:school_id => nil}%>
@@ -103,11 +103,11 @@
<% else %>
<% if school_course.count < 10 %>
- <%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => nil} %>
+ <%= render :partial => 'more_course', :locals => {:school_id => nil}%>
<% else %>
- <%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => @school_id} %>
+ <%= render :partial => 'more_course', :locals => {:school_id => @school_id}%>
<% end %>