待办任务的所有列表页,首列加上发布人的头像
This commit is contained in:
parent
884a201953
commit
b4d4fa4e28
|
@ -3,6 +3,7 @@
|
|||
<table class="sy_new_table clear" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40px"></th>
|
||||
<th><li class="fl ml5">作业标题</li></th>
|
||||
<th style="width:160px">来源</th>
|
||||
<th style="width:80px">类型</th>
|
||||
|
@ -12,6 +13,9 @@
|
|||
<tbody>
|
||||
<% @anonymous_evaluation.each do |ae| %>
|
||||
<tr>
|
||||
<th class="homepageTabAvatar">
|
||||
<%= link_to image_tag(url_to_avatar(ae.user), :width => "30", :height => "30"), user_path(ae.user), :target => '_blank' %>
|
||||
</th>
|
||||
<th>
|
||||
<li class="homepageTabTitle">
|
||||
<%= link_to ae.name.to_s, student_work_index_url(:homework => ae.id, :tab => 2), :target => "_blank", :class => "homepageTabTitle fl ml5" %>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<table class="sy_new_table clear" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40px"></th>
|
||||
<th><li class="fl ml5">作业标题</li></th>
|
||||
<th style="width:160px">来源</th>
|
||||
<th style="width:80px">类型</th>
|
||||
|
@ -12,6 +13,9 @@
|
|||
<tbody>
|
||||
<% @unfinished_homeworks.each do |uh| %>
|
||||
<tr>
|
||||
<th class="homepageTabAvatar">
|
||||
<%= link_to image_tag(url_to_avatar(uh.user), :width => "30", :height => "30"), user_path(uh.user), :target => '_blank' %>
|
||||
</th>
|
||||
<th>
|
||||
<li class="homepageTabTitle">
|
||||
<%= link_to uh.name.to_s, student_work_index_path( :homework => uh.id, :tab => 1), :target => "_blank", :class => "homepageTabTitle fl ml5", :title => "#{uh.name.to_s}" %>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<table class="sy_new_table clear" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40px"></th>
|
||||
<th><li class="fl ml5">问卷标题</li></th>
|
||||
<th style="width:160px">来源</th>
|
||||
</tr>
|
||||
|
@ -10,6 +11,9 @@
|
|||
<tbody>
|
||||
<% @unfinished_poll.each do |up| %>
|
||||
<tr>
|
||||
<th class="homepageTabAvatar">
|
||||
<%= link_to image_tag(url_to_avatar(up.user), :width => "30", :height => "30"), user_path(up.user), :target => '_blank' %>
|
||||
</th>
|
||||
<th>
|
||||
<li class="homepageTabPollTitle">
|
||||
<%= link_to up.polls_name.to_s, poll_path(up.id), :target => "_blank", :class => "homepageTabPollTitle fl ml5", :title => "#{up.polls_name.to_s}" %>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<table class="sy_new_table clear" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40px"></th>
|
||||
<th><li class="fl ml5">测验标题</li></th>
|
||||
<th style="width:160px">来源</th>
|
||||
<th style="width:80px">测验时长</th>
|
||||
|
@ -12,6 +13,9 @@
|
|||
<tbody>
|
||||
<% @unfinished_test.each do |ut| %>
|
||||
<tr>
|
||||
<th class="homepageTabAvatar">
|
||||
<%= link_to image_tag(url_to_avatar(ut.user), :width => "30", :height => "30"), user_path(ut.user), :target => '_blank' %>
|
||||
</th>
|
||||
<th>
|
||||
<li class="homepageTabTitle">
|
||||
<%= link_to ut.exercise_name.to_s, exercise_index_path(:course_id => ut.course_id), :target => "_blank", :class => "homepageTabTitle fl ml5", :title => "#{ut.exercise_name.to_s}" %>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<table class="sy_new_table clear" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40px"></th>
|
||||
<th><li class="fl ml5">标题</li></th>
|
||||
<th style="width:160px">来源</th>
|
||||
<th style="width:80px">发布人</th>
|
||||
|
@ -13,6 +14,9 @@
|
|||
<tbody>
|
||||
<% @unsolved_issues.each do |ui| %>
|
||||
<tr>
|
||||
<th class="homepageTabAvatar">
|
||||
<%= link_to image_tag(url_to_avatar(ui.author), :width => "30", :height => "30"), user_path(ui.author), :target => '_blank' %>
|
||||
</th>
|
||||
<th>
|
||||
<li class="homepageTabTitle">
|
||||
<%= link_to ui.subject.to_s, issue_path(ui), :target => "_blank", :class => "homepageTabTitle fl ml5", :title => "#{ui.subject.to_s}" %>
|
||||
|
|
|
@ -175,4 +175,6 @@ a.user_navmorebox .user_icons_closeclass{display:block;position: absolute;top:5p
|
|||
.homepageTabProjectName{ max-width:160px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis; }
|
||||
.homepageTabAuthor { max-width:80px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis; }
|
||||
.homepageTabTime { max-width:160px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis; }
|
||||
.homepageTabPollTitle { max-width:490px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
|
||||
.homepageTabPollTitle { max-width:490px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
|
||||
.homepageTabAvatar img{border: 3px solid #fff;-webkit-border-radius:30px;-moz-border-radius:30px;-o-border-radius:30px;border-radius:30px;}
|
||||
.homepageTabAvatar img:hover{border: 3px solid #e6e6e6;}
|
Loading…
Reference in New Issue