作业动态和详情添加提交作品数及提交动态

This commit is contained in:
Tim 2016-09-23 14:41:09 +08:00
parent 46c3e6e8f6
commit 56a55eb911
2 changed files with 15 additions and 0 deletions

View File

@ -37,6 +37,11 @@
<div class="post-all-content" ng-bind-html="act.description|safeHtml" ellipsis-show></div>
<span class="mr15 f12 c-grey2">迟交扣分:{{act.homework_common_detail.late_penalty}}分</span> <span ng-if="!act.homework_common_detail.anonymous_comment" class="f12 c-grey2">匿评开启时间:{{act.homework_common_detail.evaluation_start}}</span><br />
<span ng-if="!act.homework_common_detail.anonymous_comment" class="mr15 f12 c-grey2">缺评扣分:{{act.homework_common_detail.absence_penalty}}分/作品</span> <span ng-if="!act.homework_common_detail.anonymous_comment" class="f12 c-grey2">匿评关闭时间:{{act.homework_common_detail.evaluation_end}}</span>
<div class="f13 c-grey2">作品提交数:<span class="c-blue"> 10</span></div>
<div class="f13 c-grey2">
#1个月前 <span class="c-blue ml5 mr5">胡莎莎</span> 评阅了作品<br/>
#2个月前 <span class="c-blue ml5 mr5">胡莎莎</span> 提交了作品
</div>
</div>
<div class="cl"></div>
</div>
@ -402,6 +407,11 @@
<div class="post-all-content" ng-bind-html="act.description|safeHtml" ellipsis-show></div>
<span class="mr15 f13 c-grey2">迟交扣分:{{act.homework_common_detail.late_penalty}}分</span> <span ng-if="!act.homework_common_detail.anonymous_comment" class="f13 c-grey2">匿评开启时间:{{act.homework_common_detail.evaluation_start}}</span><br />
<span ng-if="!act.homework_common_detail.anonymous_comment" class="mr15 f13 c-grey2">缺评扣分:{{act.homework_common_detail.absence_penalty}}分/作品</span> <span ng-if="!act.homework_common_detail.anonymous_comment" class="f13 c-grey2">匿评关闭时间:{{act.homework_common_detail.evaluation_end}}</span>
<div class="f13 c-grey2">作品提交数:<span class="c-blue"> 10</span></div>
<div class="f13 c-grey2">
#1个月前 <span class="c-blue ml5 mr5">胡莎莎</span> 评阅了作品<br/>
#2个月前 <span class="c-blue ml5 mr5">胡莎莎</span> 提交了作品
</div>
</div>
<div class="cl"></div>
</div>

View File

@ -30,6 +30,11 @@
<span ng-if="!homework.anonymous_comment" class="c-grey f12 mr15">缺评扣分:{{homework.absence_penalty}}分/作品</span>
<span ng-if="!homework.anonymous_comment" class="c-grey f12">匿评关闭时间:{{homework.evaluation_end}}</span>
<div class="cl"></div>
<div class="f12 c-grey mt5 mb5">作品提交数:<span class="c-blue"> 10</span></div>
<div class="f12 c-grey mb5">
#1个月前 <span class="c-blue ml5 mr5">胡莎莎</span> 评阅了作品<br/>
#2个月前 <span class="c-blue ml5 mr5">胡莎莎</span> 提交了作品
</div>
</div>
<div class="fr f13">
<div ng-if="!homework.praise_count" ng-click="addPraise(homework);"><img src="/images/wechat/w_praise.png" width="20" style="vertical-align:top; margin-top:2px;" class="mr5" /><span></span></div>