summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-25 18:56:47 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-25 18:56:47 -0500
commit9a5085e5126d1f76d28a4438b1527659183477b5 (patch)
tree2c27adffb272c04967f4de3770bcfdfdbd66ec58 /templates
parent35ea80bdfe779edb330c43761f1298a74a854990 (diff)
clean up comment preview
Remove actions from it, and avoid a broken title link.
Diffstat (limited to 'templates')
-rw-r--r--templates/comment.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/comment.tmpl b/templates/comment.tmpl
index 582efccb8..b4f235845 100644
--- a/templates/comment.tmpl
+++ b/templates/comment.tmpl
@@ -1,6 +1,12 @@
<div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
-<div class="comment-subject"><a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a></div>
+<div class="comment-subject">
+<TMPL_IF PERMALINK">
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<TMPL_VAR TITLE>
+</TMPL_IF>
+</div>
<div class="inlinecontent">
<TMPL_VAR CONTENT>