Skip to content

Commit

Permalink
跳转到本页第一条评论
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 21, 2016
1 parent b933bc1 commit 2c5b084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/resources/lang_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@

#
# Description: Symphony default language configurations(zh_CN).
# Version: 3.44.9.19, Mar 19, 2016
# Version: 3.45.9.19, Mar 21, 2016
# Author: Liang Ding
# Author: Liyuan Li
#

jumpToBottomCommentLabel=\u8df3\u8f6c\u5230\u5e95\u90e8\u8bc4\u8bba
removedLabel=\u76f8\u5173\u6570\u636e\u5df2\u88ab\u5220\u9664
removeLabel=\u5220\u9664\u6570\u636e
duplicatedArticleTitleLabel={user} \u66fe\u7ecf\u53d1\u5e03\u8fc7\u76f8\u540c\u6807\u9898\u7684\u6587\u7ae0\uff0c\u5148\u53bb\u770b\u770b\u5427\uff1a{article}
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/skins/classic/article.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,12 @@
<h2>
${article.articleCommentCount} ${cmtLabel}
<#if article.articleComments?size !=0>
<a class="icon-chevron-down fn-right" href="#cmtsBottom"></a>
<a class="icon-chevron-down fn-right" href="#bottomComment" title="${jumpToBottomCommentLabel}"></a>
</#if>
</h2>
<ul>
<#list article.articleComments as comment>
<#if !comment?has_next><div id="bottomComment"></div></#if>
<li id="${comment.oId}">
<div class="fn-flex">
<a rel="nofollow" href="/member/${comment.commentAuthorName}">
Expand Down Expand Up @@ -213,7 +214,6 @@
</#list>
</ul>
</div>
<div id="cmtsBottom"></div>
<@pagination url=article.articlePermalink/>
</div>
</div>
Expand Down

0 comments on commit 2c5b084

Please sign in to comment.