aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/common/item_meta.html
diff options
context:
space:
mode:
authorGravatar Ben Brooks <ben@bbrks.me>2018-04-07 21:50:45 +0100
committerGravatar Frédéric Guillot <fred@kanboard.net>2018-04-07 13:50:45 -0700
commit538d08c16ce72dcbb8c6d041bdf9643cf4a16763 (patch)
treeabe1f5d44ed9c29c57335051d5313e02e5868426 /template/html/common/item_meta.html
parent449020c1e8019ca3c7032be77eb533fc2eed04e6 (diff)
Add CommentsURL to entry
Diffstat (limited to 'template/html/common/item_meta.html')
-rw-r--r--template/html/common/item_meta.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/html/common/item_meta.html b/template/html/common/item_meta.html
index 5b00d9a..7d83c15 100644
--- a/template/html/common/item_meta.html
+++ b/template/html/common/item_meta.html
@@ -38,6 +38,11 @@
data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}"
>{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }}</a>
</li>
+ {{ if .entry.CommentsURL }}
+ <li>
+ <a href="{{ .entry.CommentsURL }}" title="{{ t "View Comments" }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ t "Comments" }}</a>
+ </li>
+ {{ end }}
</ul>
</div>
{{ end }} \ No newline at end of file