parent
							
								
									d975067e13
								
							
						
					
					
						commit
						cdb7782849
					
				@ -0,0 +1,13 @@
 | 
				
			||||
<div  class="mult-reply-container mt2">
 | 
				
			||||
    <ul ng-if="journal.parents_reply_top[i+1]" ng-include="'comment_reply'"  ng-init="i=i+1;journal=journal"></ul>
 | 
				
			||||
    <div class="post-avatar fl mr10"><img ng-src="{{journal.parents_reply_top[i].user.img_url}}" class="border-radius img-circle" height="30" width="30"></div>
 | 
				
			||||
    <div class="post-dynamic-author hidden fl ng-binding">
 | 
				
			||||
        {{journal.parents_reply_top[i].user.realname}}
 | 
				
			||||
        <img ng-if="journal.parents_reply_top[i].user.gender == '0'" src="images/wechat/male.png" width="14" class="ml5" />
 | 
				
			||||
        <img ng-if="journal.parents_reply_top[i].user.gender != '0'" src="images/wechat/female.png" width="14" class="ml5" />
 | 
				
			||||
    </div>
 | 
				
			||||
    <div class="post-dynamic-time fr f13">{{journal.parents_reply_top[i].lasted_comment}}</div>
 | 
				
			||||
    <div class="cl"></div>
 | 
				
			||||
    <div class="post-reply-content c-grey2 mt12 border-bottom-none" ng-bind-html="journal.parents_reply_top[i].content|safeHtml"></div>
 | 
				
			||||
    <div class="cl"></div>
 | 
				
			||||
</div>
 | 
				
			||||
@ -0,0 +1,9 @@
 | 
				
			||||
app.directive('commentReply', ['config', function(config){
 | 
				
			||||
    return {
 | 
				
			||||
        templateUrl: config.rootPath+ 'templates/comment_reply.html',
 | 
				
			||||
        scope: {
 | 
				
			||||
            i: "=",
 | 
				
			||||
            journal: "="
 | 
				
			||||
        }
 | 
				
			||||
    }
 | 
				
			||||
}]);
 | 
				
			||||
					Loading…
					
					
				
		Reference in new issue