From 7123c664818fd15db394baa0e26a394a1e9787e1 Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 5 Sep 2016 16:20:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=EF=BC=9A=E7=82=B9=E5=87=BB=E8=AF=BE=E7=A8=8B=E7=9A=84=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=B0=B1=E5=BC=B9=E5=87=BA=E6=96=B0=E7=9A=84tab?= =?UTF-8?q?=E9=A1=B5=EF=BC=8C=E8=BF=9B=E5=85=A5=E8=AF=BE=E7=A8=8B=E7=9A=84?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_syllabus_course_list.html.erb | 6 +++--- public/stylesheets/syllabus.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/users/_syllabus_course_list.html.erb b/app/views/users/_syllabus_course_list.html.erb index 993192978..0759cb5b6 100644 --- a/app/views/users/_syllabus_course_list.html.erb +++ b/app/views/users/_syllabus_course_list.html.erb @@ -19,10 +19,10 @@ <% syllabuses.each_with_index do |syllabus, index|%>
<% course_count = syllabus.courses.not_deleted.count %> -
+
- -

<%=syllabus.title %>

+ + <%=link_to syllabus.title, syllabus_path(syllabus.id), :class => 'syllabus_courses_title fl', :target => '_blank' %>

更新时间:<%=format_date syllabus.updated_at %> 创建老师:<%=syllabus.user.show_name %> diff --git a/public/stylesheets/syllabus.css b/public/stylesheets/syllabus.css index f6a8e8e6e..5880e5c30 100644 --- a/public/stylesheets/syllabus.css +++ b/public/stylesheets/syllabus.css @@ -88,7 +88,7 @@ input.syllabus_input_min{ .syllabus_box{ width:750px; border:1px solid #e7e7e7; background-color:#fff;} .syllabus_courses_list{ padding:15px; border-bottom:1px solid #e7e7e7; cursor:pointer;} .syllabus_courses_list:hover{ background:#f6fafd;} -.syllabus_courses_title{ font-size:16px; color:#333; width:650px; font-weight:normal;white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } +.syllabus_courses_title{ font-size:16px; color:#333 !important; width:650px; font-weight:normal;white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .sy_p_grey{ margin-left:25px; color:#888; margin-top:5px; font-size:12px;} .syllabus_class_box{ padding-left:43px; background:#f6f6f6;} .syllabus_class_list{ padding:12px 0 12px 15px; height:44px;border-left:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7; position:relative;}