mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #161 from gordonbanderson/issue_159
FIX: Move ID for permalink to start of comment
This commit is contained in:
commit
96f93c0e0e
@ -1,5 +1,5 @@
|
|||||||
<% if not $isPreview %>
|
<% if not $isPreview %>
|
||||||
<p class="info">
|
<p class="info" id="$Permalink">
|
||||||
<% if $URL %>
|
<% if $URL %>
|
||||||
<a class="author" href="$URL.URL" rel="nofollow">$AuthorName.XML</a>
|
<a class="author" href="$URL.URL" rel="nofollow">$AuthorName.XML</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
@ -11,8 +11,8 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
</p>
|
</p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<div class="comment-text" id="<% if $isPreview %>comment-preview<% else %>$Permalink<% end_if %>">
|
<div class="comment-text" id="<% if $isPreview %>comment-preview<% end_if %>">
|
||||||
<p>$EscapedComment</p>
|
<p>$EscapedComment</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -38,6 +38,6 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% include CommentReplies %>
|
<% include CommentReplies %>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
Loading…
Reference in New Issue
Block a user