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 %>
|
||||
<p class="info">
|
||||
<p class="info" id="$Permalink">
|
||||
<% if $URL %>
|
||||
<a class="author" href="$URL.URL" rel="nofollow">$AuthorName.XML</a>
|
||||
<% else %>
|
||||
@ -11,8 +11,8 @@
|
||||
<% end_if %>
|
||||
</p>
|
||||
<% 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>
|
||||
</div>
|
||||
|
||||
@ -38,6 +38,6 @@
|
||||
<% end_if %>
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
||||
|
||||
<% include CommentReplies %>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user