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 %>
|
||||||
@ -12,7 +12,7 @@
|
|||||||
</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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user