p {
style = "font-size:0.8em"
a(href = "/comment/view/${comment.id}") {
- +"Link"
+ +"Permalink"
}
-
- +Entities.nbsp
- +"\u2022"
+Entities.nbsp
a(href = "#", classes = "copy-text") {
- attributes["data-text"] = "[reply]${comment.id}[/reply]"
- +"Reply"
+ attributes["data-text"] = "https://mechyrdia.info/comment/view/${comment.id}"
+ +"(Copy)"
}
- +Entities.nbsp
- +"\u2022"
- +Entities.nbsp
- a(href = "#", classes = "copy-text") {
- attributes["data-text"] = "[quote]${comment.contentsRaw}[/quote][reply]${comment.id}[/reply]"
- +"Quote Reply"
+ if (loggedInAs != null) {
+ +Entities.nbsp
+ +"\u2022"
+ +Entities.nbsp
+ a(href = "#", classes = "copy-text") {
+ attributes["data-text"] = "[reply]${comment.id}[/reply]"
+ +"Reply"
+ }
+
+ +Entities.nbsp
+ +"\u2022"
+ +Entities.nbsp
+ a(href = "#", classes = "copy-text") {
+ attributes["data-text"] = "[quote]${comment.contentsRaw}[/quote][reply]${comment.id}[/reply]"
+ +"Quote Reply"
+ }
}
if (loggedInAs == comment.submittedBy.id) {