个人主页样式调整

This commit is contained in:
daiao 2016-12-16 16:25:18 +08:00
parent db3d403ec9
commit 122d3964ed
5 changed files with 5 additions and 6 deletions

View File

@ -14,7 +14,7 @@
<tr>
<th>
<li class="homepageTabTitle">
<%= link_to uh.name.to_s, student_work_index_path( :homework => uh.id, :tab => 2), :target => "_blank", :class => "homepageTabTitle fl ml5" %>
<%= link_to uh.name.to_s, student_work_index_path( :homework => uh.id, :tab => 1), :target => "_blank", :class => "homepageTabTitle fl ml5" %>
</li>
</th>
<th>

View File

@ -18,7 +18,7 @@
<th>
<li class="homepageTabProjectName ml5">
<% if up.polls_type == "Course" %>
<%= Course.find(up.polls_group_id).name %>
<%= link_to Course.find(up.polls_group_id).name, course_path(Course.find(up.polls_group_id)) %>
<% end %>
<li>
</th>

View File

@ -3,7 +3,7 @@
<table class="sy_new_table clear" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>作业标题</th>
<th>测验标题</th>
<th style="width:160px">来源</th>
<th style="width:80px">测验时长</th>
<th style="width:160px">截止剩余时间</th>

View File

@ -20,7 +20,7 @@
</th>
<th>
<li class="homepageTabProjectName ml5">
<%= ui.project.try(:name) %>
<%= link_to ui.project.try(:name), project_path(ui.project_id) %>
<li>
</th>
<th>

View File

@ -109,8 +109,7 @@
<!--
<div id="show_more_activities" class="loadMore mt10 f_grey">点击展开更多<%#=link_to "", user_activities_path(@user.id,:type => type,:page => page),:id => "more_activities_link",:remote => "true",:class => "none" %></div>
-->
<%= link_to "点击展开更多", action == "project_community" ? user_project_community_path(@user.id, :type => type, :page => page) : user_course_community_path(@user.id, :type => type,:page => page),
:id => "show_more_activities", :remote => "true", :class => "loadMore mt10 f_grey" %>
<%= link_to "点击展开更多", user_activities_path(@user.id,:type => type,:page => page), :id => "show_more_activities", :remote => "true", :class => "loadMore mt10 f_grey"%>
<% end%>
<!--