diff --git a/app/views/courses/_course_ad.html.erb b/app/views/courses/_course_ad.html.erb new file mode 100644 index 000000000..0db7cb4ec --- /dev/null +++ b/app/views/courses/_course_ad.html.erb @@ -0,0 +1,93 @@ + +
+ + + + + + + + + + +
+ 联系我们 +
+ QQ:1234566
+
+ Email:1234566@qq.com
+
+
+ + \ No newline at end of file diff --git a/app/views/courses/show.html.erb b/app/views/courses/show.html.erb index ee7d995e7..ed83a3085 100644 --- a/app/views/courses/show.html.erb +++ b/app/views/courses/show.html.erb @@ -1,3 +1,4 @@ +<%= render 'course_ad' %> <% if @events_by_day != nil && @events_by_day.size >0 %>