Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Small PageComment interface change


Go to End


2 Posts   1828 Views

Avatar
xmedeko

Community Member, 94 Posts

24 May 2007 at 4:09pm

Hi,

I think can be nice to delimiter a little bit the "remove link" and "spam link" in comments.

--- PageCommentInterface_singlecomment.ss.orig 2007-05-24 16:05:39.000000000 +1200
+++ PageCommentInterface_singlecomment.ss 2007-05-24 16:05:43.000000000 +1200
@@ -7,9 +7,11 @@
<a href="$DeleteLink" class="deletelink">remove this comment</a>
<% end_if %>
<% if SpamLink %>
+ <% if DeleteLink %> | <% end_if %>
<a href="$SpamLink" class="spamlink">this comment is spam</a>
<% end_if %>
<% if HamLink %>
+ <% if DeleteLink %> | <% end_if %>
<a href="$HamLink" class="hamlink">this comment is not spam</a>
<% end_if %>
</span>

Avatar
Sean

Forum Moderator, 922 Posts

28 May 2007 at 3:08pm

Hi there,

Thanks for the contribution. I've added this as a ticket to be enhanced for a future release. We'll do it similar to your way but use CSS for the border instead, which is more semantic.

Cheers,
Sean