Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
93abbee3
Unverified
Commit
93abbee3
authored
Jan 14, 2020
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
#18 集成社区评论组件
parent
2bfda219
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
src/main/resources/skins/9IPHP/article.ftl
src/main/resources/skins/9IPHP/article.ftl
+1
-1
src/main/resources/skins/9IPHP/macro-comments.ftl
src/main/resources/skins/9IPHP/macro-comments.ftl
+0
-2
No files found.
src/main/resources/skins/9IPHP/article.ftl
View file @
93abbee3
...
...
@@ -110,10 +110,10 @@
</footer>
<
#if
commentable
>
<div
id=
"vcomment"
data-name=
"${article.authorName}"
data-postId=
"${article.oId}"
></div>
</
#
if>
<div
id=
"soloComments"
class=
"fn__none"
>
<
@
comments
commentList=
articleComments
article=
article
></
@
comments>
</div>
</
#
if>
<br>
<div
id=
"externalRelevantArticles"
class=
"list"
></div>
<div
id=
"relevantArticles"
class=
"list"
></div>
...
...
src/main/resources/skins/9IPHP/macro-comments.ftl
View file @
93abbee3
...
...
@@ -18,7 +18,6 @@
-->
<#macro comments commentList article>
<#if commentable>
<header class='title'><h2>${commentLabel}</h2></header>
<ul class="comments" id="comments">
<#list commentList as comment>
...
...
@@ -31,5 +30,4 @@
<textarea rows="3" placeholder="${postCommentsLabel}" id="comment"></textarea>
</div>
</#if>
</#if>
</#macro>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment