issue页面的调整
This commit is contained in:
parent
80d5424ff3
commit
035b47d2b7
|
@ -12,7 +12,7 @@
|
|||
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10">{{act.author.nickname}}</a>to<a herf="javascript:void(0);" class="ml10">{{act.course_project_name}} | {{act.activity_type_name}}</a></div>
|
||||
<div class="cl"></div>
|
||||
<div class="post-content c-grey2 mt10">
|
||||
<div class="post-all-content" ng-bind-html="act.description|safeHtml"><br />
|
||||
<div class="post-all-content">{{act.description|safeHtml}}<br />
|
||||
<span class="mr15">迟交扣分:{{act.homework_common_detail.late_penalty}}分</span> 匿评开启时间:{{act.homework_common_detail.evaluation_start}}<br />
|
||||
<span class="mr15">缺评扣分:{{act.homework_common_detail.absence_penalty}}分/作品</span> 匿评关闭时间:{{act.homework_common_detail.evaluation_end}}</div>
|
||||
</div>
|
||||
|
@ -104,7 +104,7 @@
|
|||
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10">{{act.author.nickname}}</a>to<a herf="javascript:void(0);" class="ml10">{{act.course_project_name}} | {{act.activity_type_name}}</a></div>
|
||||
<div class="cl"></div>
|
||||
<div class="post-content c-grey2 mt10">
|
||||
<div class="post-all-content" ng-bind-html="act.description|safeHtml"><br />
|
||||
<div class="post-all-content">{{act.description|safeHtml}}<br />
|
||||
<span class="mr15">状态:{{act.issue_detail.issue_status}}</span> <span class="mr15">优先级:{{act.issue_detail.issue_priority}}</span> <br /> <span class="mr15">指派给:{{act.issue_detail.issue_assigned_to}}</span> <span class="mr15">完成度:{{act.issue_detail.done_ratio}}%</span></div>
|
||||
</div>
|
||||
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline">点击展开</a>
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10">{{issue.author.nickname}}</a>to<span class="ml10">{{issue.project_name}} | 项目缺陷</span></div>
|
||||
<div class="cl"></div>
|
||||
<div class="post-content" style="height:auto;">
|
||||
<div class="post-all-content c-grey2 mt10"><!:=issue.description}}<br />
|
||||
<span class="mr15">状态:<!:=issue.issue_status}}</span> <span class="mr15">优先级:<!:=issue.issue_priority}}</span> <br /> <span class="mr15">指派给:<!:=issue.issue_assigned_to}}</span> <span class="mr15">完成度:<!:=issue.done_ratio}}%</span></div>
|
||||
<div class="post-all-content c-grey2 mt10">{{issue.description}}<br />
|
||||
<span class="mr15">状态:{{issue.issue_status}}</span> <span class="mr15">优先级:{{issue.issue_priority}}</span> <br /> <span class="mr15">指派给:{{issue.issue_assigned_to}}</span> <span class="mr15">完成度:{{issue.done_ratio}}%</span></div>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<span class="c-grey f13 mt10 fl">{{issue.created_on}}</span>
|
||||
|
@ -44,17 +44,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script id="t:issue-detail-reply" type="text/html">
|
||||
<div class="post-reply-wrap border-bottom">
|
||||
<div class="post-reply-row">
|
||||
<div class="post-reply-avatar fl"><img src="{{issue_reply.user.img_url}}" width="45" height="45" class="border-radius" /></div>
|
||||
<div class="ml55">
|
||||
<div class="post-reply-user hidden">{{issue_reply.user.realname}}</div>
|
||||
<div class="post-reply-content c-grey2 mb10"><!:=issue_reply.notes}}</div>
|
||||
<div class="post-reply-date fl">{{issue_reply.created_on}}</div>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
var app = angular.module('wechat', ['ngRoute']);
|
||||
var apiUrl = 'http://wechat.trustie.net/api/v1/';
|
||||
var apiUrl = 'http://localhost:3000/api/v1/';
|
||||
//var openid= "oCnvgvz8R7QheXE-R9Kkr39j8Ndg";
|
||||
var openid = '';
|
||||
var debug = false; //调试标志,如果在本地请置为true
|
||||
var debug = true; //调试标志,如果在本地请置为true
|
||||
|
||||
if(debug===true){
|
||||
openid = "oCnvgvz8R7QheXE-R9Kkr39j8Ndg";
|
||||
openid = "1";
|
||||
}
|
||||
|
||||
app.factory('auth', function($http,$routeParams){
|
||||
|
@ -39,7 +39,7 @@ app.factory('auth', function($http,$routeParams){
|
|||
});
|
||||
|
||||
app.controller('ActivityController',function($scope, $http, auth){
|
||||
$scope.repaceUrl = function(url){
|
||||
$scope.replaceUrl = function(url){
|
||||
return "http://www.trustie.net/" + url;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue