mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Added anchors to page comments in rss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39610 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
93894fd11b
commit
19b3420722
@ -23,7 +23,7 @@ class PageComment extends DataObject {
|
|||||||
* @return string link to this comment.
|
* @return string link to this comment.
|
||||||
*/
|
*/
|
||||||
function Link() {
|
function Link() {
|
||||||
return $this->Parent()->Link();
|
return $this->Parent()->Link() . '#PageComment_'. $this->ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<p class="comment">$Comment.XML</p>
|
<p class="comment" id="PageComment_$ID">$Comment.XML</p>
|
||||||
<p class="info">
|
<p class="info">
|
||||||
<span>Posted by $Name, $Created.Nice ($Created.Ago)</span>
|
<span>Posted by $Name, $Created.Nice ($Created.Ago)</span>
|
||||||
<br />
|
<br />
|
||||||
|
Loading…
Reference in New Issue
Block a user