Merge remote-tracking branch 'refs/remotes/origin/3.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / userProfileCommentList.tpl
1 {include file='__commentJavaScript' commentContainerID='userProfileCommentList'}
2
3 {if $commentCanAdd}
4 <ul id="userProfileCommentList" class="commentList containerList" data-can-add="true" data-object-id="{@$userID}" data-object-type-id="{@$commentObjectTypeID}" data-comments="{@$commentList->countObjects()}" data-last-comment-time="{@$lastCommentTime}">
5 {include file='commentListAddComment' wysiwygSelector='userProfileCommentListAddComment'}
6 {include file='commentList'}
7 </ul>
8 {else}
9 {hascontent}
10 <ul id="userProfileCommentList" class="commentList containerList" data-can-add="false" data-object-id="{@$userID}" data-object-type-id="{@$commentObjectTypeID}" data-comments="{@$commentList->countObjects()}" data-last-comment-time="{@$lastCommentTime}">
11 {content}
12 {include file='commentList'}
13 {/content}
14 </ul>
15 {hascontentelse}
16 <div class="section">
17 {lang}wcf.user.profile.content.wall.noEntries{/lang}
18 </div>
19 {/hascontent}
20 {/if}